FD.io VPP  v20.05.1-6-gf53edbc3b
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_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define FINISH
 
#define REPLY_MSG_ID_BASE   lm->msg_id_base
 

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...
 
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:590

Definition at line 37 of file lacp_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   lm->msg_id_base

Definition at line 43 of file lacp_api.c.

◆ vl_print

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

Definition at line 34 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 119 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 47 of file lacp_api.c.

+ Here is the call graph for this function:
+ 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 93 of file lacp_api.c.

+ Here is the call graph for this function: