FD.io VPP  v21.10.1-2-g0a485f517
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 31 of file pnat_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 94 of file pnat_api.c.

Function Documentation

◆ pnat_init()

clib_error_t* pnat_init ( vlib_main_t vm)

Definition at line 201 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 184 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 97 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 136 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 34 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 44 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 81 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 63 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 117 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 160 of file pnat_api.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )