FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
sixrd_dpo.c File Reference
+ Include dependency graph for sixrd_dpo.c:

Go to the source code of this file.

Functions

static sixrd_dpo_tsixrd_dpo_alloc (void)
 
static index_t sixrd_dpo_get_index (sixrd_dpo_t *sd)
 
void sixrd_dpo_create (dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
 
u8format_sixrd_dpo (u8 *s, va_list *args)
 
static void sixrd_dpo_lock (dpo_id_t *dpo)
 
static void sixrd_dpo_unlock (dpo_id_t *dpo)
 
void sixrd_dpo_module_init (void)
 

Variables

sixrd_dpo_tsixrd_dpo_pool
 pool of all MPLS Label DPOs More...
 
dpo_type_t sixrd_dpo_type
 The register SIXRD DPO type. More...
 
static const dpo_vft_t sd_vft
 
static const char *const sixrd_ip4_nodes []
 
static const char *const sixrd_ip6_nodes []
 
static const char *const *const sixrd_nodes [DPO_PROTO_NUM]
 

Function Documentation

u8* format_sixrd_dpo ( u8 s,
va_list *  args 
)

Definition at line 64 of file sixrd_dpo.c.

+ Here is the call graph for this function:

static sixrd_dpo_t* sixrd_dpo_alloc ( void  )
static

Definition at line 30 of file sixrd_dpo.c.

+ Here is the caller graph for this function:

void sixrd_dpo_create ( dpo_proto_t  dproto,
u32  domain_index,
dpo_id_t dpo 
)

Definition at line 47 of file sixrd_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static index_t sixrd_dpo_get_index ( sixrd_dpo_t sd)
static

Definition at line 41 of file sixrd_dpo.c.

+ Here is the caller graph for this function:

static void sixrd_dpo_lock ( dpo_id_t dpo)
static

Definition at line 80 of file sixrd_dpo.c.

+ Here is the call graph for this function:

void sixrd_dpo_module_init ( void  )

Definition at line 129 of file sixrd_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void sixrd_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 90 of file sixrd_dpo.c.

+ Here is the call graph for this function:

Variable Documentation

const dpo_vft_t sd_vft
static
Initial value:
= {
.dv_lock = sixrd_dpo_lock,
.dv_unlock = sixrd_dpo_unlock,
.dv_format = format_sixrd_dpo,
}
static void sixrd_dpo_lock(dpo_id_t *dpo)
Definition: sixrd_dpo.c:80
static void sixrd_dpo_unlock(dpo_id_t *dpo)
Definition: sixrd_dpo.c:90
u8 * format_sixrd_dpo(u8 *s, va_list *args)
Definition: sixrd_dpo.c:64

Definition at line 104 of file sixrd_dpo.c.

sixrd_dpo_t* sixrd_dpo_pool

pool of all MPLS Label DPOs

Definition at line 22 of file sixrd_dpo.c.

dpo_type_t sixrd_dpo_type

The register SIXRD DPO type.

Definition at line 27 of file sixrd_dpo.c.

const char* const sixrd_ip4_nodes[]
static
Initial value:
=
{
"ip4-sixrd",
}
#define NULL
Definition: clib.h:55

Definition at line 110 of file sixrd_dpo.c.

const char* const sixrd_ip6_nodes[]
static
Initial value:
=
{
"ip6-sixrd",
}
#define NULL
Definition: clib.h:55

Definition at line 115 of file sixrd_dpo.c.

const char* const* const sixrd_nodes[DPO_PROTO_NUM]
static
Initial value:
=
{
}
#define NULL
Definition: clib.h:55
static const char *const sixrd_ip6_nodes[]
Definition: sixrd_dpo.c:115
static const char *const sixrd_ip4_nodes[]
Definition: sixrd_dpo.c:110

Definition at line 121 of file sixrd_dpo.c.