Struct pnet_packet::icmp::destination_unreachable::DestinationUnreachable [−][src]
pub struct DestinationUnreachable {
pub icmp_type: IcmpType,
pub icmp_code: IcmpCode,
pub checksum: u16be,
pub unused: u32be,
pub payload: Vec<u8>,
}
Expand description
Represents an “echo request” ICMP packet.
Fields
icmp_type: IcmpType
icmp_code: IcmpCode
checksum: u16be
unused: u32be
payload: Vec<u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DestinationUnreachable
impl Send for DestinationUnreachable
impl Sync for DestinationUnreachable
impl Unpin for DestinationUnreachable
impl UnwindSafe for DestinationUnreachable
Blanket Implementations
Mutably borrows from an owned value. Read more