FD.io VPP  v16.06
Vector Packet Processing
policer.h File Reference
+ Include dependency graph for policer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vnet_policer_main_t
 

Enumerations

enum  vnet_policer_index_t { VNET_POLICER_INDEX_BY_SW_IF_INDEX, VNET_POLICER_INDEX_BY_OPAQUE, VNET_POLICER_INDEX_BY_EITHER }
 
enum  vnet_policer_next_t { VNET_POLICER_NEXT_TRANSMIT, VNET_POLICER_NEXT_DROP, VNET_POLICER_N_NEXT }
 

Functions

u8format_policer_instance (u8 *s, va_list *va)
 
clib_error_tpolicer_add_del (vlib_main_t *vm, u8 *name, sse2_qos_pol_cfg_params_st *cfg, u8 is_add)
 

Variables

vnet_policer_main_t vnet_policer_main
 

Enumeration Type Documentation

Enumerator
VNET_POLICER_INDEX_BY_SW_IF_INDEX 
VNET_POLICER_INDEX_BY_OPAQUE 
VNET_POLICER_INDEX_BY_EITHER 

Definition at line 45 of file policer.h.

Enumerator
VNET_POLICER_NEXT_TRANSMIT 
VNET_POLICER_NEXT_DROP 
VNET_POLICER_N_NEXT 

Definition at line 51 of file policer.h.

Function Documentation

u8* format_policer_instance ( u8 s,
va_list *  va 
)

Definition at line 68 of file policer.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* policer_add_del ( vlib_main_t vm,
u8 name,
sse2_qos_pol_cfg_params_st cfg,
u8  is_add 
)

Definition at line 19 of file policer.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vnet_policer_main_t vnet_policer_main

Definition at line 43 of file policer.h.