FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
abf_api.c File Reference
+ Include dependency graph for abf_api.c:

Go to the source code of this file.

Data Structures

struct  abf_dump_walk_ctx_t_
 

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_abf_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct abf_dump_walk_ctx_t_ abf_dump_walk_ctx_t
 

Functions

static void vl_api_abf_plugin_get_version_t_handler (vl_api_abf_plugin_get_version_t *mp)
 
static void vl_api_abf_policy_add_del_t_handler (vl_api_abf_policy_add_del_t *mp)
 
static void vl_api_abf_itf_attach_add_del_t_handler (vl_api_abf_itf_attach_add_del_t *mp)
 
static int abf_policy_send_details (u32 api, void *args)
 
static void vl_api_abf_policy_dump_t_handler (vl_api_abf_policy_dump_t *mp)
 
static int abf_itf_attach_send_details (u32 aiai, void *args)
 
static void vl_api_abf_itf_attach_dump_t_handler (vl_api_abf_itf_attach_dump_t *mp)
 
static clib_error_tabf_plugin_api_hookup (vlib_main_t *vm)
 
static void setup_message_id_table (api_main_t *apim)
 
static clib_error_tabf_api_init (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

static u32 abf_base_msg_id
 Base message ID fot the plugin. More...
 

Macro Definition Documentation

#define foreach_abf_plugin_api_msg
Value:
_(ABF_PLUGIN_GET_VERSION, abf_plugin_get_version) \
_(ABF_POLICY_ADD_DEL, abf_policy_add_del) \
_(ABF_POLICY_DUMP, abf_policy_dump) \
_(ABF_ITF_ATTACH_ADD_DEL, abf_itf_attach_add_del) \
_(ABF_ITF_ATTACH_DUMP, abf_itf_attach_dump)

Definition at line 64 of file abf_api.c.

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

Definition at line 51 of file abf_api.c.

#define vl_endianfun

Definition at line 40 of file abf_api.c.

#define vl_msg_name_crc_list

Definition at line 266 of file abf_api.c.

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

Definition at line 45 of file abf_api.c.

#define vl_printfun

Definition at line 46 of file abf_api.c.

#define vl_typedefs

Definition at line 35 of file abf_api.c.

Typedef Documentation

Function Documentation

static clib_error_t* abf_api_init ( vlib_main_t vm)
static

Definition at line 298 of file abf_api.c.

+ Here is the call graph for this function:

static int abf_itf_attach_send_details ( u32  aiai,
void *  args 
)
static

Definition at line 222 of file abf_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* abf_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 272 of file abf_api.c.

+ Here is the caller graph for this function:

static int abf_policy_send_details ( u32  api,
void *  args 
)
static

Definition at line 163 of file abf_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void setup_message_id_table ( api_main_t apim)
static

Definition at line 289 of file abf_api.c.

+ Here is the caller graph for this function:

static void vl_api_abf_itf_attach_add_del_t_handler ( vl_api_abf_itf_attach_add_del_t mp)
static

Definition at line 132 of file abf_api.c.

+ Here is the call graph for this function:

static void vl_api_abf_itf_attach_dump_t_handler ( vl_api_abf_itf_attach_dump_t mp)
static

Definition at line 248 of file abf_api.c.

+ Here is the call graph for this function:

static void vl_api_abf_plugin_get_version_t_handler ( vl_api_abf_plugin_get_version_t mp)
static

Definition at line 72 of file abf_api.c.

+ Here is the call graph for this function:

static void vl_api_abf_policy_add_del_t_handler ( vl_api_abf_policy_add_del_t mp)
static

Definition at line 96 of file abf_api.c.

+ Here is the call graph for this function:

static void vl_api_abf_policy_dump_t_handler ( vl_api_abf_policy_dump_t mp)
static

Definition at line 203 of file abf_api.c.

+ Here is the call graph for this function:

VLIB_PLUGIN_REGISTER ( )

+ Here is the caller graph for this function:

Variable Documentation

u32 abf_base_msg_id
static

Base message ID fot the plugin.

Definition at line 58 of file abf_api.c.