Struct tiny_ping::EchoReply [−][src]
pub struct EchoReply {
pub ttl: Option<u8>,
pub source: IpAddr,
pub sequence: u16,
pub identifier: u16,
pub size: usize,
}Expand description
EchoReply struct, which contains some packet information.
Fields
ttl: Option<u8>IP Time To Live for outgoing packets. Present for ICMPv4 replies, absent for ICMPv6 replies.
source: IpAddrSource address of ICMP packet.
sequence: u16Sequence of ICMP packet.
identifier: u16Identifier of ICMP packet.
size: usizeSize of ICMP packet.