Go to the source code of this file.
|
uword | vlib_error_drop_buffers (vlib_main_t *vm, vlib_node_runtime_t *node, u32 *buffers, u32 next_buffer_stride, u32 n_buffers, u32 next_index, u32 drop_error_node, u32 drop_error_code) |
|
static uword | misc_drop_buffers (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
void | vlib_stats_register_error_index (void *, u8 *, u64 *, u64) |
|
void | vlib_stats_pop_heap2 (void *, u32, void *) |
|
void | vlib_register_errors (vlib_main_t *vm, u32 node_index, u32 n_errors, char *error_strings[]) |
|
static clib_error_t * | show_errors (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_error_counters (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ clear_error_counters()
◆ misc_drop_buffers()
◆ show_errors()
◆ vlib_error_drop_buffers()
◆ vlib_register_errors()
void vlib_register_errors |
( |
vlib_main_t * |
vm, |
|
|
u32 |
node_index, |
|
|
u32 |
n_errors, |
|
|
char * |
error_strings[] |
|
) |
| |
◆ vlib_stats_pop_heap2()
void vlib_stats_pop_heap2 |
( |
void * |
notused, |
|
|
u32 |
notused2, |
|
|
void * |
notused3 |
|
) |
| |
◆ vlib_stats_register_error_index()
void vlib_stats_register_error_index |
( |
void * |
noutused, |
|
|
u8 * |
notused2, |
|
|
u64 * |
notused3, |
|
|
u64 |
notused4 |
|
) |
| |
◆ cli_clear_error_counters
Initial value:= {
.path = "clear errors",
.short_help = "Clear error counters",
}
static clib_error_t * clear_error_counters(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cli_clear_error_counters)
Definition at line 362 of file error.c.
◆ cli_clear_node_counters
Initial value:= {
.path = "clear node counters",
.short_help = "Clear node counters",
}
static clib_error_t * clear_error_counters(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cli_clear_node_counters)
Definition at line 370 of file error.c.
◆ cli_show_node_counters
Initial value:= {
.path = "show node counters",
.short_help = "Show node counters",
}
static clib_error_t * show_errors(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_node_counters)
Definition at line 336 of file error.c.
◆ misc_drop_buffers_error_strings
char* misc_drop_buffers_error_strings[] |
|
static |
Initial value:= {
[0] = "misc. errors",
}
Definition at line 127 of file error.c.
◆ misc_drop_buffers_node
Initial value:= {
.name = "misc-drop-buffers",
.vector_size =
sizeof (
u32),
.n_errors = 1,
.n_next_nodes = 1,
.next_nodes = {
"error-drop",
},
}
static uword misc_drop_buffers(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * misc_drop_buffers_error_strings[]
(constructor) VLIB_REGISTER_NODE (misc_drop_buffers_node)
Definition at line 132 of file error.c.
◆ vlib_cli_show_errors
Initial value:= {
.path = "show errors",
.short_help = "Show error counts",
}
static clib_error_t * show_errors(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (vlib_cli_show_errors)
Definition at line 328 of file error.c.