FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
node_cli.c File Reference
+ Include dependency graph for node_cli.c:

Go to the source code of this file.

Functions

static int node_cmp (void *a1, void *a2)
 
static clib_error_tshow_node_graph (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_vlib_node_stats (u8 *s, va_list *va)
 
static clib_error_tshow_node_runtime (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tclear_node_runtime (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
void vlib_node_cli_reference (void)
 

Variables

static vlib_cli_command_t show_node_graph_command
 (constructor) VLIB_CLI_COMMAND (show_node_graph_command) More...
 
static vlib_cli_command_t show_node_runtime_command
 (constructor) VLIB_CLI_COMMAND (show_node_runtime_command) More...
 
static vlib_cli_command_t clear_node_runtime_command
 (constructor) VLIB_CLI_COMMAND (clear_node_runtime_command) More...
 

Function Documentation

static clib_error_t* clear_node_runtime ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 393 of file node_cli.c.

+ Here is the call graph for this function:

static u8* format_vlib_node_stats ( u8 s,
va_list *  va 
)
static

Definition at line 92 of file node_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int node_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 44 of file node_cli.c.

+ Here is the caller graph for this function:

static clib_error_t* show_node_graph ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 53 of file node_cli.c.

+ Here is the call graph for this function:

static clib_error_t* show_node_runtime ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 211 of file node_cli.c.

+ Here is the call graph for this function:

void vlib_node_cli_reference ( void  )

Definition at line 446 of file node_cli.c.

Variable Documentation

vlib_cli_command_t clear_node_runtime_command
static
Initial value:
= {
.path = "clear runtime",
.short_help = "Clear packet processing runtime statistics",
.function = clear_node_runtime,
}
static clib_error_t * clear_node_runtime(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: node_cli.c:393

(constructor) VLIB_CLI_COMMAND (clear_node_runtime_command)

Definition at line 437 of file node_cli.c.

vlib_cli_command_t show_node_graph_command
static
Initial value:
= {
.path = "show vlib graph",
.short_help = "Show packet processing node graph",
.function = show_node_graph,
}
static clib_error_t * show_node_graph(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: node_cli.c:53

(constructor) VLIB_CLI_COMMAND (show_node_graph_command)

Definition at line 84 of file node_cli.c.

vlib_cli_command_t show_node_runtime_command
static
Initial value:
= {
.path = "show runtime",
.short_help = "Show packet processing runtime",
.function = show_node_runtime,
.is_mp_safe = 1,
}
static clib_error_t * show_node_runtime(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: node_cli.c:211

(constructor) VLIB_CLI_COMMAND (show_node_runtime_command)

Definition at line 384 of file node_cli.c.