FD.io VPP  v20.05.1-5-g09f167997
Vector Packet Processing
ioam_encap.c File Reference
+ Include dependency graph for ioam_encap.c:

Go to the source code of this file.

Macros

#define foreach_vxlan_gpe_encap_ioam_v4_error   _(ENCAPSULATED, "good packets encapsulated")
 

Enumerations

enum  vxlan_gpe_encap_ioam_v4_error_t { VXLAN_GPE_ENCAP_IOAM_V4_N_ERROR }
 
enum  vxlan_gpe_encap_ioam_v4_next_t { VXLAN_GPE_ENCAP_IOAM_V4_NEXT_IP4_LOOKUP, VXLAN_GPE_ENCAP_IOAM_V4_NEXT_DROP, VXLAN_GPE_ENCAP_IOAM_V4_N_NEXT }
 

Functions

static void vxlan_gpe_encap_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_encap_ioam_v4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

static char * vxlan_gpe_encap_ioam_v4_error_strings []
 
vlib_node_registration_t vxlan_gpe_encap_ioam_v4_node
 (constructor) VLIB_REGISTER_NODE (vxlan_gpe_encap_ioam_v4_node) More...
 

Macro Definition Documentation

◆ foreach_vxlan_gpe_encap_ioam_v4_error

#define foreach_vxlan_gpe_encap_ioam_v4_error   _(ENCAPSULATED, "good packets encapsulated")

Definition at line 26 of file ioam_encap.c.

Enumeration Type Documentation

◆ vxlan_gpe_encap_ioam_v4_error_t

Enumerator
VXLAN_GPE_ENCAP_IOAM_V4_N_ERROR 

Definition at line 35 of file ioam_encap.c.

◆ vxlan_gpe_encap_ioam_v4_next_t

Enumerator
VXLAN_GPE_ENCAP_IOAM_V4_NEXT_IP4_LOOKUP 
VXLAN_GPE_ENCAP_IOAM_V4_NEXT_DROP 
VXLAN_GPE_ENCAP_IOAM_V4_N_NEXT 

Definition at line 43 of file ioam_encap.c.

Function Documentation

◆ vxlan_gpe_encap_ioam_v4()

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

Definition at line 69 of file ioam_encap.c.

+ Here is the call graph for this function:

◆ vxlan_gpe_encap_ioam_v4_two_inline()

static void vxlan_gpe_encap_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 52 of file ioam_encap.c.

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

Variable Documentation

◆ vxlan_gpe_encap_ioam_v4_error_strings

char* vxlan_gpe_encap_ioam_v4_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_vxlan_gpe_encap_ioam_v4_error
Definition: ioam_encap.c:26

Definition at line 29 of file ioam_encap.c.

◆ vxlan_gpe_encap_ioam_v4_node

vlib_node_registration_t vxlan_gpe_encap_ioam_v4_node
Initial value:
= {
.name = "vxlan-gpe-encap-ioam-v4",
.vector_size = sizeof (u32),
.next_nodes = {
},
}
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static uword vxlan_gpe_encap_ioam_v4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ioam_encap.c:69
static u8 * format_vxlan_gpe_ioam_v4_trace(u8 *s, va_list *args)
#define ARRAY_LEN(x)
Definition: clib.h:66
static char * vxlan_gpe_encap_ioam_v4_error_strings[]
Definition: ioam_encap.c:29

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_encap_ioam_v4_node)

Definition at line 168 of file ioam_encap.c.