Go to the source code of this file.
|
static u8 * | format_punt_trace (u8 *s, va_list *args) |
|
static u32 | punt_replicate (vlib_main_t *vm, vlib_node_runtime_t *node, u32 thread_index, vlib_buffer_t *b0, u32 bi0, vlib_punt_reason_t pr0, u32 *next_index, u32 *n_left_to_next, u32 **to_next, u32 *n_dispatched) |
|
static u32 | punt_dispatch_one (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_combined_counter_main_t *cm, u32 thread_index, u32 bi0, u32 *next_index, u32 *n_left_to_next, u32 **to_next, u32 *n_dispatched) |
|
VLIB_NODE_FN() | punt_dispatch_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | punt_node_init (vlib_main_t *vm) |
|
◆ foreach_punt_error
#define foreach_punt_error |
Value:_(DISPATCHED, "dispatched") \
_(NO_REASON, "No such punt reason") \
_(NO_REG, "No registrations") \
_(REP_FAIL, "Replication Faliure")
Definition at line 18 of file punt_node.c.
◆ punt_error_t
◆ punt_next_t
◆ punt_trace_t
◆ punt_error_t_
◆ punt_next_t_
Enumerator |
---|
PUNT_NEXT_DROP | |
PUNT_N_NEXT | |
Definition at line 38 of file punt_node.c.
◆ format_punt_trace()
static u8* format_punt_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ punt_dispatch_node()
◆ punt_dispatch_one()
◆ punt_node_init()
◆ punt_replicate()
◆ punt_clones
Per-thread clone vectors.
Definition at line 53 of file punt_node.c.
◆ punt_dispatch_node
Initial value:= {
.name = "punt-dispatch",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_punt_trace(u8 *s, va_list *args)
static char * punt_error_strings[]
(constructor) VLIB_REGISTER_NODE (punt_dispatch_node)
Definition at line 283 of file punt_node.c.
◆ punt_error_strings
char* punt_error_strings[] |
|
static |
Initial value:= {
#define _(v,s)
}
#define foreach_punt_error
Definition at line 32 of file punt_node.c.