FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
2 x CDP graph nodes: an "interior" node to process incoming announcements, and a "process" node to periodically send announcements. More...
Go to the source code of this file.
Enumerations | |
enum | cdp_next_t { CDP_INPUT_NEXT_NORMAL, CDP_INPUT_N_NEXT } |
Functions | |
static uword | cdp_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
static uword | cdp_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
void | vnet_cdp_create_periodic_process (cdp_main_t *cmp) |
Variables | |
static char * | cdp_error_strings [] |
static vlib_node_registration_t | cdp_input_node |
(constructor) VLIB_REGISTER_NODE (cdp_input_node) More... | |
2 x CDP graph nodes: an "interior" node to process incoming announcements, and a "process" node to periodically send announcements.
The interior node is neither pipelined nor dual-looped, because it would be very unusual to see more than one CDP packet in a given input frame. So, it's a very simple / straightforward example.
Definition in file cdp_node.c.
enum cdp_next_t |
Enumerator | |
---|---|
CDP_INPUT_NEXT_NORMAL | |
CDP_INPUT_N_NEXT |
Definition at line 45 of file cdp_node.c.
|
static |
|
static |
Definition at line 126 of file cdp_node.c.
void vnet_cdp_create_periodic_process | ( | cdp_main_t * | cmp | ) |
Definition at line 201 of file cdp_node.c.
|
static |
Definition at line 34 of file cdp_node.c.
|
static |
(constructor) VLIB_REGISTER_NODE (cdp_input_node)
Definition at line 104 of file cdp_node.c.