Go to the source code of this file.
◆ foreach_handoffdemo_error
#define foreach_handoffdemo_error |
Value:_(HANDED_OFF, "packets handed off processed") \
_(CONGESTION_DROP, "handoff queue congestion drops") \
_(COMPLETE, "completed packets")
Definition at line 43 of file node.c.
◆ handoffdemo_error_t
Enumerator |
---|
HANDOFFDEMO_N_ERROR | |
Definition at line 48 of file node.c.
◆ handoffdemo_next_t
Enumerator |
---|
HANDOFFDEMO_NEXT_DROP | |
HANDOFFDEMO_N_NEXT | |
Definition at line 62 of file node.c.
◆ format_handoffdemo_trace()
static u8* format_handoffdemo_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ handoffdemo_inline()
◆ handoffdemo_node_1_fn()
◆ handoffdemo_node_2_fn()
◆ handoffdemo_node_init()
◆ handoffdemo_error_strings
char* handoffdemo_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_handoffdemo_error
Definition at line 56 of file node.c.
◆ handoffdemo_node
◆ handoffdemo_node_1
Initial value:=
{
.name = "handoffdemo-1",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_handoffdemo_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
static uword handoffdemo_node_1_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * handoffdemo_error_strings[]
(constructor) VLIB_REGISTER_NODE (handoffdemo_node_1)
Definition at line 169 of file node.c.
◆ handoffdemo_node_2
Initial value:=
{
.name = "handoffdemo-2",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_handoffdemo_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
static char * handoffdemo_error_strings[]
uword handoffdemo_node_2_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (handoffdemo_node_2)
Definition at line 202 of file node.c.