FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
policer_classify.h File Reference
+ Include dependency graph for policer_classify.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  policer_classify_main_t
 

Enumerations

enum  policer_classify_table_id_t { POLICER_CLASSIFY_TABLE_IP4, POLICER_CLASSIFY_TABLE_IP6, POLICER_CLASSIFY_TABLE_L2, POLICER_CLASSIFY_N_TABLES }
 
enum  policer_classify_next_index_t { POLICER_CLASSIFY_NEXT_INDEX_DROP, POLICER_CLASSIFY_NEXT_INDEX_N_NEXT }
 

Functions

int vnet_set_policer_classify_intfc (vlib_main_t *vm, u32 sw_if_index, u32 ip4_table_index, u32 ip6_table_index, u32 l2_table_index, u32 is_add)
 

Variables

policer_classify_main_t policer_classify_main
 

Enumeration Type Documentation

Enumerator
POLICER_CLASSIFY_NEXT_INDEX_DROP 
POLICER_CLASSIFY_NEXT_INDEX_N_NEXT 

Definition at line 31 of file policer_classify.h.

Enumerator
POLICER_CLASSIFY_TABLE_IP4 
POLICER_CLASSIFY_TABLE_IP6 
POLICER_CLASSIFY_TABLE_L2 
POLICER_CLASSIFY_N_TABLES 

Definition at line 23 of file policer_classify.h.

Function Documentation

int vnet_set_policer_classify_intfc ( vlib_main_t vm,
u32  sw_if_index,
u32  ip4_table_index,
u32  ip6_table_index,
u32  l2_table_index,
u32  is_add 
)

Definition at line 56 of file policer_classify.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

policer_classify_main_t policer_classify_main

Definition at line 17 of file policer_classify.c.