FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
pp2_api.c File Reference
+ Include dependency graph for pp2_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_pp2_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_mrvl_pp2_create_t_handler (vl_api_mrvl_pp2_create_t *mp)
 
static void * vl_api_mrvl_pp2_create_t_print (vl_api_mrvl_pp2_create_t *mp, void *handle)
 
static void vl_api_mrvl_pp2_delete_t_handler (vl_api_mrvl_pp2_delete_t *mp)
 
static void * vl_api_mrvl_pp2_delete_t_print (vl_api_mrvl_pp2_delete_t *mp, void *handle)
 
static void setup_message_id_table (mrvl_pp2_main_t *pp2, api_main_t *am)
 
clib_error_tmrvl_pp2_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 49 of file pp2_api.c.

◆ foreach_pp2_plugin_api_msg

#define foreach_pp2_plugin_api_msg
Value:
_(MRVL_PP2_CREATE, mrvl_pp2_create) \
_(MRVL_PP2_DELETE, mrvl_pp2_delete)

Definition at line 57 of file pp2_api.c.

◆ vl_api_version

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

Definition at line 44 of file pp2_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 36 of file pp2_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 62 of file pp2_api.c.

◆ vl_print

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

Definition at line 41 of file pp2_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 31 of file pp2_api.c.

Function Documentation

◆ mrvl_pp2_plugin_api_hookup()

clib_error_t* mrvl_pp2_plugin_api_hookup ( vlib_main_t vm)

Definition at line 155 of file pp2_api.c.

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

◆ setup_message_id_table()

static void setup_message_id_table ( mrvl_pp2_main_t pp2,
api_main_t am 
)
static

Definition at line 144 of file pp2_api.c.

+ Here is the caller graph for this function:

◆ vl_api_mrvl_pp2_create_t_handler()

static void vl_api_mrvl_pp2_create_t_handler ( vl_api_mrvl_pp2_create_t mp)
static

Definition at line 67 of file pp2_api.c.

+ Here is the call graph for this function:

◆ vl_api_mrvl_pp2_create_t_print()

static void* vl_api_mrvl_pp2_create_t_print ( vl_api_mrvl_pp2_create_t mp,
void *  handle 
)
static

Definition at line 93 of file pp2_api.c.

+ Here is the call graph for this function:

◆ vl_api_mrvl_pp2_delete_t_handler()

static void vl_api_mrvl_pp2_delete_t_handler ( vl_api_mrvl_pp2_delete_t mp)
static

Definition at line 107 of file pp2_api.c.

+ Here is the call graph for this function:

◆ vl_api_mrvl_pp2_delete_t_print()

static void* vl_api_mrvl_pp2_delete_t_print ( vl_api_mrvl_pp2_delete_t mp,
void *  handle 
)
static

Definition at line 132 of file pp2_api.c.

+ Here is the call graph for this function: