FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
l3xc_api.c File Reference
+ Include dependency graph for l3xc_api.c:

Go to the source code of this file.

Data Structures

struct  l3xc_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_l3xc_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct l3xc_dump_walk_ctx_t_ l3xc_dump_walk_ctx_t
 

Functions

static void vl_api_l3xc_plugin_get_version_t_handler (vl_api_l3xc_plugin_get_version_t *mp)
 
static void vl_api_l3xc_update_t_handler (vl_api_l3xc_update_t *mp)
 
static void vl_api_l3xc_del_t_handler (vl_api_l3xc_del_t *mp)
 
static int l3xc_send_details (u32 l3xci, void *args)
 
static void vl_api_l3xc_dump_t_handler (vl_api_l3xc_dump_t *mp)
 
static clib_error_tl3xc_plugin_api_hookup (vlib_main_t *vm)
 
static void setup_message_id_table (api_main_t *apim)
 
static clib_error_tl3xc_api_init (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

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

Macro Definition Documentation

◆ foreach_l3xc_plugin_api_msg

#define foreach_l3xc_plugin_api_msg
Value:
_(L3XC_PLUGIN_GET_VERSION, l3xc_plugin_get_version) \
_(L3XC_UPDATE, l3xc_update) \
_(L3XC_DEL, l3xc_del) \
_(L3XC_DUMP, l3xc_dump)
int l3xc_update(u32 sw_if_index, u8 is_ip6, const fib_route_path_t *rpaths)
Create or update an L3XC Policy.
Definition: l3xc.c:83

Definition at line 63 of file l3xc_api.c.

◆ vl_api_version

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

Definition at line 50 of file l3xc_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 39 of file l3xc_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 231 of file l3xc_api.c.

◆ vl_print

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

Definition at line 44 of file l3xc_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 45 of file l3xc_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 34 of file l3xc_api.c.

Typedef Documentation

◆ l3xc_dump_walk_ctx_t

Function Documentation

◆ l3xc_api_init()

static clib_error_t* l3xc_api_init ( vlib_main_t vm)
static

Definition at line 263 of file l3xc_api.c.

+ Here is the call graph for this function:

◆ l3xc_plugin_api_hookup()

static clib_error_t* l3xc_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 237 of file l3xc_api.c.

+ Here is the caller graph for this function:

◆ l3xc_send_details()

static int l3xc_send_details ( u32  l3xci,
void *  args 
)
static

Definition at line 156 of file l3xc_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 254 of file l3xc_api.c.

+ Here is the caller graph for this function:

◆ vl_api_l3xc_del_t_handler()

static void vl_api_l3xc_del_t_handler ( vl_api_l3xc_del_t mp)
static

Definition at line 135 of file l3xc_api.c.

+ Here is the call graph for this function:

◆ vl_api_l3xc_dump_t_handler()

static void vl_api_l3xc_dump_t_handler ( vl_api_l3xc_dump_t mp)
static

Definition at line 198 of file l3xc_api.c.

+ Here is the call graph for this function:

◆ vl_api_l3xc_plugin_get_version_t_handler()

static void vl_api_l3xc_plugin_get_version_t_handler ( vl_api_l3xc_plugin_get_version_t mp)
static

Definition at line 70 of file l3xc_api.c.

+ Here is the call graph for this function:

◆ vl_api_l3xc_update_t_handler()

static void vl_api_l3xc_update_t_handler ( vl_api_l3xc_update_t mp)
static

Definition at line 91 of file l3xc_api.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ l3xc_base_msg_id

u32 l3xc_base_msg_id
static

Base message ID fot the plugin.

Definition at line 57 of file l3xc_api.c.