FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
memif_api.c File Reference
+ Include dependency graph for memif_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   mm->msg_id_base
 

Functions

void vl_api_memif_socket_filename_add_del_t_handler (vl_api_memif_socket_filename_add_del_t *mp)
 Message handler for memif_socket_filename_add_del API. More...
 
void vl_api_memif_create_t_handler (vl_api_memif_create_t *mp)
 Message handler for memif_create API. More...
 
void vl_api_memif_delete_t_handler (vl_api_memif_delete_t *mp)
 Message handler for memif_delete API. More...
 
static void send_memif_details (vl_api_registration_t *reg, memif_if_t *mif, vnet_sw_interface_t *swif, u8 *interface_name, u32 context)
 
void vl_api_memif_dump_t_handler (vl_api_memif_dump_t *mp)
 Message handler for memif_dump API. More...
 
static void send_memif_socket_filename_details (vl_api_registration_t *reg, u32 socket_id, u8 *socket_filename, u32 context)
 
void vl_api_memif_socket_filename_dump_t_handler (vl_api_memif_socket_filename_dump_t *mp)
 Message handler for memif_socket_filename_dump API. More...
 
clib_error_tmemif_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   mm->msg_id_base

Definition at line 37 of file memif_api.c.

Function Documentation

◆ memif_plugin_api_hookup()

clib_error_t* memif_plugin_api_hookup ( vlib_main_t vm)

Definition at line 354 of file memif_api.c.

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

◆ send_memif_details()

static void send_memif_details ( vl_api_registration_t reg,
memif_if_t mif,
vnet_sw_interface_t swif,
u8 interface_name,
u32  context 
)
static

Definition at line 211 of file memif_api.c.

+ Here is the call graph for this function:

◆ send_memif_socket_filename_details()

static void send_memif_socket_filename_details ( vl_api_registration_t reg,
u32  socket_id,
u8 socket_filename,
u32  context 
)
static

Definition at line 300 of file memif_api.c.

+ Here is the call graph for this function:

◆ vl_api_memif_create_t_handler()

void vl_api_memif_create_t_handler ( vl_api_memif_create_t mp)

Message handler for memif_create API.

Parameters
mpvl_api_memif_create_t * mp the api message

Definition at line 91 of file memif_api.c.

+ Here is the call graph for this function:

◆ vl_api_memif_delete_t_handler()

void vl_api_memif_delete_t_handler ( vl_api_memif_delete_t mp)

Message handler for memif_delete API.

Parameters
mpvl_api_memif_delete_t * mp the api message

Definition at line 185 of file memif_api.c.

+ Here is the call graph for this function:

◆ vl_api_memif_dump_t_handler()

void vl_api_memif_dump_t_handler ( vl_api_memif_dump_t mp)

Message handler for memif_dump API.

Parameters
mpvl_api_memif_dump_t * mp the api message

Definition at line 269 of file memif_api.c.

+ Here is the call graph for this function:

◆ vl_api_memif_socket_filename_add_del_t_handler()

void vl_api_memif_socket_filename_add_del_t_handler ( vl_api_memif_socket_filename_add_del_t mp)

Message handler for memif_socket_filename_add_del API.

Parameters
mpthe vl_api_memif_socket_filename_add_del_t API message

Definition at line 46 of file memif_api.c.

+ Here is the call graph for this function:

◆ vl_api_memif_socket_filename_dump_t_handler()

void vl_api_memif_socket_filename_dump_t_handler ( vl_api_memif_socket_filename_dump_t mp)

Message handler for memif_socket_filename_dump API.

Parameters
mpvl_api_memif_socket_filename_dump_t api message

Definition at line 327 of file memif_api.c.

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