Ethernet header¶
Ethernet header.
-
ETHERNET_ADDR_LEN
¶ Length of an Ethernet address.
1
(6)
-
ETH_ALEN
¶ convenient alias for
ethernet/hdr.h::ETHERNET_ADDR_LEN
to comply with NIX code1
ETHERNET_ADDR_LEN
-
struct
ethernet_hdr_t
¶ Ethernet header.
-
uint8_t
dst
()¶ destination address
-
uint8_t
src
()¶ source address
-
byteorder.h::network_uint16_t
type
¶ ether type (see Ether types)
-
uint8_t