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

Go to the source code of this file.

Macros

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

Enumerations

enum  nsh_md2_ioam_encap_transit_error_t { NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_ERROR }
 
enum  nsh_md2_ioam_encap_transit_next_t { NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_OUTPUT, NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_DROP, NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_NEXT }
 

Functions

 VNET_FEATURE_INIT (nsh_md2_ioam_encap_transit, static)
 
static uword nsh_md2_ioam_encap_transit (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
u8format_nsh_node_map_trace (u8 *s, va_list *args)
 

Variables

static char * nsh_md2_ioam_encap_transit_error_strings []
 
vlib_node_registration_t nsh_md2_ioam_encap_transit_node
 (constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_encap_transit_node) More...
 

Macro Definition Documentation

◆ foreach_nsh_md2_ioam_encap_transit_error

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

Definition at line 32 of file md2_ioam_transit.c.

Enumeration Type Documentation

◆ nsh_md2_ioam_encap_transit_error_t

Enumerator
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_ERROR 

Definition at line 41 of file md2_ioam_transit.c.

◆ nsh_md2_ioam_encap_transit_next_t

Enumerator
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_OUTPUT 
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_DROP 
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_NEXT 

Definition at line 49 of file md2_ioam_transit.c.

Function Documentation

◆ format_nsh_node_map_trace()

u8* format_nsh_node_map_trace ( u8 s,
va_list *  args 
)

Definition at line 597 of file nsh_cli.c.

+ Here is the caller graph for this function:

◆ nsh_md2_ioam_encap_transit()

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

Definition at line 67 of file md2_ioam_transit.c.

+ Here is the call graph for this function:

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( nsh_md2_ioam_encap_transit  ,
static   
)

Variable Documentation

◆ nsh_md2_ioam_encap_transit_error_strings

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

Definition at line 35 of file md2_ioam_transit.c.

◆ nsh_md2_ioam_encap_transit_node

vlib_node_registration_t nsh_md2_ioam_encap_transit_node
Initial value:
= {
.name = "nsh-md2-ioam-encap-transit",
.vector_size = sizeof (u32),
.format_trace = format_nsh_node_map_trace,
.next_nodes = {
},
}
u8 * format_nsh_node_map_trace(u8 *s, va_list *args)
Definition: nsh_cli.c:597
static uword nsh_md2_ioam_encap_transit(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
#define ARRAY_LEN(x)
Definition: clib.h:66
static char * nsh_md2_ioam_encap_transit_error_strings[]

(constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_encap_transit_node)

Definition at line 167 of file md2_ioam_transit.c.