FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
map_dpo.c File Reference
+ Include dependency graph for map_dpo.c:

Go to the source code of this file.

Functions

static map_dpo_tmap_dpo_alloc (void)
 
static index_t map_dpo_get_index (map_dpo_t *md)
 
void map_dpo_create (dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
 
void map_t_dpo_create (dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
 
u8format_map_dpo (u8 *s, va_list *args)
 
u8format_map_t_dpo (u8 *s, va_list *args)
 
static void map_dpo_lock (dpo_id_t *dpo)
 
static void map_dpo_unlock (dpo_id_t *dpo)
 
void map_dpo_module_init (void)
 

Variables

map_dpo_tmap_dpo_pool
 pool of all MPLS Label DPOs More...
 
dpo_type_t map_dpo_type
 The register MAP DPO type. More...
 
dpo_type_t map_t_dpo_type
 
static const dpo_vft_t md_vft
 
static const char *const map_ip4_nodes []
 
static const char *const map_ip6_nodes []
 
static const char *const *const map_nodes [DPO_PROTO_NUM]
 
static const dpo_vft_t md_t_vft
 
static const char *const map_t_ip4_nodes []
 
static const char *const map_t_ip6_nodes []
 
static const char *const *const map_t_nodes [DPO_PROTO_NUM]
 

Function Documentation

u8* format_map_dpo ( u8 s,
va_list *  args 
)

Definition at line 83 of file map_dpo.c.

+ Here is the call graph for this function:

u8* format_map_t_dpo ( u8 s,
va_list *  args 
)

Definition at line 98 of file map_dpo.c.

+ Here is the call graph for this function:

static map_dpo_t* map_dpo_alloc ( void  )
static

Definition at line 31 of file map_dpo.c.

+ Here is the caller graph for this function:

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

Definition at line 48 of file map_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static index_t map_dpo_get_index ( map_dpo_t md)
static

Definition at line 42 of file map_dpo.c.

+ Here is the caller graph for this function:

static void map_dpo_lock ( dpo_id_t dpo)
static

Definition at line 114 of file map_dpo.c.

+ Here is the call graph for this function:

void map_dpo_module_init ( void  )

Definition at line 187 of file map_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void map_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 124 of file map_dpo.c.

+ Here is the call graph for this function:

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

Definition at line 65 of file map_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

map_dpo_t* map_dpo_pool

pool of all MPLS Label DPOs

Definition at line 22 of file map_dpo.c.

dpo_type_t map_dpo_type

The register MAP DPO type.

Definition at line 27 of file map_dpo.c.

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

Definition at line 144 of file map_dpo.c.

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

Definition at line 149 of file map_dpo.c.

const char* const* const map_nodes[DPO_PROTO_NUM]
static
Initial value:
=
{
}
#define NULL
Definition: clib.h:55
static const char *const map_ip4_nodes[]
Definition: map_dpo.c:144
static const char *const map_ip6_nodes[]
Definition: map_dpo.c:149

Definition at line 155 of file map_dpo.c.

dpo_type_t map_t_dpo_type

Definition at line 28 of file map_dpo.c.

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

Definition at line 168 of file map_dpo.c.

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

Definition at line 173 of file map_dpo.c.

const char* const* const map_t_nodes[DPO_PROTO_NUM]
static
Initial value:
=
{
}
static const char *const map_t_ip6_nodes[]
Definition: map_dpo.c:173
#define NULL
Definition: clib.h:55
static const char *const map_t_ip4_nodes[]
Definition: map_dpo.c:168

Definition at line 179 of file map_dpo.c.

const dpo_vft_t md_t_vft
static
Initial value:
= {
.dv_lock = map_dpo_lock,
.dv_unlock = map_dpo_unlock,
.dv_format = format_map_t_dpo,
}
u8 * format_map_t_dpo(u8 *s, va_list *args)
Definition: map_dpo.c:98
static void map_dpo_lock(dpo_id_t *dpo)
Definition: map_dpo.c:114
static void map_dpo_unlock(dpo_id_t *dpo)
Definition: map_dpo.c:124

Definition at line 162 of file map_dpo.c.

const dpo_vft_t md_vft
static
Initial value:
= {
.dv_lock = map_dpo_lock,
.dv_unlock = map_dpo_unlock,
.dv_format = format_map_dpo,
}
u8 * format_map_dpo(u8 *s, va_list *args)
Definition: map_dpo.c:83
static void map_dpo_lock(dpo_id_t *dpo)
Definition: map_dpo.c:114
static void map_dpo_unlock(dpo_id_t *dpo)
Definition: map_dpo.c:124

Definition at line 138 of file map_dpo.c.