FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
det44_api.c File Reference

Deterministic NAT (CGN) plugin API implementation. More...

+ Include dependency graph for det44_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   dm->msg_id_base
 

Functions

static void vl_api_det44_add_del_map_t_handler (vl_api_det44_add_del_map_t *mp)
 
static void vl_api_det44_forward_t_handler (vl_api_det44_forward_t *mp)
 
static void vl_api_det44_reverse_t_handler (vl_api_det44_reverse_t *mp)
 
static void sent_det44_map_details (snat_det_map_t *m, vl_api_registration_t *reg, u32 context)
 
static void vl_api_det44_map_dump_t_handler (vl_api_det44_map_dump_t *mp)
 
static void vl_api_det44_close_session_out_t_handler (vl_api_det44_close_session_out_t *mp)
 
static void vl_api_det44_close_session_in_t_handler (vl_api_det44_close_session_in_t *mp)
 
static void send_det44_session_details (snat_det_session_t *s, vl_api_registration_t *reg, u32 context)
 
static void vl_api_det44_session_dump_t_handler (vl_api_det44_session_dump_t *mp)
 
static void vl_api_det44_plugin_enable_disable_t_handler (vl_api_det44_plugin_enable_disable_t *mp)
 
static void vl_api_det44_interface_add_del_feature_t_handler (vl_api_det44_interface_add_del_feature_t *mp)
 
static void det44_send_interface_details (det44_interface_t *i, vl_api_registration_t *reg, u32 context)
 
static void vl_api_det44_interface_dump_t_handler (vl_api_det44_interface_dump_t *mp)
 
static void vl_api_det44_set_timeouts_t_handler (vl_api_det44_set_timeouts_t *mp)
 
static void vl_api_det44_get_timeouts_t_handler (vl_api_det44_get_timeouts_t *mp)
 
static void vl_api_nat_det_add_del_map_t_handler (vl_api_nat_det_add_del_map_t *mp)
 
static void vl_api_nat_det_forward_t_handler (vl_api_nat_det_forward_t *mp)
 
static void vl_api_nat_det_reverse_t_handler (vl_api_nat_det_reverse_t *mp)
 
static void sent_nat_det_map_details (snat_det_map_t *m, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat_det_map_dump_t_handler (vl_api_nat_det_map_dump_t *mp)
 
static void vl_api_nat_det_close_session_out_t_handler (vl_api_nat_det_close_session_out_t *mp)
 
static void vl_api_nat_det_close_session_in_t_handler (vl_api_nat_det_close_session_in_t *mp)
 
static void send_nat_det_session_details (snat_det_session_t *s, vl_api_registration_t *reg, u32 context)
 
static void vl_api_nat_det_session_dump_t_handler (vl_api_nat_det_session_dump_t *mp)
 
clib_error_tdet44_api_hookup (vlib_main_t *vm)
 

Detailed Description

Deterministic NAT (CGN) plugin API implementation.

Definition in file det44_api.c.

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   dm->msg_id_base

Definition at line 30 of file det44_api.c.

Function Documentation

◆ det44_api_hookup()

clib_error_t* det44_api_hookup ( vlib_main_t vm)

Definition at line 620 of file det44_api.c.

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

◆ det44_send_interface_details()

static void det44_send_interface_details ( det44_interface_t i,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 304 of file det44_api.c.

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

◆ send_det44_session_details()

static void send_det44_session_details ( snat_det_session_t s,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 220 of file det44_api.c.

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

◆ send_nat_det_session_details()

static void send_nat_det_session_details ( snat_det_session_t s,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 566 of file det44_api.c.

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

◆ sent_det44_map_details()

static void sent_det44_map_details ( snat_det_map_t m,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 110 of file det44_api.c.

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

◆ sent_nat_det_map_details()

static void sent_nat_det_map_details ( snat_det_map_t m,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 455 of file det44_api.c.

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

◆ vl_api_det44_add_del_map_t_handler()

static void vl_api_det44_add_del_map_t_handler ( vl_api_det44_add_del_map_t mp)
static

Definition at line 34 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_close_session_in_t_handler()

static void vl_api_det44_close_session_in_t_handler ( vl_api_det44_close_session_in_t mp)
static

Definition at line 186 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_close_session_out_t_handler()

static void vl_api_det44_close_session_out_t_handler ( vl_api_det44_close_session_out_t mp)
static

Definition at line 149 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_forward_t_handler()

static void vl_api_det44_forward_t_handler ( vl_api_det44_forward_t mp)
static

Definition at line 48 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_get_timeouts_t_handler()

static void vl_api_det44_get_timeouts_t_handler ( vl_api_det44_get_timeouts_t mp)
static

Definition at line 355 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_interface_add_del_feature_t_handler()

static void vl_api_det44_interface_add_del_feature_t_handler ( vl_api_det44_interface_add_del_feature_t mp)
static

Definition at line 291 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_interface_dump_t_handler()

static void vl_api_det44_interface_dump_t_handler ( vl_api_det44_interface_dump_t mp)
static

Definition at line 321 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_map_dump_t_handler()

static void vl_api_det44_map_dump_t_handler ( vl_api_det44_map_dump_t mp)
static

Definition at line 132 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_plugin_enable_disable_t_handler()

static void vl_api_det44_plugin_enable_disable_t_handler ( vl_api_det44_plugin_enable_disable_t mp)
static

Definition at line 270 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_reverse_t_handler()

static void vl_api_det44_reverse_t_handler ( vl_api_det44_reverse_t mp)
static

Definition at line 81 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_session_dump_t_handler()

static void vl_api_det44_session_dump_t_handler ( vl_api_det44_session_dump_t mp)
static

Definition at line 241 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_det44_set_timeouts_t_handler()

static void vl_api_det44_set_timeouts_t_handler ( vl_api_det44_set_timeouts_t mp)
static

Definition at line 340 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_add_del_map_t_handler()

static void vl_api_nat_det_add_del_map_t_handler ( vl_api_nat_det_add_del_map_t mp)
static

Definition at line 378 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_close_session_in_t_handler()

static void vl_api_nat_det_close_session_in_t_handler ( vl_api_nat_det_close_session_in_t mp)
static

Definition at line 531 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_close_session_out_t_handler()

static void vl_api_nat_det_close_session_out_t_handler ( vl_api_nat_det_close_session_out_t mp)
static

Definition at line 494 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_forward_t_handler()

static void vl_api_nat_det_forward_t_handler ( vl_api_nat_det_forward_t mp)
static

Definition at line 393 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_map_dump_t_handler()

static void vl_api_nat_det_map_dump_t_handler ( vl_api_nat_det_map_dump_t mp)
static

Definition at line 477 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_reverse_t_handler()

static void vl_api_nat_det_reverse_t_handler ( vl_api_nat_det_reverse_t mp)
static

Definition at line 426 of file det44_api.c.

+ Here is the call graph for this function:

◆ vl_api_nat_det_session_dump_t_handler()

static void vl_api_nat_det_session_dump_t_handler ( vl_api_nat_det_session_dump_t mp)
static

Definition at line 587 of file det44_api.c.

+ Here is the call graph for this function: