21 #ifndef NET_ETHERNET_HDR_H
22 #define NET_ETHERNET_HDR_H
32 #define ETHERNET_ADDR_LEN (6)
35 #define ETH_ALEN ETHERNET_ADDR_LEN
43 typedef struct __attribute__((packed)) {
Functions to work with different byte orders.
#define ETHERNET_ADDR_LEN
Length of an Ethernet address.
Adds include for missing inttype definitions.
network_uint16_t type
ether type (see Ether types)
A 16 bit integer in big endian aka network byte order.