pub struct Reply {Show 20 fields
pub capture_timestamp: u64,
pub reply_src_addr: Ipv6Addr,
pub reply_dst_addr: Ipv6Addr,
pub reply_id: u16,
pub reply_size: u16,
pub reply_ttl: u8,
pub reply_protocol: u8,
pub reply_icmp_type: u8,
pub reply_icmp_code: u8,
pub reply_mpls_labels: Vec<MPLSLabel>,
pub probe_dst_addr: Ipv6Addr,
pub probe_id: u16,
pub probe_size: u16,
pub probe_protocol: u8,
pub quoted_ttl: u8,
pub probe_src_port: u16,
pub probe_dst_port: u16,
pub probe_ttl: u8,
pub rtt: u16,
pub extra: Option<String>,
}
Expand description
A reply to a probe packet.
Fields§
§capture_timestamp: u64
The capture timestamp in microseconds.
reply_src_addr: Ipv6Addr
The source IP of the reply packet.
reply_dst_addr: Ipv6Addr
The destination IP of the reply packet.
reply_id: u16
The ID field of the reply packet (0 for IPv6).
reply_size: u16
The size in bytes of the reply packet. For IPv6 this doesn’t include the IP header.
reply_ttl: u8
The TTL of the reply packet.
reply_protocol: u8
The L3 protocol of the reply.
reply_icmp_type: u8
ICMP type (0 if not an ICMP reply)
reply_icmp_code: u8
ICMP code (0 if not an ICMP reply)
reply_mpls_labels: Vec<MPLSLabel>
MPLS labels contained in the ICMP extension.
probe_dst_addr: Ipv6Addr
The IP that was targeted by the probe.
If we received a reply from this IP then reply_src_addr == probe_dst_addr
.
probe_id: u16
The ID field of the probe packet (0 for IPv6).
probe_size: u16
The size in bytes of the probe packet. For IPv6 this doesn’t include the IP header.
probe_protocol: u8
The protocol of the probe packet.
quoted_ttl: u8
The TTL as seen by the host that emitted the ICMP reply.
probe_src_port: u16
The source port of the probe packet. For ICMP probes, we encode the source port in the ICMP checksum and ID fields in order to vary the flow ID.
probe_dst_port: u16
The destination port of the probe packet, 0 for ICMP probes.
probe_ttl: u8
The TTL that was encoded in the L4 header, 0 if not available.
rtt: u16
The estimated round-trip time, in tenth of milliseconds.
extra: Option<String>
An extra string that is appended at the end of the reply.