LLDP packet generation implementation.
More...
Go to the source code of this file.
|
static void | lldp_add_chassis_id (const vnet_hw_interface_t *hw, u8 **t0p) |
|
static void | lldp_add_port_id (const vnet_hw_interface_t *hw, u8 **t0p) |
|
static void | lldp_add_ttl (const lldp_main_t *lm, u8 **t0p, int shutdown) |
|
static void | lldp_add_port_desc (const lldp_main_t *lm, lldp_intf_t *n, u8 **t0p) |
|
static void | lldp_add_sys_name (const lldp_main_t *lm, u8 **t0p) |
|
static void | lldp_add_pdu_end (u8 **t0p) |
|
static void | lldp_add_tlvs (lldp_main_t *lm, vnet_hw_interface_t *hw, u8 **t0p, int shutdown, lldp_intf_t *n) |
|
void | lldp_send_ethernet (lldp_main_t *lm, lldp_intf_t *n, int shutdown) |
|
void | lldp_delete_intf (lldp_main_t *lm, lldp_intf_t *n) |
|
static clib_error_t * | lldp_template_init (vlib_main_t *vm) |
|
LLDP packet generation implementation.
Definition in file lldp_output.c.
static void lldp_add_pdu_end |
( |
u8 ** |
t0p | ) |
|
|
static |
static void lldp_add_sys_name |
( |
const lldp_main_t * |
lm, |
|
|
u8 ** |
t0p |
|
) |
| |
|
static |
static void lldp_add_ttl |
( |
const lldp_main_t * |
lm, |
|
|
u8 ** |
t0p, |
|
|
int |
shutdown |
|
) |
| |
|
static |