pub enum L3Type {
IPv4,
IPv6,
ARP,
VLAN,
LLDP,
MPLS,
MPLS_MCAST,
PPPOE_DISCO,
PPPOE,
JUMBO_LLC,
OTHER(u16),
}
Expand description
Type of layer 3 headers.
Variants§
IPv4
Internet Protocol version 4
IPv6
Internet Protocol version 6
ARP
Address Resolution Protocol (ARP)
VLAN
IEEE 802.1Q Customer VLAN Tag Type
LLDP
Link Layer Discovery Protocol (LLDP)
MPLS
MPLS
MPLS_MCAST
MPLS multicast
PPPOE_DISCO
PPP over Ethernet (PPPoE) Discovery Stage
PPPOE
PPP over Ethernet (PPPoE) Session Stage
JUMBO_LLC
LLC jumbo frame (draft-ietf-isis-ext-eth-01)
OTHER(u16)
Other protocol not yet implemented in this module. The argument contains an
EtherType
.
Implementations§
Trait Implementations§
source§impl PartialEq<L3Type> for L3Type
impl PartialEq<L3Type> for L3Type
impl StructuralPartialEq for L3Type
Auto Trait Implementations§
impl RefUnwindSafe for L3Type
impl Send for L3Type
impl Sync for L3Type
impl Unpin for L3Type
impl UnwindSafe for L3Type
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more