FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
vl_api_policer_details_t Struct Reference

Policer operational state response. More...

Data Fields

u32 context
 
u8 name [64]
 
u32 cir
 
u32 eir
 
u64 cb
 
u64 eb
 
u8 rate_type
 
u8 round_type
 
u8 type
 
u8 conform_action_type
 
u8 conform_dscp
 
u8 exceed_action_type
 
u8 exceed_dscp
 
u8 violate_action_type
 
u8 violate_dscp
 
u8 single_rate
 
u8 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_type- conform action type
conform_dscp- DSCP for conform mar-and-transmit action
exceed_action_type- exceed action type
exceed_dscp- DSCP for exceed mar-and-transmit action
violate_action_type- violate action type
violate_dscp- DSCP for violate mar-and-transmit 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 115 of file policer.api.

Field Documentation

u64 vl_api_policer_details_t::cb

Definition at line 122 of file policer.api.

u32 vl_api_policer_details_t::cir

Definition at line 120 of file policer.api.

u32 vl_api_policer_details_t::cir_tokens_per_period

Definition at line 136 of file policer.api.

u8 vl_api_policer_details_t::color_aware

Definition at line 134 of file policer.api.

u8 vl_api_policer_details_t::conform_action_type

Definition at line 127 of file policer.api.

u8 vl_api_policer_details_t::conform_dscp

Definition at line 128 of file policer.api.

u32 vl_api_policer_details_t::context

Definition at line 117 of file policer.api.

u32 vl_api_policer_details_t::current_bucket

Definition at line 139 of file policer.api.

u32 vl_api_policer_details_t::current_limit

Definition at line 138 of file policer.api.

u64 vl_api_policer_details_t::eb

Definition at line 123 of file policer.api.

u32 vl_api_policer_details_t::eir

Definition at line 121 of file policer.api.

u8 vl_api_policer_details_t::exceed_action_type

Definition at line 129 of file policer.api.

u8 vl_api_policer_details_t::exceed_dscp

Definition at line 130 of file policer.api.

u32 vl_api_policer_details_t::extended_bucket

Definition at line 141 of file policer.api.

u32 vl_api_policer_details_t::extended_limit

Definition at line 140 of file policer.api.

u64 vl_api_policer_details_t::last_update_time

Definition at line 142 of file policer.api.

u8 vl_api_policer_details_t::name[64]

Definition at line 119 of file policer.api.

u32 vl_api_policer_details_t::pir_tokens_per_period

Definition at line 137 of file policer.api.

u8 vl_api_policer_details_t::rate_type

Definition at line 124 of file policer.api.

u8 vl_api_policer_details_t::round_type

Definition at line 125 of file policer.api.

u32 vl_api_policer_details_t::scale

Definition at line 135 of file policer.api.

u8 vl_api_policer_details_t::single_rate

Definition at line 133 of file policer.api.

u8 vl_api_policer_details_t::type

Definition at line 126 of file policer.api.

u8 vl_api_policer_details_t::violate_action_type

Definition at line 131 of file policer.api.

u8 vl_api_policer_details_t::violate_dscp

Definition at line 132 of file policer.api.


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