Struct peel_ip::layer2::icmpv6::Icmpv6Packet [] [src]

pub struct Icmpv6Packet {
    pub message_type: Icmpv6Type,
    pub code: u8,
    pub checksum: u16,
    pub data: Option<Icmpv6Data>,
}

Representation of an Internet Control Message Protocol packet

Fields

The ICMPv6 type

The message subtype

Error checking data, calculated from the ICMPv6 header and data, with value 0 substituted for this field.

Contents vary based on the type and code.

Trait Implementations

impl Debug for Icmpv6Packet
[src]

Formats the value using the given formatter.

impl Eq for Icmpv6Packet
[src]

impl PartialEq for Icmpv6Packet
[src]

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

This method tests for !=.