FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
pnat_api.c File Reference
+ Include dependency graph for pnat_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   pm->msg_id_base
 
#define vl_endianfun
 

Functions

static void vl_api_pnat_binding_add_t_handler (vl_api_pnat_binding_add_t *mp)
 
static void vl_api_pnat_binding_attach_t_handler (vl_api_pnat_binding_attach_t *mp)
 
static void vl_api_pnat_binding_detach_t_handler (vl_api_pnat_binding_detach_t *mp)
 
static void vl_api_pnat_binding_del_t_handler (vl_api_pnat_binding_del_t *mp)
 
static void send_bindings_details (u32 index, vl_api_registration_t *rp, u32 context)
 
static void vl_api_pnat_bindings_get_t_handler (vl_api_pnat_bindings_get_t *mp)
 
static void send_interfaces_details (u32 index, vl_api_registration_t *rp, u32 context)
 
static void vl_api_pnat_interfaces_get_t_handler (vl_api_pnat_interfaces_get_t *mp)
 
clib_error_tpnat_plugin_api_hookup (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 
clib_error_tpnat_init (vlib_main_t *vm)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   pm->msg_id_base

Definition at line 30 of file pnat_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 93 of file pnat_api.c.

Function Documentation

◆ pnat_init()

clib_error_t* pnat_init ( vlib_main_t vm)

Definition at line 200 of file pnat_api.c.

+ Here is the call graph for this function:

◆ pnat_plugin_api_hookup()

clib_error_t* pnat_plugin_api_hookup ( vlib_main_t vm)

Definition at line 183 of file pnat_api.c.

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

◆ send_bindings_details()

static void send_bindings_details ( u32  index,
vl_api_registration_t rp,
u32  context 
)
static

Definition at line 96 of file pnat_api.c.

◆ send_interfaces_details()

static void send_interfaces_details ( u32  index,
vl_api_registration_t rp,
u32  context 
)
static

Definition at line 135 of file pnat_api.c.

◆ vl_api_pnat_binding_add_t_handler()

static void vl_api_pnat_binding_add_t_handler ( vl_api_pnat_binding_add_t mp)
static

Definition at line 33 of file pnat_api.c.

+ Here is the call graph for this function:

◆ vl_api_pnat_binding_attach_t_handler()

static void vl_api_pnat_binding_attach_t_handler ( vl_api_pnat_binding_attach_t mp)
static

Definition at line 43 of file pnat_api.c.

+ Here is the call graph for this function:

◆ vl_api_pnat_binding_del_t_handler()

static void vl_api_pnat_binding_del_t_handler ( vl_api_pnat_binding_del_t mp)
static

Definition at line 80 of file pnat_api.c.

+ Here is the call graph for this function:

◆ vl_api_pnat_binding_detach_t_handler()

static void vl_api_pnat_binding_detach_t_handler ( vl_api_pnat_binding_detach_t mp)
static

Definition at line 62 of file pnat_api.c.

+ Here is the call graph for this function:

◆ vl_api_pnat_bindings_get_t_handler()

static void vl_api_pnat_bindings_get_t_handler ( vl_api_pnat_bindings_get_t mp)
static

Definition at line 116 of file pnat_api.c.

+ Here is the call graph for this function:

◆ vl_api_pnat_interfaces_get_t_handler()

static void vl_api_pnat_interfaces_get_t_handler ( vl_api_pnat_interfaces_get_t mp)
static

Definition at line 159 of file pnat_api.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )