FD.io VPP  v21.01.1
Vector Packet Processing
policer_types.api File Reference

Go to the source code of this file.

Enumerations

enum  sse2_qos_rate_type : u8 { SSE2_QOS_RATE_API_KBPS = 0, SSE2_QOS_RATE_API_PPS, SSE2_QOS_RATE_API_INVALID }
 
enum  sse2_qos_round_type : u8 { SSE2_QOS_ROUND_API_TO_CLOSEST = 0, SSE2_QOS_ROUND_API_TO_UP, SSE2_QOS_ROUND_API_TO_DOWN, SSE2_QOS_ROUND_API_INVALID }
 
enum  sse2_qos_policer_type : u8 {
  SSE2_QOS_POLICER_TYPE_API_1R2C = 0, SSE2_QOS_POLICER_TYPE_API_1R3C_RFC_2697 = 1, SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_2698 = 2, SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_4115 = 3,
  SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_MEF5CF1 = 4, SSE2_QOS_POLICER_TYPE_API_MAX
}
 
enum  sse2_qos_action_type : u8 { SSE2_QOS_ACTION_API_DROP = 0, SSE2_QOS_ACTION_API_TRANSMIT, SSE2_QOS_ACTION_API_MARK_AND_TRANSMIT }
 

Variables

option version = "1.0.0"
 
typedef sse2_qos_action
 SSE2 QOS action. More...
 
u8 dscp
 

Enumeration Type Documentation

◆ sse2_qos_action_type

Enumerator
SSE2_QOS_ACTION_API_DROP 
SSE2_QOS_ACTION_API_TRANSMIT 
SSE2_QOS_ACTION_API_MARK_AND_TRANSMIT 

Definition at line 42 of file policer_types.api.

◆ sse2_qos_policer_type

Enumerator
SSE2_QOS_POLICER_TYPE_API_1R2C 
SSE2_QOS_POLICER_TYPE_API_1R3C_RFC_2697 
SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_2698 
SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_4115 
SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_MEF5CF1 
SSE2_QOS_POLICER_TYPE_API_MAX 

Definition at line 32 of file policer_types.api.

◆ sse2_qos_rate_type

Enumerator
SSE2_QOS_RATE_API_KBPS 
SSE2_QOS_RATE_API_PPS 
SSE2_QOS_RATE_API_INVALID 

Definition at line 17 of file policer_types.api.

◆ sse2_qos_round_type

Enumerator
SSE2_QOS_ROUND_API_TO_CLOSEST 
SSE2_QOS_ROUND_API_TO_UP 
SSE2_QOS_ROUND_API_TO_DOWN 
SSE2_QOS_ROUND_API_INVALID 

Definition at line 24 of file policer_types.api.

Variable Documentation

◆ dscp

u8 dscp

Definition at line 56 of file policer_types.api.

◆ sse2_qos_action

typedef sse2_qos_action
Initial value:
{
vl_api_sse2_qos_action_type_t type
vl_api_fib_path_type_t type
Definition: fib_types.api:123

SSE2 QOS action.

Template Parameters
conform_action_type- conform action type
conform_dscp- DSCP for conform mark-and-transmit action

Definition at line 54 of file policer_types.api.

◆ version

option version = "1.0.0"

Definition at line 15 of file policer_types.api.