31#define ETHERNET_ADDR_LEN (6)
34#define ETH_ALEN ETHERNET_ADDR_LEN
42typedef struct __attribute__((packed)) {
Functions to work with different byte orders.
be_uint16_t network_uint16_t
A 16 bit integer in network byte order.
#define ETHERNET_ADDR_LEN
Length of an Ethernet address.
Adds include for missing inttype definitions.
network_uint16_t type
ether type (see Ether types)
uint8_t src[ETHERNET_ADDR_LEN]
source address
uint8_t dst[ETHERNET_ADDR_LEN]
destination address