FD.io VPP  v19.08.3-2-gbabecb413
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_api_version(n, v)   static u32 api_version=(v);
 
#define FINISH
 
#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 * vl_api_sw_interface_lacp_dump_t_print (vl_api_sw_interface_lacp_dump_t *mp, void *handle)
 
static void setup_message_id_table (lacp_main_t *lm, api_main_t *am)
 
static void plugin_custom_dump_configure (lacp_main_t *lm)
 
clib_error_tlacp_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ FINISH

#define FINISH
Value:
vec_add1 (s, 0); \
vl_print (handle, (char *)s); \
vec_free (s); \
return handle;
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
Definition: vec.h:522

Definition at line 51 of file lacp_api.c.

◆ foreach_lacp_plugin_api_msg

#define foreach_lacp_plugin_api_msg   _(SW_INTERFACE_LACP_DUMP, sw_interface_lacp_dump)

Definition at line 60 of file lacp_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   lm->msg_id_base

Definition at line 57 of file lacp_api.c.

◆ vl_api_version

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

Definition at line 46 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 144 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_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 169 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 64 of file lacp_api.c.

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

◆ plugin_custom_dump_configure()

static void plugin_custom_dump_configure ( lacp_main_t lm)
static

Definition at line 158 of file lacp_api.c.

+ 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 149 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 110 of file lacp_api.c.

+ Here is the call graph for this function:

◆ vl_api_sw_interface_lacp_dump_t_print()

static void* vl_api_sw_interface_lacp_dump_t_print ( vl_api_sw_interface_lacp_dump_t mp,
void *  handle 
)
static

Definition at line 134 of file lacp_api.c.

+ Here is the call graph for this function: