FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
packet.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gre_header_t
 

Macros

#define foreach_gre_protocol
 
#define GRE_FLAGS_CHECKSUM   (1 << 15)
 
#define GRE_FLAGS_ROUTING   (1 << 14)
 
#define GRE_FLAGS_KEY   (1 << 13)
 
#define GRE_FLAGS_SEQUENCE   (1 << 12)
 
#define GRE_FLAGS_STRICT_SOURCE_ROUTE   (1 << 11)
 
#define GRE_SUPPORTED_VERSION   0
 
#define GRE_VERSION_MASK   0x7
 

Enumerations

enum  gre_protocol_t { foreach_gre_protocol }
 

Macro Definition Documentation

#define foreach_gre_protocol
Value:
_ (0x0800, ip4) \
_ (0x86DD, ip6) \
_ (0x6558, teb) \
_ (0x0806, arp) \
_ (0x8847, mpls_unicast) \
_ (0x894F, nsh)

Definition at line 21 of file packet.h.

#define GRE_FLAGS_CHECKSUM   (1 << 15)

Definition at line 39 of file packet.h.

#define GRE_FLAGS_KEY   (1 << 13)

Definition at line 43 of file packet.h.

#define GRE_FLAGS_ROUTING   (1 << 14)

Definition at line 42 of file packet.h.

#define GRE_FLAGS_SEQUENCE   (1 << 12)

Definition at line 44 of file packet.h.

#define GRE_FLAGS_STRICT_SOURCE_ROUTE   (1 << 11)

Definition at line 45 of file packet.h.

#define GRE_SUPPORTED_VERSION   0

Definition at line 48 of file packet.h.

#define GRE_VERSION_MASK   0x7

Definition at line 49 of file packet.h.

Enumeration Type Documentation

Enumerator
foreach_gre_protocol 

Definition at line 29 of file packet.h.