FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
lacp_api.c File Reference
+ Include dependency graph for lacp_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs
 
#define vl_endianfun
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define REPLY_MSG_ID_BASE   lm->msg_id_base
 
#define foreach_lacp_plugin_api_msg   _(SW_INTERFACE_LACP_DUMP, sw_interface_lacp_dump)
 
#define vl_msg_name_crc_list
 

Functions

static void lacp_send_sw_interface_details (vl_api_registration_t *reg, lacp_interface_details_t *lacp_if, u32 context)
 
void vl_api_sw_interface_lacp_dump_t_handler (vl_api_sw_interface_lacp_dump_t *mp)
 Message handler for lacp_dump API. More...
 
static void setup_message_id_table (lacp_main_t *lm, api_main_t *am)
 
clib_error_tlacp_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ foreach_lacp_plugin_api_msg

#define foreach_lacp_plugin_api_msg   _(SW_INTERFACE_LACP_DUMP, sw_interface_lacp_dump)

Definition at line 56 of file lacp_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   lm->msg_id_base

Definition at line 53 of file lacp_api.c.

◆ vl_api_version

#define vl_api_version (   n,
 
)    static u32 api_version=(v);

Definition at line 49 of file lacp_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 38 of file lacp_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 129 of file lacp_api.c.

◆ vl_print

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

Definition at line 43 of file lacp_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 44 of file lacp_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 33 of file lacp_api.c.

Function Documentation

◆ lacp_plugin_api_hookup()

clib_error_t* lacp_plugin_api_hookup ( vlib_main_t vm)

Definition at line 144 of file lacp_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lacp_send_sw_interface_details()

static void lacp_send_sw_interface_details ( vl_api_registration_t reg,
lacp_interface_details_t lacp_if,
u32  context 
)
static

Definition at line 60 of file lacp_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( lacp_main_t lm,
api_main_t am 
)
static

Definition at line 134 of file lacp_api.c.

+ Here is the caller graph for this function:

◆ vl_api_sw_interface_lacp_dump_t_handler()

void vl_api_sw_interface_lacp_dump_t_handler ( vl_api_sw_interface_lacp_dump_t mp)

Message handler for lacp_dump API.

Parameters
mpvl_api_lacp_dump_t * mp the api message

Definition at line 106 of file lacp_api.c.

+ Here is the call graph for this function: