FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
map_api.c File Reference
+ Include dependency graph for map_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#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 REPLY_MSG_ID_BASE   mm->msg_id_base
 
#define foreach_map_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_map_add_domain_t_handler (vl_api_map_add_domain_t *mp)
 
static void vl_api_map_del_domain_t_handler (vl_api_map_del_domain_t *mp)
 
static void vl_api_map_add_del_rule_t_handler (vl_api_map_add_del_rule_t *mp)
 
static void vl_api_map_domain_dump_t_handler (vl_api_map_domain_dump_t *mp)
 
static void vl_api_map_rule_dump_t_handler (vl_api_map_rule_dump_t *mp)
 
static void vl_api_map_summary_stats_t_handler (vl_api_map_summary_stats_t *mp)
 
static void setup_message_id_table (map_main_t *mm, api_main_t *am)
 
clib_error_tmap_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

#define foreach_map_plugin_api_msg
Value:
_(MAP_ADD_DOMAIN, map_add_domain) \
_(MAP_DEL_DOMAIN, map_del_domain) \
_(MAP_ADD_DEL_RULE, map_add_del_rule) \
_(MAP_DOMAIN_DUMP, map_domain_dump) \
_(MAP_RULE_DUMP, map_rule_dump) \
_(MAP_SUMMARY_STATS, map_summary_stats)

Definition at line 254 of file map_api.c.

#define REPLY_MSG_ID_BASE   mm->msg_id_base

Definition at line 45 of file map_api.c.

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

Definition at line 41 of file map_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 30 of file map_api.c.

#define vl_msg_name_crc_list

Definition at line 262 of file map_api.c.

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

Definition at line 35 of file map_api.c.

#define vl_printfun

Definition at line 36 of file map_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 26 of file map_api.c.

Function Documentation

clib_error_t* map_plugin_api_hookup ( vlib_main_t vm)

Definition at line 277 of file map_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void setup_message_id_table ( map_main_t mm,
api_main_t am 
)
static

Definition at line 267 of file map_api.c.

+ Here is the caller graph for this function:

static void vl_api_map_add_del_rule_t_handler ( vl_api_map_add_del_rule_t mp)
static

Definition at line 92 of file map_api.c.

+ Here is the call graph for this function:

static void vl_api_map_add_domain_t_handler ( vl_api_map_add_domain_t mp)
static

Definition at line 49 of file map_api.c.

+ Here is the call graph for this function:

static void vl_api_map_del_domain_t_handler ( vl_api_map_del_domain_t mp)
static

Definition at line 80 of file map_api.c.

+ Here is the call graph for this function:

static void vl_api_map_domain_dump_t_handler ( vl_api_map_domain_dump_t mp)
static

Definition at line 106 of file map_api.c.

+ Here is the call graph for this function:

static void vl_api_map_rule_dump_t_handler ( vl_api_map_rule_dump_t mp)
static

Definition at line 147 of file map_api.c.

+ Here is the call graph for this function:

static void vl_api_map_summary_stats_t_handler ( vl_api_map_summary_stats_t mp)
static

Definition at line 188 of file map_api.c.

+ Here is the call graph for this function: