FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
LLDP global declarations. More...
Go to the source code of this file.
Data Structures | |
struct | lldp_intf |
struct | lldp_main_t |
struct | lldp_input_trace_t |
Macros | |
#define | LLDP_MIN_TX_HOLD (1) |
#define | LLDP_MAX_TX_HOLD (100) |
#define | LLDP_MIN_TX_INTERVAL (1) |
#define | LLDP_MAX_TX_INTERVAL (3600) |
#define | foreach_lldp_error(F) |
#define | F(sym, str) LLDP_ERROR_##sym, |
Typedefs | |
typedef struct lldp_intf | lldp_intf_t |
Enumerations | |
enum | lldp_error_t { foreach_lldp_error } |
enum | { LLDP_EVENT_RESCHEDULE = 1 } |
Functions | |
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) |
Variables | |
lldp_main_t | lldp_main |
enum { ... } | lldp_process_event_t |
LLDP global declarations.
Definition in file lldp_node.h.
#define F | ( | sym, | |
str | |||
) | LLDP_ERROR_##sym, |
Definition at line 113 of file lldp_node.h.
#define foreach_lldp_error | ( | F | ) |
#define LLDP_MAX_TX_HOLD (100) |
Definition at line 98 of file lldp_node.h.
#define LLDP_MAX_TX_INTERVAL (3600) |
Definition at line 100 of file lldp_node.h.
#define LLDP_MIN_TX_HOLD (1) |
Definition at line 97 of file lldp_node.h.
#define LLDP_MIN_TX_INTERVAL (1) |
Definition at line 99 of file lldp_node.h.
typedef struct lldp_intf lldp_intf_t |
anonymous enum |
Enumerator | |
---|---|
LLDP_EVENT_RESCHEDULE |
Definition at line 126 of file lldp_node.h.
enum lldp_error_t |
Enumerator | |
---|---|
foreach_lldp_error |
Definition at line 111 of file lldp_node.h.
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 | ||
) |
Definition at line 180 of file lldp_output.c.
lldp_intf_t* lldp_get_intf | ( | lldp_main_t * | lm, |
u32 | hw_if_index | ||
) |
lldp_error_t lldp_input | ( | vlib_main_t * | vm, |
vlib_buffer_t * | b0, | ||
u32 | bi0 | ||
) |
Definition at line 249 of file lldp_input.c.
void lldp_schedule_intf | ( | lldp_main_t * | lm, |
lldp_intf_t * | n | ||
) |
Definition at line 242 of file lldp_node.c.
void lldp_send_ethernet | ( | lldp_main_t * | lm, |
lldp_intf_t * | n, | ||
int | shutdown | ||
) |
Definition at line 130 of file lldp_output.c.
void lldp_unschedule_intf | ( | lldp_main_t * | lm, |
lldp_intf_t * | n | ||
) |
Definition at line 267 of file lldp_node.c.
lldp_main_t lldp_main |
Definition at line 117 of file lldp_input.c.
enum { ... } lldp_process_event_t |