FD.io VPP  v19.08.3-2-gbabecb413
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

◆ 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 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:75
static void classify_dpo_mem_show(void)
Definition: classify_dpo.c:100
u8 * format_classify_dpo(u8 *s, va_list *args)
Definition: classify_dpo.c:61
static void classify_dpo_unlock(dpo_id_t *dpo)
Definition: classify_dpo.c:85

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 char* const classify_ip4_nodes[]
static
Initial value:
=
{
"ip4-classify",
NULL,
}

Definition at line 115 of file classify_dpo.c.

◆ classify_ip6_nodes

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

Definition at line 120 of file classify_dpo.c.

◆ classify_nodes

const char* const* const classify_nodes[DPO_PROTO_NUM]
static
Initial value:
=
{
[DPO_PROTO_MPLS] = NULL,
}
static const char *const classify_ip4_nodes[]
Definition: classify_dpo.c:115
static const char *const classify_ip6_nodes[]
Definition: classify_dpo.c:120

Definition at line 125 of file classify_dpo.c.