FD.io VPP  v21.10.1-2-g0a485f517
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 31 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 40 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 48 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 594 of file nsh_cli.c.

◆ 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 66 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)
}

Definition at line 34 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 = {
},
}

(constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_encap_transit_node)

Definition at line 166 of file md2_ioam_transit.c.

NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_OUTPUT
@ NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_OUTPUT
Definition: md2_ioam_transit.c:50
format_nsh_node_map_trace
u8 * format_nsh_node_map_trace(u8 *s, va_list *args)
Definition: nsh_cli.c:594
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
foreach_nsh_md2_ioam_encap_transit_error
#define foreach_nsh_md2_ioam_encap_transit_error
Definition: md2_ioam_transit.c:31
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_DROP
@ NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_NEXT_DROP
Definition: md2_ioam_transit.c:51
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)
Definition: md2_ioam_transit.c:66
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_NEXT
@ NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_NEXT
Definition: md2_ioam_transit.c:52
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
u32
unsigned int u32
Definition: types.h:88
nsh_md2_ioam_encap_transit_error_strings
static char * nsh_md2_ioam_encap_transit_error_strings[]
Definition: md2_ioam_transit.c:34
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123