Go to the source code of this file.
|
static int | node_cmp (void *a1, void *a2) |
|
static clib_error_t * | show_node_graph (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_node_graphviz (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_vlib_node_state (u8 *s, va_list *va) |
|
static u8 * | format_vlib_node_stats (u8 *s, va_list *va) |
|
f64 | vlib_get_stat_segment_update_rate (void) |
|
static clib_error_t * | show_node_runtime (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_node_runtime (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_node (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | set_node_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | vlib_node_cli_reference (void) |
|
◆ format__
#define format__ |
( |
|
vm__, |
|
|
|
fd__, |
|
|
|
... |
|
) |
| |
Value: if ((fd) < 0) \
{ \
vlib_cli_output((vm__), ## __VA_ARGS__); \
} \
else \
{ \
fdformat((fd__), ## __VA_ARGS__); \
}
◆ clear_node_runtime()
◆ format_vlib_node_state()
static u8* format_vlib_node_state |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_vlib_node_stats()
static u8* format_vlib_node_stats |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ node_cmp()
static int node_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ set_node_fn()
◆ show_node()
◆ show_node_graph()
◆ show_node_graphviz()
◆ show_node_runtime()
◆ vlib_get_stat_segment_update_rate()
f64 vlib_get_stat_segment_update_rate |
( |
void |
| ) |
|
◆ vlib_node_cli_reference()
void vlib_node_cli_reference |
( |
void |
| ) |
|
◆ clear_node_runtime_command
Initial value:= {
.path = "clear runtime",
.short_help = "Clear packet processing runtime statistics",
}
(constructor) VLIB_CLI_COMMAND (clear_node_runtime_command)
Definition at line 703 of file node_cli.c.
◆ set_node_fn_command
Initial value:= {
.path = "set node function",
.short_help = "set node function <node-name> <variant-name>",
}
(constructor) VLIB_CLI_COMMAND (set_node_fn_command)
Definition at line 926 of file node_cli.c.
◆ show_node_command
Initial value:= {
.path = "show node",
.short_help = "show node [index] <node-name | node-index>",
}
(constructor) VLIB_CLI_COMMAND (show_node_command)
Definition at line 873 of file node_cli.c.
◆ show_node_graph_command
Initial value:= {
.path = "show vlib graph",
.short_help = "Show packet processing node graph",
}
(constructor) VLIB_CLI_COMMAND (show_node_graph_command)
Definition at line 88 of file node_cli.c.
◆ show_node_graphviz_command
Initial value:= {
.path = "show vlib graphviz",
.short_help = "Dump packet processing node graph as a graphviz dotfile",
.is_mp_safe = 1,
}
(constructor) VLIB_CLI_COMMAND (show_node_graphviz_command)
Definition at line 327 of file node_cli.c.
◆ show_node_runtime_command
Initial value:= {
.path = "show runtime",
.short_help = "Show packet processing runtime",
.is_mp_safe = 1,
}
(constructor) VLIB_CLI_COMMAND (show_node_runtime_command)
Definition at line 650 of file node_cli.c.