FD.io VPP  v19.08.3-2-gbabecb413
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 29 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 63 of file dslite_dpo.c.

◆ dslite_ce_dpo_unlock()

static void dslite_ce_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 68 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 23 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 53 of file dslite_dpo.c.

◆ dslite_dpo_module_init()

void dslite_dpo_module_init ( void  )

Definition at line 117 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 58 of file dslite_dpo.c.

◆ format_dslite_ce_dpo()

u8* format_dslite_ce_dpo ( u8 s,
va_list *  args 
)

Definition at line 44 of file dslite_dpo.c.

+ Here is the call graph for this function:

◆ format_dslite_dpo()

u8* format_dslite_dpo ( u8 s,
va_list *  args 
)

Definition at line 35 of file dslite_dpo.c.

+ Here is the call graph for this function:

Variable Documentation

◆ dslite_ce_dpo_type

dpo_type_t dslite_ce_dpo_type

Definition at line 20 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:63
u8 * format_dslite_ce_dpo(u8 *s, va_list *args)
Definition: dslite_dpo.c:44
static void dslite_ce_dpo_unlock(dpo_id_t *dpo)
Definition: dslite_dpo.c:68

Definition at line 78 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 94 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 99 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:94
static const char *const dslite_ce_ip6_nodes[]
Definition: dslite_dpo.c:99

Definition at line 110 of file dslite_dpo.c.

◆ dslite_dpo_type

dpo_type_t dslite_dpo_type

Definition at line 19 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:53
u8 * format_dslite_dpo(u8 *s, va_list *args)
Definition: dslite_dpo.c:35
static void dslite_dpo_unlock(dpo_id_t *dpo)
Definition: dslite_dpo.c:58

Definition at line 72 of file dslite_dpo.c.

◆ dslite_ip4_nodes

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

Definition at line 84 of file dslite_dpo.c.

◆ dslite_ip6_nodes

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

Definition at line 89 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:89
static const char *const dslite_ip4_nodes[]
Definition: dslite_dpo.c:84

Definition at line 104 of file dslite_dpo.c.