Enum network_packet::HardwareOffloadTunnelPacketType [−][src]
pub enum HardwareOffloadTunnelPacketType { Uncategorised, InternetProtocol, GenericRoutingEncapsulation, VirtualExtensibleLocalAreaNetwork, NetworkVirtualizationUsingGenericRoutingEncapsulation, GenericNetworkVirtualizationEncapsulation, TeredoOrGenericRoutingEncapsulationOrVirtualExtensibleLocalAreaNetwork, GprsTunnelingProtocolControl, GprsTunnelingProtocolUserData, InternetProtocolEncapsulatingSecurityPayload, Layer2TunnelingProtocol, VirtualExtensibleLocalAreaNetworkGenericProtocolExtension, MultiprotocolLabelSwitchingInGenericRoutingEncapsulation, MultiprotocolLabelSwitchingInUserDatagramProtocol, Other, }
Layer 4 packet type.
If the packet is a tunneled packet, then this is known as the Outer Layer 4 packet type.
Variants
Uncategorised
Probably not a tunnel packet type.
InternetProtocol
Internet protocol (IP) in internet protocol (IP) tunnel.
GenericRoutingEncapsulation
Generic Routing Encapsulation (GRE).
VirtualExtensibleLocalAreaNetwork
Virtual eXtensible Local Area Network (VxLAN).
NetworkVirtualizationUsingGenericRoutingEncapsulation
Network Virtualization using Generic Routing Encapsulation (NVGRE).
GenericNetworkVirtualizationEncapsulation
Generic Network Virtualization Encapsulation (GENEVE).
TeredoOrGenericRoutingEncapsulationOrVirtualExtensibleLocalAreaNetwork
?
GprsTunnelingProtocolControl
GPRS Tunneling Protocol control (GTP-C).
GprsTunnelingProtocolUserData
GPRS Tunneling Protocol user data (GTP-U).
InternetProtocolEncapsulatingSecurityPayload
IP Encapsulating Security Payload (ESP).
Part of IPsec.
Layer2TunnelingProtocol
Layer 2 Tunneling Protocol (L2TP).
VirtualExtensibleLocalAreaNetworkGenericProtocolExtension
Virtual eXtensible Local Area Network (VxLAN) Generic Protocol Extension.
MultiprotocolLabelSwitchingInGenericRoutingEncapsulation
RFC 4023: MPLS-in-GRE tunnel.
MultiprotocolLabelSwitchingInUserDatagramProtocol
RFC 7510: MPLS-in-UDP tunnel.
Other
Invalid or introduced after this code was written.
Trait Implementations
impl Debug for HardwareOffloadTunnelPacketType
[src]
impl Debug for HardwareOffloadTunnelPacketType
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 HardwareOffloadTunnelPacketType
[src]
impl Copy for HardwareOffloadTunnelPacketType
impl Clone for HardwareOffloadTunnelPacketType
[src]
impl Clone for HardwareOffloadTunnelPacketType
fn clone(&self) -> HardwareOffloadTunnelPacketType
[src]
fn clone(&self) -> HardwareOffloadTunnelPacketType
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 HardwareOffloadTunnelPacketType
[src]
impl Ord for HardwareOffloadTunnelPacketType
fn cmp(&self, other: &HardwareOffloadTunnelPacketType) -> Ordering
[src]
fn cmp(&self, other: &HardwareOffloadTunnelPacketType) -> 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 HardwareOffloadTunnelPacketType
[src]
impl PartialOrd for HardwareOffloadTunnelPacketType
fn partial_cmp(
&self,
other: &HardwareOffloadTunnelPacketType
) -> Option<Ordering>
[src]
fn partial_cmp(
&self,
other: &HardwareOffloadTunnelPacketType
) -> 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 HardwareOffloadTunnelPacketType
[src]
impl Eq for HardwareOffloadTunnelPacketType
impl PartialEq for HardwareOffloadTunnelPacketType
[src]
impl PartialEq for HardwareOffloadTunnelPacketType
fn eq(&self, other: &HardwareOffloadTunnelPacketType) -> bool
[src]
fn eq(&self, other: &HardwareOffloadTunnelPacketType) -> 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 HardwareOffloadTunnelPacketType
[src]
impl Hash for HardwareOffloadTunnelPacketType
Auto Trait Implementations
impl Send for HardwareOffloadTunnelPacketType
impl Send for HardwareOffloadTunnelPacketType
impl Sync for HardwareOffloadTunnelPacketType
impl Sync for HardwareOffloadTunnelPacketType