FD.io VPP  v16.09
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 4107 of file vpe.api.

Field Documentation

u64 vl_api_policer_details_t::cb

Definition at line 4114 of file vpe.api.

u32 vl_api_policer_details_t::cir

Definition at line 4112 of file vpe.api.

u32 vl_api_policer_details_t::cir_tokens_per_period

Definition at line 4128 of file vpe.api.

u8 vl_api_policer_details_t::color_aware

Definition at line 4126 of file vpe.api.

u8 vl_api_policer_details_t::conform_action_type

Definition at line 4119 of file vpe.api.

u8 vl_api_policer_details_t::conform_dscp

Definition at line 4120 of file vpe.api.

u32 vl_api_policer_details_t::context

Definition at line 4109 of file vpe.api.

u32 vl_api_policer_details_t::current_bucket

Definition at line 4131 of file vpe.api.

u32 vl_api_policer_details_t::current_limit

Definition at line 4130 of file vpe.api.

u64 vl_api_policer_details_t::eb

Definition at line 4115 of file vpe.api.

u32 vl_api_policer_details_t::eir

Definition at line 4113 of file vpe.api.

u8 vl_api_policer_details_t::exceed_action_type

Definition at line 4121 of file vpe.api.

u8 vl_api_policer_details_t::exceed_dscp

Definition at line 4122 of file vpe.api.

u32 vl_api_policer_details_t::extended_bucket

Definition at line 4133 of file vpe.api.

u32 vl_api_policer_details_t::extended_limit

Definition at line 4132 of file vpe.api.

u64 vl_api_policer_details_t::last_update_time

Definition at line 4134 of file vpe.api.

u8 vl_api_policer_details_t::name[64]

Definition at line 4111 of file vpe.api.

u32 vl_api_policer_details_t::pir_tokens_per_period

Definition at line 4129 of file vpe.api.

u8 vl_api_policer_details_t::rate_type

Definition at line 4116 of file vpe.api.

u8 vl_api_policer_details_t::round_type

Definition at line 4117 of file vpe.api.

u32 vl_api_policer_details_t::scale

Definition at line 4127 of file vpe.api.

u8 vl_api_policer_details_t::single_rate

Definition at line 4125 of file vpe.api.

u8 vl_api_policer_details_t::type

Definition at line 4118 of file vpe.api.

u8 vl_api_policer_details_t::violate_action_type

Definition at line 4123 of file vpe.api.

u8 vl_api_policer_details_t::violate_dscp

Definition at line 4124 of file vpe.api.

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