FD.io VPP  v19.01.2-3-gf61a1a8
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

#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

Enumerator
NSH_MD2_IOAM_ENCAP_TRANSIT_IOAM_N_ERROR 

Definition at line 41 of file md2_ioam_transit.c.

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

u8* format_nsh_node_map_trace ( u8 s,
va_list *  args 
)

Definition at line 412 of file nsh.c.

+ Here is the caller graph for this function:

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 68 of file md2_ioam_transit.c.

+ Here is the call graph for this function:

VNET_FEATURE_INIT ( nsh_md2_ioam_encap_transit  ,
static   
)

Variable Documentation

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.

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.c:412
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
#define ARRAY_LEN(x)
Definition: clib.h:62
static char * nsh_md2_ioam_encap_transit_error_strings[]

(constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_encap_transit_node)

Definition at line 168 of file md2_ioam_transit.c.