FD.io VPP  v19.08.3-2-gbabecb413
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_api_version(n, v)   static u32 api_version=(v);
 
#define FINISH
 
#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_create_t_print (vl_api_vmxnet3_create_t *mp, void *handle)
 
static void vl_api_vmxnet3_delete_t_handler (vl_api_vmxnet3_delete_t *mp)
 
static void * vl_api_vmxnet3_delete_t_print (vl_api_vmxnet3_delete_t *mp, void *handle)
 
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 * vl_api_vmxnet3_dump_t_print (vl_api_vmxnet3_dump_t *mp, void *handle)
 
static void setup_message_id_table (vmxnet3_main_t *vmxm, api_main_t *am)
 
static void plugin_custom_dump_configure (vmxnet3_main_t *vmxm)
 
clib_error_tvmxnet3_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 50 of file vmxnet3_api.c.

◆ 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 58 of file vmxnet3_api.c.

◆ vl_api_version

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

Definition at line 45 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 263 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_typedefs

#define vl_typedefs

Definition at line 32 of file vmxnet3_api.c.

Function Documentation

◆ plugin_custom_dump_configure()

static void plugin_custom_dump_configure ( vmxnet3_main_t vmxm)
static

Definition at line 277 of file vmxnet3_api.c.

+ Here is the caller graph for this function:

◆ 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 157 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 268 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 64 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_create_t_print()

static void* vl_api_vmxnet3_create_t_print ( vl_api_vmxnet3_create_t mp,
void *  handle 
)
static

Definition at line 94 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 118 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_delete_t_print()

static void* vl_api_vmxnet3_delete_t_print ( vl_api_vmxnet3_delete_t mp,
void *  handle 
)
static

Definition at line 146 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 226 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_dump_t_print()

static void* vl_api_vmxnet3_dump_t_print ( vl_api_vmxnet3_dump_t mp,
void *  handle 
)
static

Definition at line 254 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 288 of file vmxnet3_api.c.

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