FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
nsh_pop.c File Reference
+ Include dependency graph for nsh_pop.c:

Go to the source code of this file.

Functions

nsh_option_map_tnsh_md2_lookup_option (u16 class, u8 type)
 
u8format_nsh_header (u8 *s, va_list *args)
 
u8format_nsh_node_map_trace (u8 *s, va_list *args)
 
u8format_nsh_pop_header (u8 *s, va_list *args)
 
u8format_nsh_pop_node_map_trace (u8 *s, va_list *args)
 
static uword nsh_pop_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
VLIB_NODE_FN() nsh_pop_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 Graph processing dispatch function for NSH Input. More...
 

Variables

static char * nsh_pop_node_error_strings []
 
vlib_node_registration_t nsh_pop_node
 (constructor) VLIB_REGISTER_NODE (nsh_pop_node) More...
 

Function Documentation

◆ format_nsh_header()

u8* format_nsh_header ( u8 s,
va_list *  args 
)

Definition at line 509 of file nsh_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_nsh_pop_header()

u8* format_nsh_pop_header ( u8 s,
va_list *  args 
)

Definition at line 25 of file nsh_cli.c.

+ Here is the call graph for this function:

◆ format_nsh_pop_node_map_trace()

u8* format_nsh_pop_node_map_trace ( u8 s,
va_list *  args 
)

Definition at line 31 of file nsh_cli.c.

+ Here is the call graph for this function:

◆ nsh_md2_lookup_option()

nsh_option_map_t* nsh_md2_lookup_option ( u16  class,
u8  type 
)

Definition at line 88 of file nsh.c.

◆ nsh_pop_inline()

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

Definition at line 37 of file nsh_pop.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nsh_pop_node()

VLIB_NODE_FN() nsh_pop_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Graph processing dispatch function for NSH Input.

Node Identifier:
nsh_input
Parameters
*vm
*node
*from_frame
Returns
from_frame->n_vectors

Definition at line 302 of file nsh_pop.c.

+ Here is the call graph for this function:

Variable Documentation

◆ nsh_pop_node

Initial value:
= {
.name = "nsh-pop",
.vector_size = sizeof (u32),
.format_buffer = format_nsh_pop_header,
.error_strings = nsh_pop_node_error_strings,
.n_next_nodes = NSH_NODE_N_NEXT,
.next_nodes = {
#define _(s,n)
},
}

(constructor) VLIB_REGISTER_NODE (nsh_pop_node)

Definition at line 315 of file nsh_pop.c.

◆ nsh_pop_node_error_strings

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

Definition at line 308 of file nsh_pop.c.

VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
format_nsh_pop_header
u8 * format_nsh_pop_header(u8 *s, va_list *args)
Definition: nsh_cli.c:25
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
nsh_pop_node_error_strings
static char * nsh_pop_node_error_strings[]
Definition: nsh_pop.c:308
u32
unsigned int u32
Definition: types.h:88
foreach_nsh_node_next
#define foreach_nsh_node_next
Definition: nsh.h:208
foreach_nsh_node_error
#define foreach_nsh_node_error
Definition: nsh.h:191
NSH_NODE_N_NEXT
@ NSH_NODE_N_NEXT
Definition: nsh.h:225
format_nsh_pop_node_map_trace
u8 * format_nsh_pop_node_map_trace(u8 *s, va_list *args)
Definition: nsh_cli.c:31
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123