FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
vxlan_gbp_packet.h File Reference
+ Include dependency graph for vxlan_gbp_packet.h:
+ 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 foreach_vxlan_gbp_flags
 
#define VXLAN_GBP_FLAGS_GI   (VXLAN_GBP_FLAGS_G|VXLAN_GBP_FLAGS_I)
 
#define foreach_vxlan_gbp_gpflags
 

Enumerations

enum  vxlan_gbp_flags_t { VXLAN_GBP_FLAGS_NONE = 0, foreach_vxlan_gbp_flags }
 
enum  vxlan_gbp_gpflags_t { VXLAN_GBP_GPFLAGS_NONE = 0, 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 vxlan_gbp_gpflags_t vxlan_gbp_get_gpflags (vxlan_gbp_header_t *h)
 
static vxlan_gbp_flags_t vxlan_gbp_get_flags (vxlan_gbp_header_t *h)
 
static void vxlan_gbp_set_header (vxlan_gbp_header_t *h, u32 vni)
 
u8format_vxlan_gbp_header_flags (u8 *s, va_list *args)
 
u8format_vxlan_gbp_header_gpflags (u8 *s, va_list *args)
 

Macro Definition Documentation

◆ foreach_vxlan_gbp_flags

#define foreach_vxlan_gbp_flags
Value:
_ (0x80, G) \
_ (0x08, I)

Definition at line 95 of file vxlan_gbp_packet.h.

◆ foreach_vxlan_gbp_gpflags

#define foreach_vxlan_gbp_gpflags
Value:
_ (0x40, D) \
_ (0x20, E) \
_ (0x10, S) \
_ (0x08, A) \
_ (0x04, R)
#define S(mp)
#define A(x)
Definition: main.c:1021

Definition at line 109 of file vxlan_gbp_packet.h.

◆ VXLAN_GBP_FLAGS_GI

#define VXLAN_GBP_FLAGS_GI   (VXLAN_GBP_FLAGS_G|VXLAN_GBP_FLAGS_I)

Definition at line 107 of file vxlan_gbp_packet.h.

Enumeration Type Documentation

◆ vxlan_gbp_flags_t

Enumerator
VXLAN_GBP_FLAGS_NONE 
foreach_vxlan_gbp_flags 

Definition at line 99 of file vxlan_gbp_packet.h.

◆ vxlan_gbp_gpflags_t

Enumerator
VXLAN_GBP_GPFLAGS_NONE 
foreach_vxlan_gbp_gpflags 

Definition at line 116 of file vxlan_gbp_packet.h.

Function Documentation

◆ format_vxlan_gbp_header_flags()

u8* format_vxlan_gbp_header_flags ( u8 s,
va_list *  args 
)

Definition at line 19 of file vxlan_gbp_packet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_vxlan_gbp_header_gpflags()

u8* format_vxlan_gbp_header_gpflags ( u8 s,
va_list *  args 
)

Definition at line 37 of file vxlan_gbp_packet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vxlan_gbp_get_flags()

static vxlan_gbp_flags_t vxlan_gbp_get_flags ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 149 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

◆ vxlan_gbp_get_gpflags()

static vxlan_gbp_gpflags_t vxlan_gbp_get_gpflags ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 143 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

◆ vxlan_gbp_get_sclass()

static u16 vxlan_gbp_get_sclass ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 134 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

◆ vxlan_gbp_get_vni()

static u32 vxlan_gbp_get_vni ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 125 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

◆ vxlan_gbp_set_header()

static void vxlan_gbp_set_header ( vxlan_gbp_header_t h,
u32  vni 
)
inlinestatic

Definition at line 155 of file vxlan_gbp_packet.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: