Model of an nmap ping/traceroute result.
|
|
| __init__(self,
address,
timestamp=None,
isUp=False,
rtt=_NAN,
stddev=_NAN,
trace=_NO_TRACE) |
source code
|
|
|
|
_parseTimestamp(self,
hostTree)
Extract timestamp if it exists. |
source code
|
|
|
|
_parseTimes(self,
hostTree)
Extract round trip time from the hostTree. |
source code
|
|
|
|
_parseAddress(self,
hostTree)
Extract the address (ip) from the hostTree. |
source code
|
|
|
|
_parseState(self,
hostTree)
Extract the host status from hostTree: return True if up, False if
down. |
source code
|
|
|
|
_parseTraceroute(self,
hostTree)
Extract the traceroute hops from hostTree in to a list that preserves
the hop order and saves the hop rtt. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
getStatusString(self)
status string: up or down |
source code
|
|
|
|
|
|
|
|
|
|
rtt(self)
round trip time aka ping time aka rtt; nan if host was down |
source code
|
|
|
|
|
|
|
|