FD.io VPP  v21.01.1
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
 
static const dpo_vft_t dslite_dpo_vft
 
static const dpo_vft_t dslite_ce_dpo_vft
 
static const char *const dslite_ip4_nodes []
 
static const char *const dslite_ip6_nodes []
 
static const char *const dslite_ce_ip4_nodes []
 
static const char *const dslite_ce_ip6_nodes []
 
static const char *const *const dslite_nodes [DPO_PROTO_NUM]
 
static const 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 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,
}
static void dslite_ce_dpo_lock(dpo_id_t *dpo)
Definition: dslite_dpo.c:62
u8 * format_dslite_ce_dpo(u8 *s, va_list *args)
Definition: dslite_dpo.c:43
static void dslite_ce_dpo_unlock(dpo_id_t *dpo)
Definition: dslite_dpo.c:67

Definition at line 77 of file dslite_dpo.c.

◆ dslite_ce_ip4_nodes

const 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 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 char* const* const dslite_ce_nodes[DPO_PROTO_NUM]
static
Initial value:
= {
[DPO_PROTO_MPLS] = NULL,
}
static const char *const dslite_ce_ip4_nodes[]
Definition: dslite_dpo.c:93
static const char *const dslite_ce_ip6_nodes[]
Definition: dslite_dpo.c:98

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 dpo_vft_t dslite_dpo_vft
static
Initial value:
= {
.dv_lock = dslite_dpo_lock,
.dv_unlock = dslite_dpo_unlock,
.dv_format = format_dslite_dpo,
}
static void dslite_dpo_lock(dpo_id_t *dpo)
Definition: dslite_dpo.c:52
u8 * format_dslite_dpo(u8 *s, va_list *args)
Definition: dslite_dpo.c:34
static void dslite_dpo_unlock(dpo_id_t *dpo)
Definition: dslite_dpo.c:57

Definition at line 71 of file dslite_dpo.c.

◆ dslite_ip4_nodes

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

Definition at line 83 of file dslite_dpo.c.

◆ dslite_ip6_nodes

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

Definition at line 88 of file dslite_dpo.c.

◆ dslite_nodes

const char* const* const dslite_nodes[DPO_PROTO_NUM]
static
Initial value:
= {
[DPO_PROTO_MPLS] = NULL,
}
static const char *const dslite_ip6_nodes[]
Definition: dslite_dpo.c:88
static const char *const dslite_ip4_nodes[]
Definition: dslite_dpo.c:83

Definition at line 103 of file dslite_dpo.c.