FD.io VPP  v19.04.4-rc0-5-ge88582fac
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
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:62
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.