LLDP global declarations.
More...
Go to the source code of this file.
|
lldp_intf_t * | lldp_get_intf (lldp_main_t *lm, u32 hw_if_index) |
|
lldp_intf_t * | lldp_create_intf (lldp_main_t *lm, u32 hw_if_index) |
|
void | lldp_delete_intf (lldp_main_t *lm, lldp_intf_t *n) |
|
lldp_error_t | lldp_input (vlib_main_t *vm, vlib_buffer_t *b0, u32 bi0) |
|
u8 * | lldp_input_format_trace (u8 *s, va_list *args) |
|
void | lldp_send_ethernet (lldp_main_t *lm, lldp_intf_t *n, int shutdown) |
|
void | lldp_schedule_intf (lldp_main_t *lm, lldp_intf_t *n) |
|
void | lldp_unschedule_intf (lldp_main_t *lm, lldp_intf_t *n) |
|
LLDP global declarations.
Definition in file lldp_node.h.
#define F |
( |
|
sym, |
|
|
|
str |
|
) |
| LLDP_ERROR_##sym, |
◆ foreach_lldp_error
#define foreach_lldp_error |
( |
|
F | ) |
|
Value: F(NONE,
"good lldp packets (processed)") \
F(CACHE_HIT, "good lldp packets (cache hit)") \
F(BAD_TLV, "lldp packets with bad TLVs") \
F(DISABLED, "lldp packets received on disabled interfaces")
Definition at line 113 of file lldp_node.h.
◆ LLDP_MAX_TX_HOLD
#define LLDP_MAX_TX_HOLD (100) |
◆ LLDP_MAX_TX_INTERVAL
#define LLDP_MAX_TX_INTERVAL (3600) |
◆ LLDP_MIN_TX_HOLD
#define LLDP_MIN_TX_HOLD (1) |
◆ LLDP_MIN_TX_INTERVAL
#define LLDP_MIN_TX_INTERVAL (1) |
◆ lldp_intf_t
◆ lldp_error_t
Enumerator |
---|
foreach_lldp_error | |
Definition at line 119 of file lldp_node.h.
◆ lldp_process_event_t
Enumerator |
---|
LLDP_EVENT_RESCHEDULE | |
Definition at line 134 of file lldp_node.h.
◆ lldp_create_intf()
◆ lldp_delete_intf()
◆ lldp_get_intf()
◆ lldp_input()
◆ lldp_input_format_trace()
u8* lldp_input_format_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ lldp_schedule_intf()
◆ lldp_send_ethernet()
◆ lldp_unschedule_intf()
◆ lldp_main