Parent

Methods

Nmap::Parser::Host::Traceroute::Hop

This holds information on an individual traceroute hop

Attributes

addr[R]

The IP address of the host

host[R]

The hostname of the host

hostname[R]

The hostname of the host

ipaddr[R]

The IP address of the host

rtt[R]

The round-trip time of the host

ttl[R]

How many hops away the host is

Public Class Methods

new(hop) click to toggle source
# File lib/nmap/parser.rb, line 1148
def initialize(hop)
        parse(hop)
end

Public Instance Methods

<=>(hop) click to toggle source

Compares the TTLs

# File lib/nmap/parser.rb, line 1142
def <=>(hop)
        @ttl <=> hop.ttl
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.