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

Go to the source code of this file.

Functions

void nat_dpo_create (dpo_proto_t dproto, u32 aftr_index, dpo_id_t *dpo)
 
u8format_nat_dpo (u8 *s, va_list *args)
 
static void nat_dpo_lock (dpo_id_t *dpo)
 
static void nat_dpo_unlock (dpo_id_t *dpo)
 
void nat_dpo_module_init (void)
 

Variables

dpo_type_t nat_dpo_type
 
const static dpo_vft_t nat_dpo_vft
 
const static char *const nat_ip4_nodes []
 
const static char *const nat_ip6_nodes []
 
const static char *const *const nat_nodes [DPO_PROTO_NUM]
 

Function Documentation

◆ format_nat_dpo()

u8* format_nat_dpo ( u8 s,
va_list *  args 
)

Definition at line 28 of file nat44_ei_dpo.c.

◆ nat_dpo_create()

void nat_dpo_create ( dpo_proto_t  dproto,
u32  aftr_index,
dpo_id_t dpo 
)

Definition at line 22 of file nat44_ei_dpo.c.

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

◆ nat_dpo_lock()

static void nat_dpo_lock ( dpo_id_t dpo)
static

Definition at line 37 of file nat44_ei_dpo.c.

◆ nat_dpo_module_init()

void nat_dpo_module_init ( void  )

Definition at line 68 of file nat44_ei_dpo.c.

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

◆ nat_dpo_unlock()

static void nat_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 42 of file nat44_ei_dpo.c.

Variable Documentation

◆ nat_dpo_type

dpo_type_t nat_dpo_type

Definition at line 19 of file nat44_ei_dpo.c.

◆ nat_dpo_vft

const static dpo_vft_t nat_dpo_vft
static
Initial value:
= {
.dv_lock = nat_dpo_lock,
.dv_unlock = nat_dpo_unlock,
.dv_format = format_nat_dpo,
}

Definition at line 46 of file nat44_ei_dpo.c.

◆ nat_ip4_nodes

const static char* const nat_ip4_nodes[]
static
Initial value:
= {
"nat44-ei-out2in",
NULL,
}

Definition at line 52 of file nat44_ei_dpo.c.

◆ nat_ip6_nodes

const static char* const nat_ip6_nodes[]
static
Initial value:
= {
NULL,
}

Definition at line 57 of file nat44_ei_dpo.c.

◆ nat_nodes

const static char* const * const nat_nodes[DPO_PROTO_NUM]
static
Initial value:

Definition at line 61 of file nat44_ei_dpo.c.

nat_dpo_lock
static void nat_dpo_lock(dpo_id_t *dpo)
Definition: nat44_ei_dpo.c:37
DPO_PROTO_IP6
@ DPO_PROTO_IP6
Definition: dpo.h:65
DPO_PROTO_MPLS
@ DPO_PROTO_MPLS
Definition: dpo.h:66
DPO_PROTO_IP4
@ DPO_PROTO_IP4
Definition: dpo.h:64
nat_dpo_unlock
static void nat_dpo_unlock(dpo_id_t *dpo)
Definition: nat44_ei_dpo.c:42
nat_ip4_nodes
const static char *const nat_ip4_nodes[]
Definition: nat44_ei_dpo.c:52
format_nat_dpo
u8 * format_nat_dpo(u8 *s, va_list *args)
Definition: nat44_ei_dpo.c:28
nat_ip6_nodes
const static char *const nat_ip6_nodes[]
Definition: nat44_ei_dpo.c:57