FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
netmap_api.c File Reference
+ Include dependency graph for netmap_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_netmap_create_t_handler (vl_api_netmap_create_t *mp)
 
static void vl_api_netmap_delete_t_handler (vl_api_netmap_delete_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tnetmap_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (netmap_api_hookup)
 

Macro Definition Documentation

◆ foreach_vpe_api_msg

#define foreach_vpe_api_msg
Value:
_(NETMAP_CREATE, netmap_create) \
_(NETMAP_DELETE, netmap_delete) \

Definition at line 45 of file netmap_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 33 of file netmap_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 94 of file netmap_api.c.

◆ vl_print

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

Definition at line 38 of file netmap_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 39 of file netmap_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 29 of file netmap_api.c.

Function Documentation

◆ netmap_api_hookup()

static clib_error_t* netmap_api_hookup ( vlib_main_t vm)
static

Definition at line 107 of file netmap_api.c.

+ Here is the call graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 99 of file netmap_api.c.

+ Here is the caller graph for this function:

◆ vl_api_netmap_create_t_handler()

static void vl_api_netmap_create_t_handler ( vl_api_netmap_create_t mp)
static

Definition at line 50 of file netmap_api.c.

+ Here is the call graph for this function:

◆ vl_api_netmap_delete_t_handler()

static void vl_api_netmap_delete_t_handler ( vl_api_netmap_delete_t mp)
static

Definition at line 70 of file netmap_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( netmap_api_hookup  )
+ Here is the caller graph for this function: