FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
map_dpo.c File Reference
+ Include dependency graph for map_dpo.c:

Go to the source code of this file.

Functions

void map_dpo_create (dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
 A representation of a MAP DPO. More...
 
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

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 49 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 58 of file map_dpo.c.

+ Here is the call graph for this function:

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

A representation of a MAP DPO.

Definition at line 26 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_lock ( dpo_id_t dpo)
static

Definition at line 68 of file map_dpo.c.

void map_dpo_module_init ( void  )

Definition at line 126 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 73 of file map_dpo.c.

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

Definition at line 37 of file map_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

dpo_type_t map_dpo_type

The register MAP DPO type.

Definition at line 22 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 83 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 88 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:83
static const char *const map_ip6_nodes[]
Definition: map_dpo.c:88

Definition at line 94 of file map_dpo.c.

dpo_type_t map_t_dpo_type

Definition at line 23 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 107 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 112 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:112
#define NULL
Definition: clib.h:55
static const char *const map_t_ip4_nodes[]
Definition: map_dpo.c:107

Definition at line 118 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:58
static void map_dpo_lock(dpo_id_t *dpo)
Definition: map_dpo.c:68
static void map_dpo_unlock(dpo_id_t *dpo)
Definition: map_dpo.c:73

Definition at line 101 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:49
static void map_dpo_lock(dpo_id_t *dpo)
Definition: map_dpo.c:68
static void map_dpo_unlock(dpo_id_t *dpo)
Definition: map_dpo.c:73

Definition at line 77 of file map_dpo.c.