Struct pnet_packet::icmp::Icmp [−][src]
pub struct Icmp {
pub icmp_type: IcmpType,
pub icmp_code: IcmpCode,
pub checksum: u16be,
pub payload: Vec<u8>,
}
Expand description
Represents a generic ICMP packet.
Fields
icmp_type: IcmpType
icmp_code: IcmpCode
checksum: u16be
payload: Vec<u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Icmp
impl UnwindSafe for Icmp
Blanket Implementations
Mutably borrows from an owned value. Read more