FD.io VPP  v18.10-32-g1161dda
Vector Packet Processing
vxlan_gbp_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  vxlan_gbp_header_t
 

Macros

#define VXLAN_GBP_FLAGS_G   0x80
 
#define VXLAN_GBP_FLAGS_I   0x08
 
#define foreach_vxlan_gbp_gpflags
 

Enumerations

enum  vxlan_gbp_gpflag_t { foreach_vxlan_gbp_gpflags }
 

Functions

static u32 vxlan_gbp_get_vni (vxlan_gbp_header_t *h)
 
static u16 vxlan_gbp_get_sclass (vxlan_gbp_header_t *h)
 
static u8 vxlan_gbp_get_gpflags (vxlan_gbp_header_t *h)
 
static u8 vxlan_gbp_get_flags (vxlan_gbp_header_t *h)
 
static void vxlan_gbp_set_header (vxlan_gbp_header_t *h, u32 vni)
 

Macro Definition Documentation

#define foreach_vxlan_gbp_gpflags
Value:
_ (0x40, D) \
_ (0x20, E) \
_ (0x10, S) \
_ (0x08, A)
#define S(mp)

Definition at line 91 of file vxlan_gbp_packet.h.

#define VXLAN_GBP_FLAGS_G   0x80

Definition at line 88 of file vxlan_gbp_packet.h.

#define VXLAN_GBP_FLAGS_I   0x08

Definition at line 89 of file vxlan_gbp_packet.h.

Enumeration Type Documentation

Enumerator
foreach_vxlan_gbp_gpflags 

Definition at line 97 of file vxlan_gbp_packet.h.

Function Documentation

static u8 vxlan_gbp_get_flags ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 129 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

static u8 vxlan_gbp_get_gpflags ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 123 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

static u16 vxlan_gbp_get_sclass ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 114 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

static u32 vxlan_gbp_get_vni ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 105 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

static void vxlan_gbp_set_header ( vxlan_gbp_header_t h,
u32  vni 
)
inlinestatic

Definition at line 135 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function: