Enum network_packet::HardwareOffloadCategorisedLayer2PacketType[][src]

pub enum HardwareOffloadCategorisedLayer2PacketType {
    Ieee1588TimeSync,
    AddressResolutionProtocol,
    LinkLayerDiscoveryProtocol,
    NetworkServiceHeader,
    VirtualLan,
    QinQVirtualLan,
    PPPoE,
    Other,
}

Hardware offload categorised layer 2 packet type.

Most DPDK drivers, excluding Intel's, do not categorise.

If those that do, not all of these values may be supported by the driver.

As such, that makes this categorisation close to useless.

Variants

IEEE1588 (802.1AS) timestamp.

Not present in tunneled (inner) layer 2 packets.

EtherType 0x88F7.

Address Resolution Protocol (ARP).

Not present in tunneled (inner) layer 2 packets.

EtherType 0x0806.

Link Layer Discovery Protocol (LLDP).

Not present in tunneled (inner) layer 2 packets.

EtherType 0x88CC.

Network Service Header (NSH).

Not present in tunneled (inner) layer 2 packets.

EtherType 0x894F.

Virtual LAN.

Only valid if Virtual LAN stripping is disabled for Intel drivers.

EtherType 0x8100F.

QinQ Virtual LAN.

?Only valid if Virtual LAN stripping is disabled for Intel drivers?

EtherType 0x88A8.

PPPoE.

Not present in tunneled (inner) layer 2 packets.

EtherType 0x8863 or EtherType 0x8864.

Invalid or introduced after this code was written.

Trait Implementations

impl Debug for HardwareOffloadCategorisedLayer2PacketType
[src]

Formats the value using the given formatter. Read more

impl Copy for HardwareOffloadCategorisedLayer2PacketType
[src]

impl Clone for HardwareOffloadCategorisedLayer2PacketType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Ord for HardwareOffloadCategorisedLayer2PacketType
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for HardwareOffloadCategorisedLayer2PacketType
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for HardwareOffloadCategorisedLayer2PacketType
[src]

impl PartialEq for HardwareOffloadCategorisedLayer2PacketType
[src]

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

This method tests for !=.

impl Hash for HardwareOffloadCategorisedLayer2PacketType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations