pub struct TraceProbe {
Show 23 fields pub flags: Flags, pub param_length: Option<u16>, pub addr_id: Option<u32>, pub probe_ttl: Option<u8>, pub reply_ttl: Option<u8>, pub hop_flags: Option<u8>, pub probe_id: Option<u8>, pub rtt_usec: Option<u32>, pub icmp_type: Option<u8>, pub icmp_code: Option<u8>, pub probe_size: Option<u16>, pub reply_size: Option<u16>, pub reply_ip_id: Option<u16>, pub reply_ip_tos: Option<u8>, pub next_hop_mtu: Option<u16>, pub quoted_length: Option<u16>, pub quoted_ttl: Option<u8>, pub reply_tcp_flags: Option<u8>, pub quoted_tos: Option<u8>, pub icmp_extensions_length: Option<u16>, pub icmp_extensions: Vec<ICMPExtension>, pub addr: Option<Address>, pub tx: Option<Timeval>,
}
Expand description

A traceroute probe and its associated reply, if any.

Fields

flags: Flagsparam_length: Option<u16>addr_id: Option<u32>

Hop address, ID corresponding to global warts address; included if flag 1 is set.

probe_ttl: Option<u8>

IP TTL of probe packet, included if flag 2 is set.

reply_ttl: Option<u8>

IP TTL of reply packet, included if flag 3 is set.

hop_flags: Option<u8>

Hop flags, included if flag 4 is set

probe_id: Option<u8>

Hop probe ID - how many probes have been sent for the given TTL. Included if flag 5 is set.

rtt_usec: Option<u32>

Round trip time - the length of time in microseconds it took this reply to arrive after the probe was transmitted. Included if flag 6 is set.

icmp_type: Option<u8>

ICMP type of the response. Included if flag 7 is set.

icmp_code: Option<u8>

ICMP code of the response. Included if flag 7 is set.

probe_size: Option<u16>

Probe size - the size of the probe sent. Included if flag 8 is set.

reply_size: Option<u16>

Reply size - the size of the response received. Included if flag 9 is set.

reply_ip_id: Option<u16>

IPID - the IP identifier value set in the response packet. Included if flag 10 is set, else it is zero.

reply_ip_tos: Option<u8>

Type of Service - the value of the ToS byte in the IP header, including ECN bits. Included if flag 11 is set.

next_hop_mtu: Option<u16>

Next-hop MTU - the value of the next-hop MTU field if the response is an ICMP packet too big message. Included if flag 12 is set.

quoted_length: Option<u16>

Quoted IP length - the value of the IP length field found in the ICMP quotation. Included if flag 13 is set, else it is the same as the probe size.

quoted_ttl: Option<u8>

Quoted TTL - the value of the IP TTL field found in the ICMP quotation. Included if flag 14 is set, else it is one.

reply_tcp_flags: Option<u8>

TCP flags - the value of the TCP flags received in response to TCP probes. Included if flag 15 is set.

quoted_tos: Option<u8>

Quoted TOS - the value of the IP ToS byte found in the ICMP quotation. Included if flag 16 is set.

icmp_extensions_length: Option<u16>

ICMP extension total length, included if flag 17 is set.

icmp_extensions: Vec<ICMPExtension>addr: Option<Address>

Hop address, included if flag 18 is set.

tx: Option<Timeval>

Hop tx, included if flag 19 is set.

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Read bits and construct type Read more

Apply updates

Write type to bits Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Returns the size of the binary representation of the type in a warts object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.