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
Ieee1588TimeSync
IEEE1588 (802.1AS) timestamp.
Not present in tunneled (inner) layer 2 packets.
EtherType 0x88F7.
AddressResolutionProtocol
Address Resolution Protocol (ARP).
Not present in tunneled (inner) layer 2 packets.
EtherType 0x0806.
LinkLayerDiscoveryProtocol
Link Layer Discovery Protocol (LLDP).
Not present in tunneled (inner) layer 2 packets.
EtherType 0x88CC.
NetworkServiceHeader
Network Service Header (NSH).
Not present in tunneled (inner) layer 2 packets.
EtherType 0x894F.
VirtualLan
Virtual LAN.
Only valid if Virtual LAN stripping is disabled for Intel drivers.
EtherType 0x8100F.
QinQVirtualLan
QinQ Virtual LAN.
?Only valid if Virtual LAN stripping is disabled for Intel drivers?
EtherType 0x88A8.
PPPoE
PPPoE.
Not present in tunneled (inner) layer 2 packets.
EtherType 0x8863 or EtherType 0x8864.
Other
Invalid or introduced after this code was written.
Trait Implementations
impl Debug for HardwareOffloadCategorisedLayer2PacketType
[src]
impl Debug for HardwareOffloadCategorisedLayer2PacketType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for HardwareOffloadCategorisedLayer2PacketType
[src]
impl Copy for HardwareOffloadCategorisedLayer2PacketType
impl Clone for HardwareOffloadCategorisedLayer2PacketType
[src]
impl Clone for HardwareOffloadCategorisedLayer2PacketType
fn clone(&self) -> HardwareOffloadCategorisedLayer2PacketType
[src]
fn clone(&self) -> HardwareOffloadCategorisedLayer2PacketType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Ord for HardwareOffloadCategorisedLayer2PacketType
[src]
impl Ord for HardwareOffloadCategorisedLayer2PacketType
fn cmp(&self, other: &HardwareOffloadCategorisedLayer2PacketType) -> Ordering
[src]
fn cmp(&self, other: &HardwareOffloadCategorisedLayer2PacketType) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for HardwareOffloadCategorisedLayer2PacketType
[src]
impl PartialOrd for HardwareOffloadCategorisedLayer2PacketType
fn partial_cmp(
&self,
other: &HardwareOffloadCategorisedLayer2PacketType
) -> Option<Ordering>
[src]
fn partial_cmp(
&self,
other: &HardwareOffloadCategorisedLayer2PacketType
) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
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 Eq for HardwareOffloadCategorisedLayer2PacketType
impl PartialEq for HardwareOffloadCategorisedLayer2PacketType
[src]
impl PartialEq for HardwareOffloadCategorisedLayer2PacketType
fn eq(&self, other: &HardwareOffloadCategorisedLayer2PacketType) -> bool
[src]
fn eq(&self, other: &HardwareOffloadCategorisedLayer2PacketType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Hash for HardwareOffloadCategorisedLayer2PacketType
[src]
impl Hash for HardwareOffloadCategorisedLayer2PacketType