FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_policer_details_t Struct Reference

Policer operational state response. More...

Data Fields

u32 context
 
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
 
vl_api_sse2_qos_action_t conform_action
 
vl_api_sse2_qos_action_t exceed_action
 
vl_api_sse2_qos_action_t violate_action
 
bool single_rate
 
bool color_aware
 
u32 scale
 
u32 cir_tokens_per_period
 
u32 pir_tokens_per_period
 
u32 current_limit
 
u32 current_bucket
 
u32 extended_limit
 
u32 extended_bucket
 
u64 last_update_time
 

Detailed Description

Policer operational state response.

Template Parameters
context- sender context, to match reply w/ request
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
conform_action- conform action
exceed_action- exceed action
violate_action- violate action
single_rate- 1 = single rate policer, 0 = two rate policer
color_aware- for hierarchical policing
scale- power-of-2 shift amount for lower rates
cir_tokens_per_period- number of tokens for each period
pir_tokens_per_period- number of tokens for each period for 2-rate policer
current_limit- current limit
current_bucket- current bucket
extended_limit- extended limit
extended_bucket- extended bucket
last_update_time- last update time

Definition at line 143 of file policer.api.

Field Documentation

◆ cb

u64 vl_api_policer_details_t::cb

Definition at line 150 of file policer.api.

◆ cir

u32 vl_api_policer_details_t::cir

Definition at line 148 of file policer.api.

◆ cir_tokens_per_period

u32 vl_api_policer_details_t::cir_tokens_per_period

Definition at line 161 of file policer.api.

◆ color_aware

bool vl_api_policer_details_t::color_aware

Definition at line 159 of file policer.api.

◆ conform_action

vl_api_sse2_qos_action_t vl_api_policer_details_t::conform_action

Definition at line 155 of file policer.api.

◆ context

u32 vl_api_policer_details_t::context

Definition at line 145 of file policer.api.

◆ current_bucket

u32 vl_api_policer_details_t::current_bucket

Definition at line 164 of file policer.api.

◆ current_limit

u32 vl_api_policer_details_t::current_limit

Definition at line 163 of file policer.api.

◆ eb

u64 vl_api_policer_details_t::eb

Definition at line 151 of file policer.api.

◆ eir

u32 vl_api_policer_details_t::eir

Definition at line 149 of file policer.api.

◆ exceed_action

vl_api_sse2_qos_action_t vl_api_policer_details_t::exceed_action

Definition at line 156 of file policer.api.

◆ extended_bucket

u32 vl_api_policer_details_t::extended_bucket

Definition at line 166 of file policer.api.

◆ extended_limit

u32 vl_api_policer_details_t::extended_limit

Definition at line 165 of file policer.api.

◆ last_update_time

u64 vl_api_policer_details_t::last_update_time

Definition at line 167 of file policer.api.

◆ name

string vl_api_policer_details_t::name[64]

Definition at line 147 of file policer.api.

◆ pir_tokens_per_period

u32 vl_api_policer_details_t::pir_tokens_per_period

Definition at line 162 of file policer.api.

◆ rate_type

vl_api_sse2_qos_rate_type_t vl_api_policer_details_t::rate_type

Definition at line 152 of file policer.api.

◆ round_type

vl_api_sse2_qos_round_type_t vl_api_policer_details_t::round_type

Definition at line 153 of file policer.api.

◆ scale

u32 vl_api_policer_details_t::scale

Definition at line 160 of file policer.api.

◆ single_rate

bool vl_api_policer_details_t::single_rate

Definition at line 158 of file policer.api.

◆ type

vl_api_sse2_qos_policer_type_t vl_api_policer_details_t::type

Definition at line 154 of file policer.api.

◆ violate_action

vl_api_sse2_qos_action_t vl_api_policer_details_t::violate_action

Definition at line 157 of file policer.api.


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