FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vmxnet3_api.c File Reference
+ Include dependency graph for vmxnet3_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 foreach_vmxnet3_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_vmxnet3_create_t_handler (vl_api_vmxnet3_create_t *mp)
 
static void vl_api_vmxnet3_delete_t_handler (vl_api_vmxnet3_delete_t *mp)
 
static void send_vmxnet3_details (vl_api_registration_t *reg, vmxnet3_device_t *vd, vnet_sw_interface_t *swif, u8 *interface_name, u32 context)
 
static void vl_api_vmxnet3_dump_t_handler (vl_api_vmxnet3_dump_t *mp)
 Message handler for vmxnet3_dump API. More...
 
static void setup_message_id_table (vmxnet3_main_t *vmxm, api_main_t *am)
 
clib_error_tvmxnet3_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ foreach_vmxnet3_plugin_api_msg

#define foreach_vmxnet3_plugin_api_msg
Value:
_(VMXNET3_CREATE, vmxnet3_create) \
_(VMXNET3_DELETE, vmxnet3_delete) \
_(VMXNET3_DUMP, vmxnet3_dump)

Definition at line 54 of file vmxnet3_api.c.

◆ vl_api_version

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

Definition at line 48 of file vmxnet3_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 37 of file vmxnet3_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 214 of file vmxnet3_api.c.

◆ vl_print

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

Definition at line 42 of file vmxnet3_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 43 of file vmxnet3_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 32 of file vmxnet3_api.c.

Function Documentation

◆ send_vmxnet3_details()

static void send_vmxnet3_details ( vl_api_registration_t reg,
vmxnet3_device_t vd,
vnet_sw_interface_t swif,
u8 interface_name,
u32  context 
)
static

Definition at line 118 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( vmxnet3_main_t vmxm,
api_main_t am 
)
static

Definition at line 219 of file vmxnet3_api.c.

+ Here is the caller graph for this function:

◆ vl_api_vmxnet3_create_t_handler()

static void vl_api_vmxnet3_create_t_handler ( vl_api_vmxnet3_create_t mp)
static

Definition at line 60 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_delete_t_handler()

static void vl_api_vmxnet3_delete_t_handler ( vl_api_vmxnet3_delete_t mp)
static

Definition at line 90 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_dump_t_handler()

static void vl_api_vmxnet3_dump_t_handler ( vl_api_vmxnet3_dump_t mp)
static

Message handler for vmxnet3_dump API.

Parameters
mpvl_api_vmxnet3_dump_t * mp the api message

Definition at line 187 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vmxnet3_plugin_api_hookup()

clib_error_t* vmxnet3_plugin_api_hookup ( vlib_main_t vm)

Definition at line 229 of file vmxnet3_api.c.

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