FD.io VPP  v21.06-3-gbb25fbf28
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 476 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 273 of file map_api.c.

+ 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 298 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 325 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 362 of file map_api.c.

+ Here is the caller graph for this function:

◆ map_param_set_tcp()

int map_param_set_tcp ( u16  tcp_mss)

Definition at line 412 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 387 of file map_api.c.

+ 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 551 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.

+ Here is the caller graph for this function:

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

◆ 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 529 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 349 of file map_api.c.

+ Here is the call 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 435 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 285 of file map_api.c.

+ Here is the call 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 335 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 312 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 374 of file map_api.c.

+ Here is the call 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 423 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 399 of file map_api.c.

+ Here is the call 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 164 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 205 of file map_api.c.

+ Here is the call graph for this function: