FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
policer_api.c File Reference
+ Include dependency graph for policer_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   vnet_policer_main.msg_id_base
 

Functions

static void vl_api_policer_add_del_t_handler (vl_api_policer_add_del_t *mp)
 
static void vl_api_policer_bind_t_handler (vl_api_policer_bind_t *mp)
 
static void vl_api_policer_input_t_handler (vl_api_policer_input_t *mp)
 
static void send_policer_details (u8 *name, qos_pol_cfg_params_st *config, policer_t *templ, vl_api_registration_t *reg, u32 context)
 
static void vl_api_policer_dump_t_handler (vl_api_policer_dump_t *mp)
 
static clib_error_tpolicer_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (policer_api_hookup)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   vnet_policer_main.msg_id_base

Definition at line 31 of file policer_api.c.

Function Documentation

◆ policer_api_hookup()

static clib_error_t* policer_api_hookup ( vlib_main_t vm)
static

Definition at line 221 of file policer_api.c.

+ Here is the call graph for this function:

◆ send_policer_details()

static void send_policer_details ( u8 name,
qos_pol_cfg_params_st config,
policer_t templ,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 128 of file policer_api.c.

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

◆ vl_api_policer_add_del_t_handler()

static void vl_api_policer_add_del_t_handler ( vl_api_policer_add_del_t mp)
static

Definition at line 35 of file policer_api.c.

+ Here is the call graph for this function:

◆ vl_api_policer_bind_t_handler()

static void vl_api_policer_bind_t_handler ( vl_api_policer_bind_t mp)
static

Definition at line 84 of file policer_api.c.

+ Here is the call graph for this function:

◆ vl_api_policer_dump_t_handler()

static void vl_api_policer_dump_t_handler ( vl_api_policer_dump_t mp)
static

Definition at line 171 of file policer_api.c.

+ Here is the call graph for this function:

◆ vl_api_policer_input_t_handler()

static void vl_api_policer_input_t_handler ( vl_api_policer_input_t mp)
static

Definition at line 104 of file policer_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( policer_api_hookup  )