FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ioam_decap.c File Reference
+ Include dependency graph for ioam_decap.c:

Go to the source code of this file.

Macros

#define foreach_vxlan_gpe_decap_ioam_v4_error   _(DECAPSULATED, "good packets decapsulated")
 

Enumerations

enum  vxlan_gpe_decap_ioam_v4_error_t { VXLAN_GPE_DECAP_IOAM_V4_N_ERROR }
 

Functions

static void vxlan_gpe_decap_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_decap_ioam (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_ipv6)
 
static uword vxlan_gpe_decap_ioam_v4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

static char * vxlan_gpe_decap_ioam_v4_error_strings []
 
vlib_node_registration_t vxlan_gpe_decap_ioam_v4_node
 (constructor) VLIB_REGISTER_NODE (vxlan_gpe_decap_ioam_v4_node) More...
 

Macro Definition Documentation

◆ foreach_vxlan_gpe_decap_ioam_v4_error

#define foreach_vxlan_gpe_decap_ioam_v4_error   _(DECAPSULATED, "good packets decapsulated")

Definition at line 27 of file ioam_decap.c.

Enumeration Type Documentation

◆ vxlan_gpe_decap_ioam_v4_error_t

Enumerator
VXLAN_GPE_DECAP_IOAM_V4_N_ERROR 

Definition at line 36 of file ioam_decap.c.

Function Documentation

◆ vxlan_gpe_decap_ioam()

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

Definition at line 66 of file ioam_decap.c.

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

◆ vxlan_gpe_decap_ioam_v4()

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

Definition at line 188 of file ioam_decap.c.

+ Here is the call graph for this function:

◆ vxlan_gpe_decap_ioam_v4_two_inline()

static void vxlan_gpe_decap_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 46 of file ioam_decap.c.

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

Variable Documentation

◆ vxlan_gpe_decap_ioam_v4_error_strings

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

Definition at line 30 of file ioam_decap.c.

◆ vxlan_gpe_decap_ioam_v4_node

vlib_node_registration_t vxlan_gpe_decap_ioam_v4_node
Initial value:
= {
.name = "vxlan-gpe-decap-ioam-v4",
.vector_size = sizeof (u32),
.next_nodes = {
[VXLAN_GPE_DECAP_IOAM_V4_NEXT_POP] = "vxlan-gpe-pop-ioam-v4",
},
}

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_decap_ioam_v4_node)

Definition at line 197 of file ioam_decap.c.

vxlan_gpe_decap_ioam_v4
static uword vxlan_gpe_decap_ioam_v4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ioam_decap.c:188
VXLAN_GPE_DECAP_IOAM_V4_NEXT_POP
@ VXLAN_GPE_DECAP_IOAM_V4_NEXT_POP
Definition: vxlan_gpe_ioam.h:170
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP
@ VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP
Definition: vxlan_gpe_ioam.h:171
foreach_vxlan_gpe_decap_ioam_v4_error
#define foreach_vxlan_gpe_decap_ioam_v4_error
Definition: ioam_decap.c:27
vxlan_gpe_decap_ioam_v4_error_strings
static char * vxlan_gpe_decap_ioam_v4_error_strings[]
Definition: ioam_decap.c:30
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
VXLAN_GPE_DECAP_IOAM_V4_N_NEXT
@ VXLAN_GPE_DECAP_IOAM_V4_N_NEXT
Definition: vxlan_gpe_ioam.h:172
u32
unsigned int u32
Definition: types.h:88
format_vxlan_gpe_ioam_v4_trace
static u8 * format_vxlan_gpe_ioam_v4_trace(u8 *s, va_list *args)
Definition: vxlan_gpe_ioam_util.h:31
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123