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: IcmpTypeicmp_code: IcmpCodechecksum: u16bepayload: 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
