FD.io VPP  v21.06
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
 
static const dpo_vft_t nat_dpo_vft
 
static const char *const nat_ip4_nodes []
 
static const char *const nat_ip6_nodes []
 
static const 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 dpo_vft_t nat_dpo_vft
static
Initial value:
= {
.dv_lock = nat_dpo_lock,
.dv_unlock = nat_dpo_unlock,
.dv_format = format_nat_dpo,
}
static void nat_dpo_lock(dpo_id_t *dpo)
Definition: nat44_ei_dpo.c:37
static void nat_dpo_unlock(dpo_id_t *dpo)
Definition: nat44_ei_dpo.c:42
u8 * format_nat_dpo(u8 *s, va_list *args)
Definition: nat44_ei_dpo.c:28

Definition at line 46 of file nat44_ei_dpo.c.

◆ nat_ip4_nodes

const 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 char* const nat_ip6_nodes[]
static
Initial value:
= {
NULL,
}

Definition at line 57 of file nat44_ei_dpo.c.

◆ nat_nodes

const char* const* const nat_nodes[DPO_PROTO_NUM]
static
Initial value:
= {
[DPO_PROTO_MPLS] = NULL,
}
static const char *const nat_ip6_nodes[]
Definition: nat44_ei_dpo.c:57
static const char *const nat_ip4_nodes[]
Definition: nat44_ei_dpo.c:52

Definition at line 61 of file nat44_ei_dpo.c.