FD.io VPP  v17.07-30-g839fa73
Vector Packet Processing
lldp_output.c File Reference

LLDP packet generation implementation. More...

+ Include dependency graph for lldp_output.c:

Go to the source code of this file.

Functions

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_tlldp_template_init (vlib_main_t *vm)
 

Detailed Description

LLDP packet generation implementation.

Definition in file lldp_output.c.

Function Documentation

static void lldp_add_chassis_id ( const vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 22 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lldp_add_pdu_end ( u8 **  t0p)
static

Definition at line 106 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lldp_add_port_desc ( const lldp_main_t lm,
lldp_intf_t n,
u8 **  t0p 
)
static

Definition at line 78 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lldp_add_port_id ( const vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 38 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lldp_add_sys_name ( const lldp_main_t lm,
u8 **  t0p 
)
static

Definition at line 92 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lldp_add_tlvs ( lldp_main_t lm,
vnet_hw_interface_t hw,
u8 **  t0p,
int  shutdown,
lldp_intf_t n 
)
static

Definition at line 115 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lldp_add_ttl ( const lldp_main_t lm,
u8 **  t0p,
int  shutdown 
)
static

Definition at line 53 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void lldp_delete_intf ( lldp_main_t lm,
lldp_intf_t n 
)

Definition at line 177 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void lldp_send_ethernet ( lldp_main_t lm,
lldp_intf_t n,
int  shutdown 
)

Definition at line 130 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* lldp_template_init ( vlib_main_t vm)
static

Definition at line 191 of file lldp_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: