eBPF for Windows
Data Structures | Macros | Typedefs
ip.h File Reference

Go to the source code of this file.

Data Structures

struct  _IPV4_HEADER
 
struct  _IPV6_HEADER
 

Macros

#define IPPROTO_IPV4   4
 
#define IPPROTO_TCP   6
 
#define IPPROTO_UDP   17
 
#define IPPROTO_IPV6   41
 
#define AF_INET   2
 
#define AF_INET6   23
 
#define DEFAULT_COMPARTMENT_ID   1
 
#define iphdr   _IPV4_HEADER
 

Typedefs

typedef struct _IPV4_HEADER IPV4_HEADER
 
typedef struct _IPV4_HEADERPIPV4_HEADER
 
typedef uint8_t ipv6_address_t[16]
 
typedef struct _IPV6_HEADER IPV6_HEADER
 
typedef struct _IPV6_HEADERPIPV6_HEADER
 

Macro Definition Documentation

◆ AF_INET

#define AF_INET   2

◆ AF_INET6

#define AF_INET6   23

◆ DEFAULT_COMPARTMENT_ID

#define DEFAULT_COMPARTMENT_ID   1

◆ iphdr

#define iphdr   _IPV4_HEADER

◆ IPPROTO_IPV4

#define IPPROTO_IPV4   4

◆ IPPROTO_IPV6

#define IPPROTO_IPV6   41

◆ IPPROTO_TCP

#define IPPROTO_TCP   6

◆ IPPROTO_UDP

#define IPPROTO_UDP   17

Typedef Documentation

◆ IPV4_HEADER

typedef struct _IPV4_HEADER IPV4_HEADER

◆ ipv6_address_t

typedef uint8_t ipv6_address_t[16]

◆ IPV6_HEADER

typedef struct _IPV6_HEADER IPV6_HEADER

◆ PIPV4_HEADER

typedef struct _IPV4_HEADER * PIPV4_HEADER

◆ PIPV6_HEADER

typedef struct _IPV6_HEADER * PIPV6_HEADER