FD.io VPP  v21.06-3-gbb25fbf28
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

◆ foreach_vxlan_gpe_pop_ioam_v4_error

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

Definition at line 24 of file ioam_pop.c.

Enumeration Type Documentation

◆ vxlan_gpe_pop_ioam_v4_error_t

Enumerator
VXLAN_GPE_POP_IOAM_V4_N_ERROR 

Definition at line 33 of file ioam_pop.c.

Function Documentation

◆ format_vxlan_gpe_pop_ioam_v4_trace()

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:

◆ vxlan_gpe_ioam_pop_v4()

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:

◆ vxlan_gpe_pop_ioam()

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:

◆ vxlan_gpe_pop_ioam_v4()

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:

◆ vxlan_gpe_pop_ioam_v4_one_inline()

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:

◆ vxlan_gpe_pop_ioam_v4_two_inline()

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

◆ vxlan_gpe_pop_ioam_v4_error_strings

char* vxlan_gpe_pop_ioam_v4_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}

Definition at line 27 of file ioam_pop.c.

◆ vxlan_gpe_pop_ioam_v4_node

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)
},
}

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_pop_ioam_v4_node)

Definition at line 325 of file ioam_pop.c.

foreach_vxlan_gpe_pop_ioam_v4_error
#define foreach_vxlan_gpe_pop_ioam_v4_error
Definition: ioam_pop.c:24
vxlan_gpe_pop_ioam_v4
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
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
format_vxlan_gpe_pop_ioam_v4_trace
u8 * format_vxlan_gpe_pop_ioam_v4_trace(u8 *s, va_list *args)
Definition: ioam_pop.c:48
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
VXLAN_GPE_INPUT_N_NEXT
@ VXLAN_GPE_INPUT_N_NEXT
Definition: vxlan_gpe.h:184
vxlan_gpe_pop_ioam_v4_error_strings
static char * vxlan_gpe_pop_ioam_v4_error_strings[]
Definition: ioam_pop.c:27
u32
unsigned int u32
Definition: types.h:88
foreach_vxlan_gpe_input_next
#define foreach_vxlan_gpe_input_next
next nodes for VXLAN GPE input
Definition: vxlan_gpe.h:172
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123