FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_policer_add_del_t Struct Reference

Add/del policer. More...

Data Fields

u32 client_index
 
u32 context
 
bool is_add
 
string name [64]
 
u32 cir
 
u32 eir
 
u64 cb
 
u64 eb
 
vl_api_sse2_qos_rate_type_t rate_type
 
vl_api_sse2_qos_round_type_t round_type
 
vl_api_sse2_qos_policer_type_t type
 
bool color_aware
 
vl_api_sse2_qos_action_t conform_action
 
vl_api_sse2_qos_action_t exceed_action
 
vl_api_sse2_qos_action_t violate_action
 

Detailed Description

Add/del policer.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- add policer if non-zero, else delete
name- policer name
cir- CIR
eir- EIR
cb- Committed Burst
eb- Excess or Peak Burst
rate_type- rate type
round_type- rounding type
type- policer algorithm
color_aware- 0=color-blind, 1=color-aware
conform_action- conform action
exceed_action- exceed action type
violate_action- violate action type

Definition at line 37 of file policer.api.

Field Documentation

◆ cb

u64 vl_api_policer_add_del_t::cb

Definition at line 46 of file policer.api.

◆ cir

u32 vl_api_policer_add_del_t::cir

Definition at line 44 of file policer.api.

◆ client_index

u32 vl_api_policer_add_del_t::client_index

Definition at line 39 of file policer.api.

◆ color_aware

bool vl_api_policer_add_del_t::color_aware

Definition at line 51 of file policer.api.

◆ conform_action

vl_api_sse2_qos_action_t vl_api_policer_add_del_t::conform_action

Definition at line 52 of file policer.api.

◆ context

u32 vl_api_policer_add_del_t::context

Definition at line 40 of file policer.api.

◆ eb

u64 vl_api_policer_add_del_t::eb

Definition at line 47 of file policer.api.

◆ eir

u32 vl_api_policer_add_del_t::eir

Definition at line 45 of file policer.api.

◆ exceed_action

vl_api_sse2_qos_action_t vl_api_policer_add_del_t::exceed_action

Definition at line 53 of file policer.api.

◆ is_add

bool vl_api_policer_add_del_t::is_add

Definition at line 42 of file policer.api.

◆ name

string vl_api_policer_add_del_t::name[64]

Definition at line 43 of file policer.api.

◆ rate_type

vl_api_sse2_qos_rate_type_t vl_api_policer_add_del_t::rate_type

Definition at line 48 of file policer.api.

◆ round_type

vl_api_sse2_qos_round_type_t vl_api_policer_add_del_t::round_type

Definition at line 49 of file policer.api.

◆ type

vl_api_sse2_qos_policer_type_t vl_api_policer_add_del_t::type

Definition at line 50 of file policer.api.

◆ violate_action

vl_api_sse2_qos_action_t vl_api_policer_add_del_t::violate_action

Definition at line 54 of file policer.api.


The documentation for this struct was generated from the following file: