FD.io VPP  v21.06-3-gbb25fbf28
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
 
const static dpo_vft_t cd_vft
 
const static char *const classify_ip4_nodes []
 
const static char *const classify_ip6_nodes []
 
const static char *const *const classify_nodes [DPO_PROTO_NUM]
 

Function Documentation

◆ classify_dpo_alloc()

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:

◆ classify_dpo_create()

index_t classify_dpo_create ( dpo_proto_t  proto,
u32  classify_table_index 
)

Definition at line 48 of file classify_dpo.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ classify_dpo_get_index()

static index_t classify_dpo_get_index ( classify_dpo_t cd)
static

Definition at line 42 of file classify_dpo.c.

+ Here is the caller graph for this function:

◆ classify_dpo_lock()

static void classify_dpo_lock ( dpo_id_t dpo)
static

Definition at line 75 of file classify_dpo.c.

+ Here is the call graph for this function:

◆ classify_dpo_mem_show()

static void classify_dpo_mem_show ( void  )
static

Definition at line 100 of file classify_dpo.c.

+ Here is the call graph for this function:

◆ classify_dpo_module_init()

void classify_dpo_module_init ( void  )

Definition at line 133 of file classify_dpo.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ classify_dpo_unlock()

static void classify_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 85 of file classify_dpo.c.

+ Here is the call graph for this function:

◆ format_classify_dpo()

u8* format_classify_dpo ( u8 s,
va_list *  args 
)

Definition at line 61 of file classify_dpo.c.

+ Here is the call graph for this function:

Variable Documentation

◆ cd_vft

const static 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,
}

Definition at line 108 of file classify_dpo.c.

◆ classify_dpo_pool

classify_dpo_t* classify_dpo_pool

Definition at line 23 of file classify_dpo.c.

◆ classify_ip4_nodes

const static char* const classify_ip4_nodes[]
static
Initial value:
=
{
"ip4-classify",
NULL,
}

Definition at line 115 of file classify_dpo.c.

◆ classify_ip6_nodes

const static char* const classify_ip6_nodes[]
static
Initial value:
=
{
"ip6-classify",
NULL,
}

Definition at line 120 of file classify_dpo.c.

◆ classify_nodes

const static char* const * const classify_nodes[DPO_PROTO_NUM]
static
Initial value:

Definition at line 125 of file classify_dpo.c.

classify_dpo_lock
static void classify_dpo_lock(dpo_id_t *dpo)
Definition: classify_dpo.c:75
classify_dpo_unlock
static void classify_dpo_unlock(dpo_id_t *dpo)
Definition: classify_dpo.c:85
classify_ip6_nodes
const static char *const classify_ip6_nodes[]
Definition: classify_dpo.c:120
format_classify_dpo
u8 * format_classify_dpo(u8 *s, va_list *args)
Definition: classify_dpo.c:61
classify_dpo_mem_show
static void classify_dpo_mem_show(void)
Definition: classify_dpo.c:100
DPO_PROTO_IP6
@ DPO_PROTO_IP6
Definition: dpo.h:65
DPO_PROTO_MPLS
@ DPO_PROTO_MPLS
Definition: dpo.h:66
classify_ip4_nodes
const static char *const classify_ip4_nodes[]
Definition: classify_dpo.c:115
DPO_PROTO_IP4
@ DPO_PROTO_IP4
Definition: dpo.h:64