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

Go to the source code of this file.

Functions

void dslite_dpo_create (dpo_proto_t dproto, u32 aftr_index, dpo_id_t *dpo)
 
void dslite_ce_dpo_create (dpo_proto_t dproto, u32 b4_index, dpo_id_t *dpo)
 
u8format_dslite_dpo (u8 *s, va_list *args)
 
u8format_dslite_ce_dpo (u8 *s, va_list *args)
 
static void dslite_dpo_lock (dpo_id_t *dpo)
 
static void dslite_dpo_unlock (dpo_id_t *dpo)
 
static void dslite_ce_dpo_lock (dpo_id_t *dpo)
 
static void dslite_ce_dpo_unlock (dpo_id_t *dpo)
 
void dslite_dpo_module_init (void)
 

Variables

dpo_type_t dslite_dpo_type
 
dpo_type_t dslite_ce_dpo_type
 
const static dpo_vft_t dslite_dpo_vft
 
const static dpo_vft_t dslite_ce_dpo_vft
 
const static char *const dslite_ip4_nodes []
 
const static char *const dslite_ip6_nodes []
 
const static char *const dslite_ce_ip4_nodes []
 
const static char *const dslite_ce_ip6_nodes []
 
const static char *const *const dslite_nodes [DPO_PROTO_NUM]
 
const static char *const *const dslite_ce_nodes [DPO_PROTO_NUM]
 

Function Documentation

◆ dslite_ce_dpo_create()

void dslite_ce_dpo_create ( dpo_proto_t  dproto,
u32  b4_index,
dpo_id_t dpo 
)

Definition at line 28 of file dslite_dpo.c.

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

◆ dslite_ce_dpo_lock()

static void dslite_ce_dpo_lock ( dpo_id_t dpo)
static

Definition at line 62 of file dslite_dpo.c.

◆ dslite_ce_dpo_unlock()

static void dslite_ce_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 67 of file dslite_dpo.c.

◆ dslite_dpo_create()

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

Definition at line 22 of file dslite_dpo.c.

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

◆ dslite_dpo_lock()

static void dslite_dpo_lock ( dpo_id_t dpo)
static

Definition at line 52 of file dslite_dpo.c.

◆ dslite_dpo_module_init()

void dslite_dpo_module_init ( void  )

Definition at line 116 of file dslite_dpo.c.

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

◆ dslite_dpo_unlock()

static void dslite_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 57 of file dslite_dpo.c.

◆ format_dslite_ce_dpo()

u8* format_dslite_ce_dpo ( u8 s,
va_list *  args 
)

Definition at line 43 of file dslite_dpo.c.

◆ format_dslite_dpo()

u8* format_dslite_dpo ( u8 s,
va_list *  args 
)

Definition at line 34 of file dslite_dpo.c.

Variable Documentation

◆ dslite_ce_dpo_type

dpo_type_t dslite_ce_dpo_type

Definition at line 19 of file dslite_dpo.c.

◆ dslite_ce_dpo_vft

const static dpo_vft_t dslite_ce_dpo_vft
static
Initial value:
= {
.dv_lock = dslite_ce_dpo_lock,
.dv_unlock = dslite_ce_dpo_unlock,
.dv_format = format_dslite_ce_dpo,
}

Definition at line 77 of file dslite_dpo.c.

◆ dslite_ce_ip4_nodes

const static char* const dslite_ce_ip4_nodes[]
static
Initial value:
= {
"dslite-ce-encap",
NULL,
}

Definition at line 93 of file dslite_dpo.c.

◆ dslite_ce_ip6_nodes

const static char* const dslite_ce_ip6_nodes[]
static
Initial value:
= {
"dslite-ce-decap",
NULL,
}

Definition at line 98 of file dslite_dpo.c.

◆ dslite_ce_nodes

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

Definition at line 109 of file dslite_dpo.c.

◆ dslite_dpo_type

dpo_type_t dslite_dpo_type

Definition at line 18 of file dslite_dpo.c.

◆ dslite_dpo_vft

const static dpo_vft_t dslite_dpo_vft
static
Initial value:
= {
.dv_lock = dslite_dpo_lock,
.dv_unlock = dslite_dpo_unlock,
.dv_format = format_dslite_dpo,
}

Definition at line 71 of file dslite_dpo.c.

◆ dslite_ip4_nodes

const static char* const dslite_ip4_nodes[]
static
Initial value:
= {
"dslite-out2in",
NULL,
}

Definition at line 83 of file dslite_dpo.c.

◆ dslite_ip6_nodes

const static char* const dslite_ip6_nodes[]
static
Initial value:
= {
"dslite-in2out",
NULL,
}

Definition at line 88 of file dslite_dpo.c.

◆ dslite_nodes

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

Definition at line 103 of file dslite_dpo.c.

dslite_ce_dpo_unlock
static void dslite_ce_dpo_unlock(dpo_id_t *dpo)
Definition: dslite_dpo.c:67
dslite_ce_ip6_nodes
const static char *const dslite_ce_ip6_nodes[]
Definition: dslite_dpo.c:98
dslite_ce_ip4_nodes
const static char *const dslite_ce_ip4_nodes[]
Definition: dslite_dpo.c:93
dslite_ip4_nodes
const static char *const dslite_ip4_nodes[]
Definition: dslite_dpo.c:83
dslite_ip6_nodes
const static char *const dslite_ip6_nodes[]
Definition: dslite_dpo.c:88
format_dslite_ce_dpo
u8 * format_dslite_ce_dpo(u8 *s, va_list *args)
Definition: dslite_dpo.c:43
DPO_PROTO_IP6
@ DPO_PROTO_IP6
Definition: dpo.h:65
DPO_PROTO_MPLS
@ DPO_PROTO_MPLS
Definition: dpo.h:66
format_dslite_dpo
u8 * format_dslite_dpo(u8 *s, va_list *args)
Definition: dslite_dpo.c:34
dslite_ce_dpo_lock
static void dslite_ce_dpo_lock(dpo_id_t *dpo)
Definition: dslite_dpo.c:62
DPO_PROTO_IP4
@ DPO_PROTO_IP4
Definition: dpo.h:64
dslite_dpo_lock
static void dslite_dpo_lock(dpo_id_t *dpo)
Definition: dslite_dpo.c:52
dslite_dpo_unlock
static void dslite_dpo_unlock(dpo_id_t *dpo)
Definition: dslite_dpo.c:57