FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
classify_dpo.c File Reference
+ Include dependency graph for classify_dpo.c:

Go to the source code of this file.

Functions

static classify_dpo_tclassify_dpo_alloc (void)
 
static index_t classify_dpo_get_index (classify_dpo_t *cd)
 
index_t classify_dpo_create (dpo_proto_t proto, u32 classify_table_index)
 
u8format_classify_dpo (u8 *s, va_list *args)
 
static void classify_dpo_lock (dpo_id_t *dpo)
 
static void classify_dpo_unlock (dpo_id_t *dpo)
 
static void classify_dpo_mem_show (void)
 
void classify_dpo_module_init (void)
 

Variables

classify_dpo_tclassify_dpo_pool
 
static const dpo_vft_t cd_vft
 
static const char *const classify_ip4_nodes []
 
static const char *const classify_ip6_nodes []
 
static const char *const *const classify_nodes [DPO_PROTO_NUM]
 

Function Documentation

static classify_dpo_t* classify_dpo_alloc ( void  )
static

Definition at line 26 of file classify_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

index_t classify_dpo_create ( dpo_proto_t  proto,
u32  classify_table_index 
)

Definition at line 43 of file classify_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static index_t classify_dpo_get_index ( classify_dpo_t cd)
static

Definition at line 37 of file classify_dpo.c.

+ Here is the caller graph for this function:

static void classify_dpo_lock ( dpo_id_t dpo)
static

Definition at line 70 of file classify_dpo.c.

+ Here is the call graph for this function:

static void classify_dpo_mem_show ( void  )
static

Definition at line 95 of file classify_dpo.c.

+ Here is the call graph for this function:

void classify_dpo_module_init ( void  )

Definition at line 128 of file classify_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void classify_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 80 of file classify_dpo.c.

+ Here is the call graph for this function:

u8* format_classify_dpo ( u8 s,
va_list *  args 
)

Definition at line 56 of file classify_dpo.c.

+ Here is the call graph for this function:

Variable Documentation

const dpo_vft_t cd_vft
static
Initial value:
= {
.dv_lock = classify_dpo_lock,
.dv_unlock = classify_dpo_unlock,
.dv_format = format_classify_dpo,
.dv_mem_show = classify_dpo_mem_show,
}
static void classify_dpo_lock(dpo_id_t *dpo)
Definition: classify_dpo.c:70
static void classify_dpo_mem_show(void)
Definition: classify_dpo.c:95
u8 * format_classify_dpo(u8 *s, va_list *args)
Definition: classify_dpo.c:56
static void classify_dpo_unlock(dpo_id_t *dpo)
Definition: classify_dpo.c:80

Definition at line 103 of file classify_dpo.c.

classify_dpo_t* classify_dpo_pool

Definition at line 23 of file classify_dpo.c.

const char* const classify_ip4_nodes[]
static
Initial value:
=
{
"ip4-classify",
}
#define NULL
Definition: clib.h:57

Definition at line 110 of file classify_dpo.c.

const char* const classify_ip6_nodes[]
static
Initial value:
=
{
"ip6-classify",
}
#define NULL
Definition: clib.h:57

Definition at line 115 of file classify_dpo.c.

const char* const* const classify_nodes[DPO_PROTO_NUM]
static
Initial value:
=
{
}
#define NULL
Definition: clib.h:57
static const char *const classify_ip4_nodes[]
Definition: classify_dpo.c:110
static const char *const classify_ip6_nodes[]
Definition: classify_dpo.c:115

Definition at line 120 of file classify_dpo.c.