FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
nat44_ei_api.c File Reference
+ Include dependency graph for nat44_ei_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   nm->msg_id_base
 

Functions

static void vl_api_nat44_ei_show_running_config_t_handler (vl_api_nat44_ei_show_running_config_t *mp)
 
static void vl_api_nat44_ei_set_workers_t_handler (vl_api_nat44_ei_set_workers_t *mp)
 
static void send_nat_worker_details (u32 worker_index, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_worker_dump_t_handler (vl_api_nat44_ei_worker_dump_t *mp)
 
static void vl_api_nat44_ei_set_log_level_t_handler (vl_api_nat44_ei_set_log_level_t *mp)
 
static void vl_api_nat44_ei_plugin_enable_disable_t_handler (vl_api_nat44_ei_plugin_enable_disable_t *mp)
 
static void vl_api_nat44_ei_ipfix_enable_disable_t_handler (vl_api_nat44_ei_ipfix_enable_disable_t *mp)
 
static void vl_api_nat44_ei_set_timeouts_t_handler (vl_api_nat44_ei_set_timeouts_t *mp)
 
static void vl_api_nat44_ei_set_addr_and_port_alloc_alg_t_handler (vl_api_nat44_ei_set_addr_and_port_alloc_alg_t *mp)
 
static void vl_api_nat44_ei_get_addr_and_port_alloc_alg_t_handler (vl_api_nat44_ei_get_addr_and_port_alloc_alg_t *mp)
 
static void vl_api_nat44_ei_set_mss_clamping_t_handler (vl_api_nat44_ei_set_mss_clamping_t *mp)
 
static void vl_api_nat44_ei_get_mss_clamping_t_handler (vl_api_nat44_ei_get_mss_clamping_t *mp)
 
static void vl_api_nat44_ei_ha_set_listener_t_handler (vl_api_nat44_ei_ha_set_listener_t *mp)
 
static void vl_api_nat44_ei_ha_get_listener_t_handler (vl_api_nat44_ei_ha_get_listener_t *mp)
 
static void vl_api_nat44_ei_ha_set_failover_t_handler (vl_api_nat44_ei_ha_set_failover_t *mp)
 
static void vl_api_nat44_ei_ha_get_failover_t_handler (vl_api_nat44_ei_ha_get_failover_t *mp)
 
static void vl_api_nat44_ei_ha_flush_t_handler (vl_api_nat44_ei_ha_flush_t *mp)
 
static void nat_ha_resync_completed_event_cb (u32 client_index, u32 pid, u32 missed_count)
 
static void vl_api_nat44_ei_ha_resync_t_handler (vl_api_nat44_ei_ha_resync_t *mp)
 
static void vl_api_nat44_ei_del_user_t_handler (vl_api_nat44_ei_del_user_t *mp)
 
static void vl_api_nat44_ei_add_del_address_range_t_handler (vl_api_nat44_ei_add_del_address_range_t *mp)
 
static void send_nat44_ei_address_details (nat44_ei_address_t *a, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_address_dump_t_handler (vl_api_nat44_ei_address_dump_t *mp)
 
static void vl_api_nat44_ei_interface_add_del_feature_t_handler (vl_api_nat44_ei_interface_add_del_feature_t *mp)
 
static void send_nat44_ei_interface_details (nat44_ei_interface_t *i, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_interface_dump_t_handler (vl_api_nat44_ei_interface_dump_t *mp)
 
static void vl_api_nat44_ei_interface_add_del_output_feature_t_handler (vl_api_nat44_ei_interface_add_del_output_feature_t *mp)
 
static void send_nat44_ei_interface_output_feature_details (nat44_ei_interface_t *i, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_interface_output_feature_dump_t_handler (vl_api_nat44_ei_interface_output_feature_dump_t *mp)
 
static void vl_api_nat44_ei_add_del_static_mapping_t_handler (vl_api_nat44_ei_add_del_static_mapping_t *mp)
 
static void send_nat44_ei_static_mapping_details (nat44_ei_static_mapping_t *m, vl_api_registration_t *reg, u32 context)
 
static void send_nat44_ei_static_map_resolve_details (nat44_ei_static_map_resolve_t *m, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_static_mapping_dump_t_handler (vl_api_nat44_ei_static_mapping_dump_t *mp)
 
static void vl_api_nat44_ei_add_del_identity_mapping_t_handler (vl_api_nat44_ei_add_del_identity_mapping_t *mp)
 
static void send_nat44_ei_identity_mapping_details (nat44_ei_static_mapping_t *m, int index, vl_api_registration_t *reg, u32 context)
 
static void send_nat44_ei_identity_map_resolve_details (nat44_ei_static_map_resolve_t *m, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_identity_mapping_dump_t_handler (vl_api_nat44_ei_identity_mapping_dump_t *mp)
 
static void vl_api_nat44_ei_add_del_interface_addr_t_handler (vl_api_nat44_ei_add_del_interface_addr_t *mp)
 
static void send_nat44_ei_interface_addr_details (u32 sw_if_index, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_interface_addr_dump_t_handler (vl_api_nat44_ei_interface_addr_dump_t *mp)
 
static void send_nat44_ei_user_details (nat44_ei_user_t *u, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_user_dump_t_handler (vl_api_nat44_ei_user_dump_t *mp)
 
static void send_nat44_ei_user_session_details (nat44_ei_session_t *s, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat44_ei_user_session_dump_t_handler (vl_api_nat44_ei_user_session_dump_t *mp)
 
static void vl_api_nat44_ei_del_session_t_handler (vl_api_nat44_ei_del_session_t *mp)
 
static void vl_api_nat44_ei_forwarding_enable_disable_t_handler (vl_api_nat44_ei_forwarding_enable_disable_t *mp)
 
static void vl_api_nat44_ei_set_fq_options_t_handler (vl_api_nat44_ei_set_fq_options_t *mp)
 
static void vl_api_nat44_ei_show_fq_options_t_handler (vl_api_nat44_ei_show_fq_options_t *mp)
 
clib_error_tnat44_ei_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   nm->msg_id_base

Definition at line 31 of file nat44_ei_api.c.

Function Documentation

◆ nat44_ei_api_hookup()

clib_error_t* nat44_ei_api_hookup ( vlib_main_t vm)

Definition at line 1188 of file nat44_ei_api.c.

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

◆ nat_ha_resync_completed_event_cb()

static void nat_ha_resync_completed_event_cb ( u32  client_index,
u32  pid,
u32  missed_count 
)
static

Definition at line 384 of file nat44_ei_api.c.

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

◆ send_nat44_ei_address_details()

static void send_nat44_ei_address_details ( nat44_ei_address_t a,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 490 of file nat44_ei_api.c.

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

◆ send_nat44_ei_identity_map_resolve_details()

static void send_nat44_ei_identity_map_resolve_details ( nat44_ei_static_map_resolve_t m,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 852 of file nat44_ei_api.c.

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

◆ send_nat44_ei_identity_mapping_details()

static void send_nat44_ei_identity_mapping_details ( nat44_ei_static_mapping_t m,
int  index,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 823 of file nat44_ei_api.c.

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

◆ send_nat44_ei_interface_addr_details()

static void send_nat44_ei_interface_addr_details ( u32  sw_if_index,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 931 of file nat44_ei_api.c.

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

◆ send_nat44_ei_interface_details()

static void send_nat44_ei_interface_details ( nat44_ei_interface_t i,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 552 of file nat44_ei_api.c.

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

◆ send_nat44_ei_interface_output_feature_details()

static void send_nat44_ei_interface_output_feature_details ( nat44_ei_interface_t i,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 610 of file nat44_ei_api.c.

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

◆ send_nat44_ei_static_map_resolve_details()

static void send_nat44_ei_static_map_resolve_details ( nat44_ei_static_map_resolve_t m,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 725 of file nat44_ei_api.c.

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

◆ send_nat44_ei_static_mapping_details()

static void send_nat44_ei_static_mapping_details ( nat44_ei_static_mapping_t m,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 689 of file nat44_ei_api.c.

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

◆ send_nat44_ei_user_details()

static void send_nat44_ei_user_details ( nat44_ei_user_t *  u,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 964 of file nat44_ei_api.c.

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

◆ send_nat44_ei_user_session_details()

static void send_nat44_ei_user_session_details ( nat44_ei_session_t *  s,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 1011 of file nat44_ei_api.c.

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

◆ send_nat_worker_details()

static void send_nat_worker_details ( u32  worker_index,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 98 of file nat44_ei_api.c.

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

◆ vl_api_nat44_ei_add_del_address_range_t_handler()

static void vl_api_nat44_ei_add_del_address_range_t_handler ( vl_api_nat44_ei_add_del_address_range_t mp)
static

Definition at line 432 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_add_del_identity_mapping_t_handler()

static void vl_api_nat44_ei_add_del_identity_mapping_t_handler ( vl_api_nat44_ei_add_del_identity_mapping_t mp)
static

Definition at line 786 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_add_del_interface_addr_t_handler()

static void vl_api_nat44_ei_add_del_interface_addr_t_handler ( vl_api_nat44_ei_add_del_interface_addr_t mp)
static

Definition at line 911 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_add_del_static_mapping_t_handler()

static void vl_api_nat44_ei_add_del_static_mapping_t_handler ( vl_api_nat44_ei_add_del_static_mapping_t mp)
static

Definition at line 649 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_address_dump_t_handler()

static void vl_api_nat44_ei_address_dump_t_handler ( vl_api_nat44_ei_address_dump_t mp)
static

Definition at line 513 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_del_session_t_handler()

static void vl_api_nat44_ei_del_session_t_handler ( vl_api_nat44_ei_del_session_t mp)
static

Definition at line 1100 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_del_user_t_handler()

static void vl_api_nat44_ei_del_user_t_handler ( vl_api_nat44_ei_del_user_t mp)
static

Definition at line 420 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_forwarding_enable_disable_t_handler()

static void vl_api_nat44_ei_forwarding_enable_disable_t_handler ( vl_api_nat44_ei_forwarding_enable_disable_t mp)
static

Definition at line 1126 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_get_addr_and_port_alloc_alg_t_handler()

static void vl_api_nat44_ei_get_addr_and_port_alloc_alg_t_handler ( vl_api_nat44_ei_get_addr_and_port_alloc_alg_t mp)
static

Definition at line 249 of file nat44_ei_api.c.

◆ vl_api_nat44_ei_get_mss_clamping_t_handler()

static void vl_api_nat44_ei_get_mss_clamping_t_handler ( vl_api_nat44_ei_get_mss_clamping_t mp)
static

Definition at line 283 of file nat44_ei_api.c.

◆ vl_api_nat44_ei_ha_flush_t_handler()

static void vl_api_nat44_ei_ha_flush_t_handler ( vl_api_nat44_ei_ha_flush_t mp)
static

Definition at line 372 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_ha_get_failover_t_handler()

static void vl_api_nat44_ei_ha_get_failover_t_handler ( vl_api_nat44_ei_ha_get_failover_t mp)
static

Definition at line 351 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_ha_get_listener_t_handler()

static void vl_api_nat44_ei_ha_get_listener_t_handler ( vl_api_nat44_ei_ha_get_listener_t mp)
static

Definition at line 314 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_ha_resync_t_handler()

static void vl_api_nat44_ei_ha_resync_t_handler ( vl_api_nat44_ei_ha_resync_t mp)
static

Definition at line 406 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_ha_set_failover_t_handler()

static void vl_api_nat44_ei_ha_set_failover_t_handler ( vl_api_nat44_ei_ha_set_failover_t mp)
static

Definition at line 334 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_ha_set_listener_t_handler()

static void vl_api_nat44_ei_ha_set_listener_t_handler ( vl_api_nat44_ei_ha_set_listener_t mp)
static

Definition at line 297 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_identity_mapping_dump_t_handler()

static void vl_api_nat44_ei_identity_mapping_dump_t_handler ( vl_api_nat44_ei_identity_mapping_dump_t mp)
static

Definition at line 878 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_interface_add_del_feature_t_handler()

static void vl_api_nat44_ei_interface_add_del_feature_t_handler ( vl_api_nat44_ei_interface_add_del_feature_t mp)
static

Definition at line 530 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_interface_add_del_output_feature_t_handler()

static void vl_api_nat44_ei_interface_add_del_output_feature_t_handler ( vl_api_nat44_ei_interface_add_del_output_feature_t mp)
static

Definition at line 592 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_interface_addr_dump_t_handler()

static void vl_api_nat44_ei_interface_addr_dump_t_handler ( vl_api_nat44_ei_interface_addr_dump_t mp)
static

Definition at line 948 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_interface_dump_t_handler()

static void vl_api_nat44_ei_interface_dump_t_handler ( vl_api_nat44_ei_interface_dump_t mp)
static

Definition at line 575 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_interface_output_feature_dump_t_handler()

static void vl_api_nat44_ei_interface_output_feature_dump_t_handler ( vl_api_nat44_ei_interface_output_feature_dump_t mp)
static

Definition at line 631 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_ipfix_enable_disable_t_handler()

static void vl_api_nat44_ei_ipfix_enable_disable_t_handler ( vl_api_nat44_ei_ipfix_enable_disable_t mp)
static

Definition at line 182 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_plugin_enable_disable_t_handler()

static void vl_api_nat44_ei_plugin_enable_disable_t_handler ( vl_api_nat44_ei_plugin_enable_disable_t mp)
static

Definition at line 150 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_set_addr_and_port_alloc_alg_t_handler()

static void vl_api_nat44_ei_set_addr_and_port_alloc_alg_t_handler ( vl_api_nat44_ei_set_addr_and_port_alloc_alg_t mp)
static

Definition at line 212 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_set_fq_options_t_handler()

static void vl_api_nat44_ei_set_fq_options_t_handler ( vl_api_nat44_ei_set_fq_options_t mp)
static

Definition at line 1157 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_set_log_level_t_handler()

static void vl_api_nat44_ei_set_log_level_t_handler ( vl_api_nat44_ei_set_log_level_t mp)
static

Definition at line 135 of file nat44_ei_api.c.

◆ vl_api_nat44_ei_set_mss_clamping_t_handler()

static void vl_api_nat44_ei_set_mss_clamping_t_handler ( vl_api_nat44_ei_set_mss_clamping_t mp)
static

Definition at line 267 of file nat44_ei_api.c.

◆ vl_api_nat44_ei_set_timeouts_t_handler()

static void vl_api_nat44_ei_set_timeouts_t_handler ( vl_api_nat44_ei_set_timeouts_t mp)
static

Definition at line 197 of file nat44_ei_api.c.

◆ vl_api_nat44_ei_set_workers_t_handler()

static void vl_api_nat44_ei_set_workers_t_handler ( vl_api_nat44_ei_set_workers_t mp)
static

Definition at line 73 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_show_fq_options_t_handler()

static void vl_api_nat44_ei_show_fq_options_t_handler ( vl_api_nat44_ei_show_fq_options_t mp)
static

Definition at line 1168 of file nat44_ei_api.c.

◆ vl_api_nat44_ei_show_running_config_t_handler()

static void vl_api_nat44_ei_show_running_config_t_handler ( vl_api_nat44_ei_show_running_config_t mp)
static

Definition at line 35 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_static_mapping_dump_t_handler()

static void vl_api_nat44_ei_static_mapping_dump_t_handler ( vl_api_nat44_ei_static_mapping_dump_t mp)
static

Definition at line 758 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_user_dump_t_handler()

static void vl_api_nat44_ei_user_dump_t_handler ( vl_api_nat44_ei_user_dump_t mp)
static

Definition at line 990 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_user_session_dump_t_handler()

static void vl_api_nat44_ei_user_session_dump_t_handler ( vl_api_nat44_ei_user_session_dump_t mp)
static

Definition at line 1047 of file nat44_ei_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat44_ei_worker_dump_t_handler()

static void vl_api_nat44_ei_worker_dump_t_handler ( vl_api_nat44_ei_worker_dump_t mp)
static

Definition at line 118 of file nat44_ei_api.c.

+ Here is the call graph for this function: