FD.io VPP  v18.01-8-g0eacf49
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

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

Definition at line 45 of file lldp_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 33 of file lldp_api.c.

#define vl_msg_name_crc_list

Definition at line 130 of file lldp_api.c.

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

Definition at line 38 of file lldp_api.c.

#define vl_printfun

Definition at line 39 of file lldp_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 29 of file lldp_api.c.

Function Documentation

static clib_error_t* lldp_api_hookup ( vlib_main_t vm)
static

Definition at line 143 of file lldp_api.c.

+ Here is the call graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 135 of file lldp_api.c.

+ Here is the caller graph for this function:

static void vl_api_lldp_config_t_handler ( vl_api_lldp_config_t mp)
static

Definition at line 50 of file lldp_api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_set_lldp_t_handler ( vl_api_sw_interface_set_lldp_t mp)
static

Definition at line 70 of file lldp_api.c.

+ Here is the call graph for this function:

VLIB_API_INIT_FUNCTION ( lldp_api_hookup  )

+ Here is the caller graph for this function: