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

Go to the source code of this file.

Macros

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

Enumerations

enum  vxlan_gpe_transit_ioam_error_t { VXLAN_GPE_TRANSIT_IOAM_N_ERROR }
 
enum  vxlan_gpe_transit_ioam_next_t { VXLAN_GPE_TRANSIT_IOAM_NEXT_OUTPUT, VXLAN_GPE_TRANSIT_IOAM_NEXT_DROP, VXLAN_GPE_TRANSIT_IOAM_N_NEXT }
 

Functions

 VNET_FEATURE_INIT (vxlan_gpe_transit_ioam, static)
 
static uword vxlan_gpe_transit_ioam (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

static char * vxlan_gpe_transit_ioam_error_strings []
 
vlib_node_registration_t vxlan_gpe_transit_ioam_node
 (constructor) VLIB_REGISTER_NODE (vxlan_gpe_transit_ioam_node) More...
 

Macro Definition Documentation

◆ foreach_vxlan_gpe_transit_ioam_error

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

Definition at line 29 of file ioam_transit.c.

Enumeration Type Documentation

◆ vxlan_gpe_transit_ioam_error_t

Enumerator
VXLAN_GPE_TRANSIT_IOAM_N_ERROR 

Definition at line 38 of file ioam_transit.c.

◆ vxlan_gpe_transit_ioam_next_t

Enumerator
VXLAN_GPE_TRANSIT_IOAM_NEXT_OUTPUT 
VXLAN_GPE_TRANSIT_IOAM_NEXT_DROP 
VXLAN_GPE_TRANSIT_IOAM_N_NEXT 

Definition at line 46 of file ioam_transit.c.

Function Documentation

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( vxlan_gpe_transit_ioam  ,
static   
)

◆ vxlan_gpe_transit_ioam()

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

Definition at line 64 of file ioam_transit.c.

+ Here is the call graph for this function:

Variable Documentation

◆ vxlan_gpe_transit_ioam_error_strings

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

Definition at line 32 of file ioam_transit.c.

◆ vxlan_gpe_transit_ioam_node

vlib_node_registration_t vxlan_gpe_transit_ioam_node
Initial value:
= {
.name = "vxlan-gpe-transit-ioam",
.vector_size = sizeof (u32),
.next_nodes = {
[VXLAN_GPE_TRANSIT_IOAM_NEXT_OUTPUT] = "interface-output",
},
}

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_transit_ioam_node)

Definition at line 160 of file ioam_transit.c.

VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
VXLAN_GPE_TRANSIT_IOAM_N_NEXT
@ VXLAN_GPE_TRANSIT_IOAM_N_NEXT
Definition: ioam_transit.c:50
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
foreach_vxlan_gpe_transit_ioam_error
#define foreach_vxlan_gpe_transit_ioam_error
Definition: ioam_transit.c:29
VXLAN_GPE_TRANSIT_IOAM_NEXT_OUTPUT
@ VXLAN_GPE_TRANSIT_IOAM_NEXT_OUTPUT
Definition: ioam_transit.c:48
vxlan_gpe_transit_ioam
static uword vxlan_gpe_transit_ioam(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: ioam_transit.c:64
vxlan_gpe_transit_ioam_error_strings
static char * vxlan_gpe_transit_ioam_error_strings[]
Definition: ioam_transit.c:32
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
VXLAN_GPE_TRANSIT_IOAM_NEXT_DROP
@ VXLAN_GPE_TRANSIT_IOAM_NEXT_DROP
Definition: ioam_transit.c:49