FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
svs_api.c File Reference
+ Include dependency graph for svs_api.c:

Go to the source code of this file.

Data Structures

struct  svs_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_svs_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct svs_dump_walk_ctx_t_ svs_dump_walk_ctx_t
 

Functions

static void vl_api_svs_plugin_get_version_t_handler (vl_api_svs_plugin_get_version_t *mp)
 
static void vl_api_svs_table_add_del_t_handler (vl_api_svs_table_add_del_t *mp)
 
static void vl_api_svs_route_add_del_t_handler (vl_api_svs_route_add_del_t *mp)
 
static void vl_api_svs_enable_disable_t_handler (vl_api_svs_enable_disable_t *mp)
 
static walk_rc_t svs_send_details (fib_protocol_t fproto, u32 table_id, u32 sw_if_index, void *args)
 
static void vl_api_svs_dump_t_handler (vl_api_svs_dump_t *mp)
 
static clib_error_tsvs_plugin_api_hookup (vlib_main_t *vm)
 
static void setup_message_id_table (api_main_t *apim)
 
static clib_error_tsvs_api_init (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

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

Macro Definition Documentation

#define foreach_svs_plugin_api_msg
Value:
_(SVS_PLUGIN_GET_VERSION, svs_plugin_get_version) \
_(SVS_TABLE_ADD_DEL, svs_table_add_del) \
_(SVS_ROUTE_ADD_DEL, svs_route_add_del) \
_(SVS_ENABLE_DISABLE, svs_enable_disable) \
_(SVS_DUMP, svs_dump)

Definition at line 62 of file svs_api.c.

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

Definition at line 49 of file svs_api.c.

#define vl_endianfun

Definition at line 38 of file svs_api.c.

#define vl_msg_name_crc_list

Definition at line 209 of file svs_api.c.

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

Definition at line 43 of file svs_api.c.

#define vl_printfun

Definition at line 44 of file svs_api.c.

#define vl_typedefs

Definition at line 33 of file svs_api.c.

Typedef Documentation

Function Documentation

static void setup_message_id_table ( api_main_t apim)
static

Definition at line 232 of file svs_api.c.

+ Here is the caller graph for this function:

static clib_error_t* svs_api_init ( vlib_main_t vm)
static

Definition at line 241 of file svs_api.c.

+ Here is the call graph for this function:

static clib_error_t* svs_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 215 of file svs_api.c.

+ Here is the caller graph for this function:

static walk_rc_t svs_send_details ( fib_protocol_t  fproto,
u32  table_id,
u32  sw_if_index,
void *  args 
)
static

Definition at line 169 of file svs_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_svs_dump_t_handler ( vl_api_svs_dump_t mp)
static

Definition at line 191 of file svs_api.c.

+ Here is the call graph for this function:

static void vl_api_svs_enable_disable_t_handler ( vl_api_svs_enable_disable_t mp)
static

Definition at line 137 of file svs_api.c.

+ Here is the call graph for this function:

static void vl_api_svs_plugin_get_version_t_handler ( vl_api_svs_plugin_get_version_t mp)
static

Definition at line 70 of file svs_api.c.

+ Here is the call graph for this function:

static void vl_api_svs_route_add_del_t_handler ( vl_api_svs_route_add_del_t mp)
static

Definition at line 115 of file svs_api.c.

+ Here is the call graph for this function:

static void vl_api_svs_table_add_del_t_handler ( vl_api_svs_table_add_del_t mp)
static

Definition at line 94 of file svs_api.c.

+ Here is the call graph for this function:

VLIB_PLUGIN_REGISTER ( )

+ Here is the caller graph for this function:

Variable Documentation

u32 svs_base_msg_id
static

Base message ID fot the plugin.

Definition at line 56 of file svs_api.c.