FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
ioam_pop.c File Reference
+ Include dependency graph for ioam_pop.c:

Go to the source code of this file.

Data Structures

struct  vxlan_gpe_pop_ioam_v4_trace_t
 

Macros

#define foreach_vxlan_gpe_pop_ioam_v4_error   _(POPPED, "good packets popped")
 

Enumerations

enum  vxlan_gpe_pop_ioam_v4_error_t { VXLAN_GPE_POP_IOAM_V4_N_ERROR }
 

Functions

u8format_vxlan_gpe_pop_ioam_v4_trace (u8 *s, va_list *args)
 
static void vxlan_gpe_ioam_pop_v4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b0)
 
static void vxlan_gpe_pop_ioam_v4_one_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vxlan_gpe_main_t *ngm, vlib_buffer_t *b0, u32 *next0)
 
static void vxlan_gpe_pop_ioam_v4_two_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vxlan_gpe_main_t *ngm, vlib_buffer_t *b0, vlib_buffer_t *b1, u32 *next0, u32 *next1)
 
static uword vxlan_gpe_pop_ioam (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_ipv6)
 
static uword vxlan_gpe_pop_ioam_v4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

static char * vxlan_gpe_pop_ioam_v4_error_strings []
 
vlib_node_registration_t vxlan_gpe_pop_ioam_v4_node
 (constructor) VLIB_REGISTER_NODE (vxlan_gpe_pop_ioam_v4_node) More...
 

Macro Definition Documentation

#define foreach_vxlan_gpe_pop_ioam_v4_error   _(POPPED, "good packets popped")

Definition at line 24 of file ioam_pop.c.

Enumeration Type Documentation

Enumerator
VXLAN_GPE_POP_IOAM_V4_N_ERROR 

Definition at line 33 of file ioam_pop.c.

Function Documentation

u8* format_vxlan_gpe_pop_ioam_v4_trace ( u8 s,
va_list *  args 
)

Definition at line 48 of file ioam_pop.c.

+ Here is the call graph for this function:

static void vxlan_gpe_ioam_pop_v4 ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_buffer_t b0 
)
inlinestatic

Definition at line 100 of file ioam_pop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword vxlan_gpe_pop_ioam ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame,
u8  is_ipv6 
)
static

Definition at line 229 of file ioam_pop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword vxlan_gpe_pop_ioam_v4 ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)
static

Definition at line 318 of file ioam_pop.c.

+ Here is the call graph for this function:

static void vxlan_gpe_pop_ioam_v4_one_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vxlan_gpe_main_t ngm,
vlib_buffer_t b0,
u32 next0 
)
inlinestatic

Definition at line 127 of file ioam_pop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vxlan_gpe_pop_ioam_v4_two_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vxlan_gpe_main_t ngm,
vlib_buffer_t b0,
vlib_buffer_t b1,
u32 next0,
u32 next1 
)
inlinestatic

Definition at line 215 of file ioam_pop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

char* vxlan_gpe_pop_ioam_v4_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_vxlan_gpe_pop_ioam_v4_error
Definition: ioam_pop.c:24

Definition at line 27 of file ioam_pop.c.

vlib_node_registration_t vxlan_gpe_pop_ioam_v4_node
Initial value:
= {
.function = vxlan_gpe_pop_ioam_v4,
.name = "vxlan-gpe-pop-ioam-v4",
.vector_size = sizeof (u32),
.n_next_nodes = VXLAN_GPE_INPUT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
}
u8 * format_vxlan_gpe_pop_ioam_v4_trace(u8 *s, va_list *args)
Definition: ioam_pop.c:48
unsigned int u32
Definition: types.h:88
#define ARRAY_LEN(x)
Definition: clib.h:59
#define foreach_vxlan_gpe_input_next
next nodes for VXLAN GPE input
Definition: vxlan_gpe.h:171
static uword vxlan_gpe_pop_ioam_v4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ioam_pop.c:318
static char * vxlan_gpe_pop_ioam_v4_error_strings[]
Definition: ioam_pop.c:27

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_pop_ioam_v4_node)

Definition at line 325 of file ioam_pop.c.