FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
lldp_api.c File Reference
+ Include dependency graph for lldp_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_vpe_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_lldp_config_t_handler (vl_api_lldp_config_t *mp)
 
static void vl_api_sw_interface_set_lldp_t_handler (vl_api_sw_interface_set_lldp_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tlldp_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (lldp_api_hookup)
 

Macro Definition Documentation

◆ foreach_vpe_api_msg

#define foreach_vpe_api_msg
Value:
_(LLDP_CONFIG, lldp_config) \
_(SW_INTERFACE_SET_LLDP, sw_interface_set_lldp)

Definition at line 49 of file lldp_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 37 of file lldp_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 136 of file lldp_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 42 of file lldp_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 43 of file lldp_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 33 of file lldp_api.c.

Function Documentation

◆ lldp_api_hookup()

static clib_error_t* lldp_api_hookup ( vlib_main_t vm)
static

Definition at line 149 of file lldp_api.c.

+ Here is the call graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 141 of file lldp_api.c.

+ Here is the caller graph for this function:

◆ vl_api_lldp_config_t_handler()

static void vl_api_lldp_config_t_handler ( vl_api_lldp_config_t mp)
static

Definition at line 54 of file lldp_api.c.

+ Here is the call graph for this function:

◆ vl_api_sw_interface_set_lldp_t_handler()

static void vl_api_sw_interface_set_lldp_t_handler ( vl_api_sw_interface_set_lldp_t mp)
static

Definition at line 73 of file lldp_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( lldp_api_hookup  )
+ Here is the caller graph for this function: