diff options
Diffstat (limited to 'src/protocol/ethernet.rs')
| -rw-r--r-- | src/protocol/ethernet.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocol/ethernet.rs b/src/protocol/ethernet.rs index a588c0d..6c42c2d 100644 --- a/src/protocol/ethernet.rs +++ b/src/protocol/ethernet.rs @@ -25,6 +25,7 @@ pub enum EtherType { IPX, // IPX [Xerox] Qnet, // QNX Qnet [QNX Software Systems] IPv6, // Internet Protocol Version 6 (IPv6) [RFC7042] + PPP, // Point-to-Point Protocol (PPP) [RFC7042] FlowControl, // Ethernet Flow Control [IEEE 802.3x] CobraNet, // CobraNet [CobraNet] MPLSuni, // MPLS Unicast [RFC 3032] @@ -88,6 +89,7 @@ impl From<u16> for EtherType { 0x8137 => Self::IPX, 0x8204 => Self::Qnet, 0x86DD => Self::IPv6, + 0x880b => Self::PPP, 0x8808 => Self::FlowControl, 0x8819 => Self::CobraNet, 0x8847 => Self::MPLSuni, |
