FD.io VPP  v20.09-64-g4f7b92f0a
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 108 of file policer.api.

Field Documentation

◆ cb

u64 vl_api_policer_details_t::cb

Definition at line 115 of file policer.api.

◆ cir

u32 vl_api_policer_details_t::cir

Definition at line 113 of file policer.api.

◆ cir_tokens_per_period

u32 vl_api_policer_details_t::cir_tokens_per_period

Definition at line 126 of file policer.api.

◆ color_aware

bool vl_api_policer_details_t::color_aware

Definition at line 124 of file policer.api.

◆ conform_action

vl_api_sse2_qos_action_t vl_api_policer_details_t::conform_action

Definition at line 120 of file policer.api.

◆ context

u32 vl_api_policer_details_t::context

Definition at line 110 of file policer.api.

◆ current_bucket

u32 vl_api_policer_details_t::current_bucket

Definition at line 129 of file policer.api.

◆ current_limit

u32 vl_api_policer_details_t::current_limit

Definition at line 128 of file policer.api.

◆ eb

u64 vl_api_policer_details_t::eb

Definition at line 116 of file policer.api.

◆ eir

u32 vl_api_policer_details_t::eir

Definition at line 114 of file policer.api.

◆ exceed_action

vl_api_sse2_qos_action_t vl_api_policer_details_t::exceed_action

Definition at line 121 of file policer.api.

◆ extended_bucket

u32 vl_api_policer_details_t::extended_bucket

Definition at line 131 of file policer.api.

◆ extended_limit

u32 vl_api_policer_details_t::extended_limit

Definition at line 130 of file policer.api.

◆ last_update_time

u64 vl_api_policer_details_t::last_update_time

Definition at line 132 of file policer.api.

◆ name

string vl_api_policer_details_t::name[64]

Definition at line 112 of file policer.api.

◆ pir_tokens_per_period

u32 vl_api_policer_details_t::pir_tokens_per_period

Definition at line 127 of file policer.api.

◆ rate_type

vl_api_sse2_qos_rate_type_t vl_api_policer_details_t::rate_type

Definition at line 117 of file policer.api.

◆ round_type

vl_api_sse2_qos_round_type_t vl_api_policer_details_t::round_type

Definition at line 118 of file policer.api.

◆ scale

u32 vl_api_policer_details_t::scale

Definition at line 125 of file policer.api.

◆ single_rate

bool vl_api_policer_details_t::single_rate

Definition at line 123 of file policer.api.

◆ type

vl_api_sse2_qos_policer_type_t vl_api_policer_details_t::type

Definition at line 119 of file policer.api.

◆ violate_action

vl_api_sse2_qos_action_t vl_api_policer_details_t::violate_action

Definition at line 122 of file policer.api.


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