FD.io VPP  v20.05.1-5-g09f167997
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)
}
#define foreach_vxlan_gpe_transit_ioam_error
Definition: ioam_transit.c:29

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",
},
}
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static char * vxlan_gpe_transit_ioam_error_strings[]
Definition: ioam_transit.c:32
static u8 * format_vxlan_gpe_ioam_v4_trace(u8 *s, va_list *args)
#define ARRAY_LEN(x)
Definition: clib.h:66
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

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_transit_ioam_node)

Definition at line 160 of file ioam_transit.c.