Documentation ¶
Overview ¶
Package policer_types is a generated VPP binary API for 'policer_types' module.
It consists of:
4 enums 1 type
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "policer_types" // VersionCrc is the CRC of this module. VersionCrc = 0x5fe29f75 )
Variables ¶
View Source
var Sse2QosActionType_name = map[uint8]string{
0: "SSE2_QOS_ACTION_API_DROP",
1: "SSE2_QOS_ACTION_API_TRANSMIT",
2: "SSE2_QOS_ACTION_API_MARK_AND_TRANSMIT",
}
View Source
var Sse2QosActionType_value = map[string]uint8{
"SSE2_QOS_ACTION_API_DROP": 0,
"SSE2_QOS_ACTION_API_TRANSMIT": 1,
"SSE2_QOS_ACTION_API_MARK_AND_TRANSMIT": 2,
}
View Source
var Sse2QosPolicerType_name = map[uint8]string{
0: "SSE2_QOS_POLICER_TYPE_API_1R2C",
1: "SSE2_QOS_POLICER_TYPE_API_1R3C_RFC_2697",
2: "SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_2698",
3: "SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_4115",
4: "SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_MEF5CF1",
5: "SSE2_QOS_POLICER_TYPE_API_MAX",
}
View Source
var Sse2QosPolicerType_value = map[string]uint8{
"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": 5,
}
View Source
var Sse2QosRateType_name = map[uint8]string{
0: "SSE2_QOS_RATE_API_KBPS",
1: "SSE2_QOS_RATE_API_PPS",
2: "SSE2_QOS_RATE_API_INVALID",
}
View Source
var Sse2QosRateType_value = map[string]uint8{
"SSE2_QOS_RATE_API_KBPS": 0,
"SSE2_QOS_RATE_API_PPS": 1,
"SSE2_QOS_RATE_API_INVALID": 2,
}
View Source
var Sse2QosRoundType_name = map[uint8]string{
0: "SSE2_QOS_ROUND_API_TO_CLOSEST",
1: "SSE2_QOS_ROUND_API_TO_UP",
2: "SSE2_QOS_ROUND_API_TO_DOWN",
3: "SSE2_QOS_ROUND_API_INVALID",
}
View Source
var Sse2QosRoundType_value = map[string]uint8{
"SSE2_QOS_ROUND_API_TO_CLOSEST": 0,
"SSE2_QOS_ROUND_API_TO_UP": 1,
"SSE2_QOS_ROUND_API_TO_DOWN": 2,
"SSE2_QOS_ROUND_API_INVALID": 3,
}
Functions ¶
This section is empty.
Types ¶
type Sse2QosAction ¶
type Sse2QosAction struct { Type Sse2QosActionType Dscp uint8 }
Sse2QosAction represents VPP binary API type 'sse2_qos_action'.
func (*Sse2QosAction) GetTypeName ¶
func (*Sse2QosAction) GetTypeName() string
type Sse2QosActionType ¶
type Sse2QosActionType uint8
Sse2QosActionType represents VPP binary API enum 'sse2_qos_action_type'.
const ( SSE2_QOS_ACTION_API_DROP Sse2QosActionType = 0 SSE2_QOS_ACTION_API_TRANSMIT Sse2QosActionType = 1 SSE2_QOS_ACTION_API_MARK_AND_TRANSMIT Sse2QosActionType = 2 )
func (Sse2QosActionType) String ¶
func (x Sse2QosActionType) String() string
type Sse2QosPolicerType ¶
type Sse2QosPolicerType uint8
Sse2QosPolicerType represents VPP binary API enum 'sse2_qos_policer_type'.
const ( SSE2_QOS_POLICER_TYPE_API_1R2C Sse2QosPolicerType = 0 SSE2_QOS_POLICER_TYPE_API_1R3C_RFC_2697 Sse2QosPolicerType = 1 SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_2698 Sse2QosPolicerType = 2 SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_4115 Sse2QosPolicerType = 3 SSE2_QOS_POLICER_TYPE_API_2R3C_RFC_MEF5CF1 Sse2QosPolicerType = 4 SSE2_QOS_POLICER_TYPE_API_MAX Sse2QosPolicerType = 5 )
func (Sse2QosPolicerType) String ¶
func (x Sse2QosPolicerType) String() string
type Sse2QosRateType ¶
type Sse2QosRateType uint8
Sse2QosRateType represents VPP binary API enum 'sse2_qos_rate_type'.
const ( SSE2_QOS_RATE_API_KBPS Sse2QosRateType = 0 SSE2_QOS_RATE_API_PPS Sse2QosRateType = 1 SSE2_QOS_RATE_API_INVALID Sse2QosRateType = 2 )
func (Sse2QosRateType) String ¶
func (x Sse2QosRateType) String() string
type Sse2QosRoundType ¶
type Sse2QosRoundType uint8
Sse2QosRoundType represents VPP binary API enum 'sse2_qos_round_type'.
const ( SSE2_QOS_ROUND_API_TO_CLOSEST Sse2QosRoundType = 0 SSE2_QOS_ROUND_API_TO_UP Sse2QosRoundType = 1 SSE2_QOS_ROUND_API_TO_DOWN Sse2QosRoundType = 2 SSE2_QOS_ROUND_API_INVALID Sse2QosRoundType = 3 )
func (Sse2QosRoundType) String ¶
func (x Sse2QosRoundType) String() string
Click to show internal directories.
Click to hide internal directories.