1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
// from https://en.wikipedia.org/wiki/EtherType#Examples

/// IPv4
pub const ETHERTYPE_IPV4: u16          = 0x0800;
/// ARP
pub const ETHERTYPE_ARP: u16          = 0x0806;
/// Reverse Address Resolution Protocol
pub const ETHERTYPE_RARP: u16          = 0x8035;
/// IPv6
pub const ETHERTYPE_IPV6: u16          = 0x86DD;
/// Link Layer Discovery Protocol
pub const ETHERTYPE_LLDP: u16          = 0x88CC;