FD.io VPP  v17.01.1-3-gc6833f8
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 3719 of file vpe.api.

Field Documentation

u64 vl_api_policer_details_t::cb

Definition at line 3726 of file vpe.api.

u32 vl_api_policer_details_t::cir

Definition at line 3724 of file vpe.api.

u32 vl_api_policer_details_t::cir_tokens_per_period

Definition at line 3740 of file vpe.api.

u8 vl_api_policer_details_t::color_aware

Definition at line 3738 of file vpe.api.

u8 vl_api_policer_details_t::conform_action_type

Definition at line 3731 of file vpe.api.

u8 vl_api_policer_details_t::conform_dscp

Definition at line 3732 of file vpe.api.

u32 vl_api_policer_details_t::context

Definition at line 3721 of file vpe.api.

u32 vl_api_policer_details_t::current_bucket

Definition at line 3743 of file vpe.api.

u32 vl_api_policer_details_t::current_limit

Definition at line 3742 of file vpe.api.

u64 vl_api_policer_details_t::eb

Definition at line 3727 of file vpe.api.

u32 vl_api_policer_details_t::eir

Definition at line 3725 of file vpe.api.

u8 vl_api_policer_details_t::exceed_action_type

Definition at line 3733 of file vpe.api.

u8 vl_api_policer_details_t::exceed_dscp

Definition at line 3734 of file vpe.api.

u32 vl_api_policer_details_t::extended_bucket

Definition at line 3745 of file vpe.api.

u32 vl_api_policer_details_t::extended_limit

Definition at line 3744 of file vpe.api.

u64 vl_api_policer_details_t::last_update_time

Definition at line 3746 of file vpe.api.

u8 vl_api_policer_details_t::name[64]

Definition at line 3723 of file vpe.api.

u32 vl_api_policer_details_t::pir_tokens_per_period

Definition at line 3741 of file vpe.api.

u8 vl_api_policer_details_t::rate_type

Definition at line 3728 of file vpe.api.

u8 vl_api_policer_details_t::round_type

Definition at line 3729 of file vpe.api.

u32 vl_api_policer_details_t::scale

Definition at line 3739 of file vpe.api.

u8 vl_api_policer_details_t::single_rate

Definition at line 3737 of file vpe.api.

u8 vl_api_policer_details_t::type

Definition at line 3730 of file vpe.api.

u8 vl_api_policer_details_t::violate_action_type

Definition at line 3735 of file vpe.api.

u8 vl_api_policer_details_t::violate_dscp

Definition at line 3736 of file vpe.api.


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