Go to the source code of this file.
|
static u8 * | validate_error (vlib_main_t *vm, vlib_error_t *e, u32 index) |
|
static u8 * | validate_error_frame (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f) |
|
static u32 | counter_index (vlib_main_t *vm, vlib_error_t e) |
|
static u8 * | format_error_trace (u8 *s, va_list *va) |
|
static void | trace_errors (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static_always_inline uword | process_drop_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, error_disposition_t disposition) |
|
VLIB_NODE_FN() | error_drop_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | error_punt_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
Enumerator |
---|
ERROR_DISPOSITION_DROP |
|
ERROR_DISPOSITION_PUNT |
|
ERROR_N_DISPOSITION |
|
Definition at line 20 of file drop.c.
static u8* format_error_trace |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
Initial value:= {
.name = "drop",
.vector_size =
sizeof (
u32),
}
static u8 * format_error_trace(u8 *s, va_list *va)
static u8 * validate_error_frame(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
#define VLIB_NODE_FLAG_IS_DROP
(constructor) VLIB_REGISTER_NODE (error_drop_node)
Definition at line 257 of file drop.c.
Initial value:= {
.name = "punt",
.vector_size =
sizeof (
u32),
}
#define VLIB_NODE_FLAG_IS_PUNT
static u8 * format_error_trace(u8 *s, va_list *va)
#define VLIB_NODE_FLAG_FRAME_NO_FREE_AFTER_DISPATCH
static u8 * validate_error_frame(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (error_punt_node)
Definition at line 267 of file drop.c.