FD.io VPP  v19.04.1-1-ge4a0f9f
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 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

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

Definition at line 95 of file vxlan_gbp_packet.h.

#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:1024

Definition at line 107 of file vxlan_gbp_packet.h.

Enumeration Type Documentation

Enumerator
VXLAN_GBP_FLAGS_NONE 
foreach_vxlan_gbp_flags 

Definition at line 99 of file vxlan_gbp_packet.h.

Enumerator
VXLAN_GBP_GPFLAGS_NONE 
foreach_vxlan_gbp_gpflags 

Definition at line 114 of file vxlan_gbp_packet.h.

Function Documentation

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:

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:

static vxlan_gbp_flags_t vxlan_gbp_get_flags ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 147 of file vxlan_gbp_packet.h.

+ Here is the caller graph for this function:

static vxlan_gbp_gpflags_t vxlan_gbp_get_gpflags ( vxlan_gbp_header_t h)
inlinestatic

Definition at line 141 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 132 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 123 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 153 of file vxlan_gbp_packet.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: