eBPF for Windows
Loading...
Searching...
No Matches
if_ether.h File Reference

Go to the source code of this file.

Data Structures

struct  _ETHERNET_HEADER

Macros

#define ETHERNET_TYPE_IPV4   0x0800
#define ETHERNET_TYPE_IPV6   0x86dd
#define h_proto   Type
#define ethhdr   _ETHERNET_HEADER
#define ETH_P_IP   ETHERNET_TYPE_IPV4

Typedefs

typedef uint8_t mac_address_t[6]
typedef struct _ETHERNET_HEADER ETHERNET_HEADER
typedef struct _ETHERNET_HEADER * PETHERNET_HEADER

Macro Definition Documentation

◆ ETH_P_IP

#define ETH_P_IP   ETHERNET_TYPE_IPV4

◆ ETHERNET_TYPE_IPV4

#define ETHERNET_TYPE_IPV4   0x0800

◆ ETHERNET_TYPE_IPV6

#define ETHERNET_TYPE_IPV6   0x86dd

◆ ethhdr

#define ethhdr   _ETHERNET_HEADER

◆ h_proto

#define h_proto   Type

Typedef Documentation

◆ ETHERNET_HEADER

◆ mac_address_t

typedef uint8_t mac_address_t[6]

◆ PETHERNET_HEADER