FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
LLDP nodes implementation. More...
Go to the source code of this file.
Macros | |
#define | LLDP_DEBUG (0) |
#define | F(sym, string) static char LLDP_ERR_##sym##_STR[] = string; |
#define | F(sym, string) LLDP_ERR_##sym##_STR, |
Enumerations | |
enum | lldp_next_t { LLDP_INPUT_NEXT_NORMAL, LLDP_INPUT_N_NEXT } |
Functions | |
foreach_lldp_error (F) | |
static uword | lldp_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
static uword | lldp_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
void | lldp_schedule_intf (lldp_main_t *lm, lldp_intf_t *n) |
void | lldp_unschedule_intf (lldp_main_t *lm, lldp_intf_t *n) |
static clib_error_t * | lldp_sw_interface_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (lldp_sw_interface_up_down) | |
static clib_error_t * | lldp_hw_interface_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (lldp_hw_interface_up_down) | |
Variables | |
static vlib_node_registration_t | lldp_process_node |
(constructor) VLIB_REGISTER_NODE (lldp_process_node) More... | |
static char * | lldp_error_strings [] |
static vlib_node_registration_t | lldp_input_node |
(constructor) VLIB_REGISTER_NODE (lldp_input_node) More... | |
LLDP nodes implementation.
Definition in file lldp_node.c.
#define F | ( | sym, | |
string | |||
) | static char LLDP_ERR_##sym##_STR[] = string; |
Definition at line 28 of file lldp_node.c.
#define F | ( | sym, | |
string | |||
) | LLDP_ERR_##sym##_STR, |
Definition at line 28 of file lldp_node.c.
#define LLDP_DEBUG (0) |
Definition at line 24 of file lldp_node.c.
enum lldp_next_t |
Enumerator | |
---|---|
LLDP_INPUT_NEXT_NORMAL | |
LLDP_INPUT_N_NEXT |
Definition at line 47 of file lldp_node.c.
foreach_lldp_error | ( | F | ) |
|
static |
|
static |
|
static |
void lldp_schedule_intf | ( | lldp_main_t * | lm, |
lldp_intf_t * | n | ||
) |
Definition at line 242 of file lldp_node.c.
|
static |
void lldp_unschedule_intf | ( | lldp_main_t * | lm, |
lldp_intf_t * | n | ||
) |
Definition at line 267 of file lldp_node.c.
VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION | ( | lldp_hw_interface_up_down | ) |
VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION | ( | lldp_sw_interface_up_down | ) |
|
static |
Definition at line 36 of file lldp_node.c.
|
static |
(constructor) VLIB_REGISTER_NODE (lldp_input_node)
Definition at line 106 of file lldp_node.c.
|
static |
(constructor) VLIB_REGISTER_NODE (lldp_process_node)
Definition at line 26 of file lldp_node.c.