7 #define ETHERNET_TYPE_IPV4 0x0800
8 #define ETHERNET_TYPE_IPV6 0x86dd
12 #pragma warning(disable : 4201)
30 #define ethhdr _ETHERNET_HEADER
31 #define ETH_P_IP ETHERNET_TYPE_IPV4
struct _ETHERNET_HEADER ETHERNET_HEADER
struct _ETHERNET_HEADER * PETHERNET_HEADER
uint8_t mac_address_t[6]
Definition: if_ether.h:5
Definition: if_ether.h:15
uint8_t Source[6]
Definition: if_ether.h:17
uint8_t Destination[6]
Definition: if_ether.h:16
uint16_t Type
Definition: if_ether.h:20
uint16_t Length
Definition: if_ether.h:21