FD.io VPP  v19.04.4-rc0-5-ge88582fac
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

◆ foreach_abf_plugin_api_msg

#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.

◆ vl_api_version

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

Definition at line 51 of file abf_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 40 of file abf_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 258 of file abf_api.c.

◆ vl_print

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

Definition at line 45 of file abf_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 46 of file abf_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 35 of file abf_api.c.

Typedef Documentation

◆ abf_dump_walk_ctx_t

Function Documentation

◆ abf_api_init()

static clib_error_t* abf_api_init ( vlib_main_t vm)
static

Definition at line 290 of file abf_api.c.

+ Here is the call graph for this function:

◆ abf_itf_attach_send_details()

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

Definition at line 216 of file abf_api.c.

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

◆ abf_plugin_api_hookup()

static clib_error_t* abf_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 264 of file abf_api.c.

+ Here is the caller graph for this function:

◆ abf_policy_send_details()

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

Definition at line 159 of file abf_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 ( api_main_t apim)
static

Definition at line 281 of file abf_api.c.

+ Here is the caller graph for this function:

◆ vl_api_abf_itf_attach_add_del_t_handler()

static void vl_api_abf_itf_attach_add_del_t_handler ( vl_api_abf_itf_attach_add_del_t mp)
static

Definition at line 128 of file abf_api.c.

+ Here is the call graph for this function:

◆ vl_api_abf_itf_attach_dump_t_handler()

static void vl_api_abf_itf_attach_dump_t_handler ( vl_api_abf_itf_attach_dump_t mp)
static

Definition at line 242 of file abf_api.c.

+ Here is the call graph for this function:

◆ vl_api_abf_plugin_get_version_t_handler()

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:

◆ vl_api_abf_policy_add_del_t_handler()

static void vl_api_abf_policy_add_del_t_handler ( vl_api_abf_policy_add_del_t mp)
static

Definition at line 92 of file abf_api.c.

+ Here is the call graph for this function:

◆ vl_api_abf_policy_dump_t_handler()

static void vl_api_abf_policy_dump_t_handler ( vl_api_abf_policy_dump_t mp)
static

Definition at line 199 of file abf_api.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ abf_base_msg_id

u32 abf_base_msg_id
static

Base message ID fot the plugin.

Definition at line 58 of file abf_api.c.