FD.io VPP  v20.09-64-g4f7b92f0a
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 REPLY_MSG_ID_BASE   mm->msg_id_base
 

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 send_domain_details (u32 map_domain_index, vl_api_registration_t *rp, u32 context)
 
static void vl_api_map_domain_dump_t_handler (vl_api_map_domain_dump_t *mp)
 
static void vl_api_map_domains_get_t_handler (vl_api_map_domains_get_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)
 
int map_param_set_fragmentation (bool inner, bool ignore_df)
 
static void vl_api_map_param_set_fragmentation_t_handler (vl_api_map_param_set_fragmentation_t *mp)
 
int map_param_set_icmp (ip4_address_t *icmp_src_address)
 
static void vl_api_map_param_set_icmp_t_handler (vl_api_map_param_set_icmp_t *mp)
 
int map_param_set_icmp6 (u8 enable_unreachable)
 
static void vl_api_map_param_set_icmp6_t_handler (vl_api_map_param_set_icmp6_t *mp)
 
static void vl_api_map_param_add_del_pre_resolve_t_handler (vl_api_map_param_add_del_pre_resolve_t *mp)
 
int map_param_set_security_check (bool enable, bool fragments)
 
static void vl_api_map_param_set_security_check_t_handler (vl_api_map_param_set_security_check_t *mp)
 
int map_param_set_traffic_class (bool copy, u8 tc)
 
static void vl_api_map_param_set_traffic_class_t_handler (vl_api_map_param_set_traffic_class_t *mp)
 
int map_param_set_tcp (u16 tcp_mss)
 
static void vl_api_map_param_set_tcp_t_handler (vl_api_map_param_set_tcp_t *mp)
 
static void vl_api_map_param_get_t_handler (vl_api_map_param_get_t *mp)
 
int map_if_enable_disable (bool is_enable, u32 sw_if_index, bool is_translation)
 
static void vl_api_map_if_enable_disable_t_handler (vl_api_map_if_enable_disable_t *mp)
 
clib_error_tmap_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   mm->msg_id_base

Definition at line 31 of file map_api.c.

Function Documentation

◆ map_if_enable_disable()

int map_if_enable_disable ( bool  is_enable,
u32  sw_if_index,
bool  is_translation 
)

Definition at line 479 of file map_api.c.

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

◆ map_param_set_fragmentation()

int map_param_set_fragmentation ( bool  inner,
bool  ignore_df 
)

Definition at line 276 of file map_api.c.

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

◆ map_param_set_icmp()

int map_param_set_icmp ( ip4_address_t icmp_src_address)

Definition at line 301 of file map_api.c.

+ Here is the caller graph for this function:

◆ map_param_set_icmp6()

int map_param_set_icmp6 ( u8  enable_unreachable)

Definition at line 328 of file map_api.c.

+ Here is the caller graph for this function:

◆ map_param_set_security_check()

int map_param_set_security_check ( bool  enable,
bool  fragments 
)

Definition at line 365 of file map_api.c.

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

◆ map_param_set_tcp()

int map_param_set_tcp ( u16  tcp_mss)

Definition at line 415 of file map_api.c.

+ Here is the caller graph for this function:

◆ map_param_set_traffic_class()

int map_param_set_traffic_class ( bool  copy,
u8  tc 
)

Definition at line 390 of file map_api.c.

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

◆ map_plugin_api_hookup()

clib_error_t* map_plugin_api_hookup ( vlib_main_t vm)

Definition at line 554 of file map_api.c.

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

◆ send_domain_details()

static void send_domain_details ( u32  map_domain_index,
vl_api_registration_t rp,
u32  context 
)
static

Definition at line 89 of file map_api.c.

◆ vl_api_map_add_del_rule_t_handler()

static void vl_api_map_add_del_rule_t_handler ( vl_api_map_add_del_rule_t mp)
static

Definition at line 75 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_add_domain_t_handler()

static void vl_api_map_add_domain_t_handler ( vl_api_map_add_domain_t mp)
static

Definition at line 35 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_del_domain_t_handler()

static void vl_api_map_del_domain_t_handler ( vl_api_map_del_domain_t mp)
static

Definition at line 63 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_domain_dump_t_handler()

static void vl_api_map_domain_dump_t_handler ( vl_api_map_domain_dump_t mp)
static

Definition at line 126 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_domains_get_t_handler()

static void vl_api_map_domains_get_t_handler ( vl_api_map_domains_get_t mp)
static

Definition at line 148 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_if_enable_disable_t_handler()

static void vl_api_map_if_enable_disable_t_handler ( vl_api_map_if_enable_disable_t mp)
static

Definition at line 532 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_param_add_del_pre_resolve_t_handler()

static void vl_api_map_param_add_del_pre_resolve_t_handler ( vl_api_map_param_add_del_pre_resolve_t mp)
static

Definition at line 352 of file map_api.c.

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

◆ vl_api_map_param_get_t_handler()

static void vl_api_map_param_get_t_handler ( vl_api_map_param_get_t mp)
static

Definition at line 438 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_param_set_fragmentation_t_handler()

static void vl_api_map_param_set_fragmentation_t_handler ( vl_api_map_param_set_fragmentation_t mp)
static

Definition at line 288 of file map_api.c.

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

◆ vl_api_map_param_set_icmp6_t_handler()

static void vl_api_map_param_set_icmp6_t_handler ( vl_api_map_param_set_icmp6_t mp)
static

Definition at line 338 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_param_set_icmp_t_handler()

static void vl_api_map_param_set_icmp_t_handler ( vl_api_map_param_set_icmp_t mp)
static

Definition at line 315 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_param_set_security_check_t_handler()

static void vl_api_map_param_set_security_check_t_handler ( vl_api_map_param_set_security_check_t mp)
static

Definition at line 377 of file map_api.c.

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

◆ vl_api_map_param_set_tcp_t_handler()

static void vl_api_map_param_set_tcp_t_handler ( vl_api_map_param_set_tcp_t mp)
static

Definition at line 426 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_param_set_traffic_class_t_handler()

static void vl_api_map_param_set_traffic_class_t_handler ( vl_api_map_param_set_traffic_class_t mp)
static

Definition at line 402 of file map_api.c.

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

◆ vl_api_map_rule_dump_t_handler()

static void vl_api_map_rule_dump_t_handler ( vl_api_map_rule_dump_t mp)
static

Definition at line 167 of file map_api.c.

+ Here is the call graph for this function:

◆ vl_api_map_summary_stats_t_handler()

static void vl_api_map_summary_stats_t_handler ( vl_api_map_summary_stats_t mp)
static

Definition at line 208 of file map_api.c.

+ Here is the call graph for this function: