Struct peel_ip::layer2::icmp::IcmpEcho [] [src]

pub struct IcmpEcho {
    pub identifier: u16,
    pub sequence_number: u16,
    pub payload: Option<Vec<u8>>,
}

ICMP echo request and replies

Fields

Identifier

Sequence Number

Optional payload

Methods

impl IcmpEcho
[src]

Parse an ICMP echo request or reply

Trait Implementations

impl Debug for IcmpEcho
[src]

Formats the value using the given formatter.

impl Eq for IcmpEcho
[src]

impl PartialEq for IcmpEcho
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.