Documentation ¶
Overview ¶
Package classify is a generated VPP binary API for 'classify' module.
It consists of:
9 enums 1 alias 28 messages 14 services
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type ClassifyAction
- type ClassifyAddDelSession
- type ClassifyAddDelSessionReply
- type ClassifyAddDelTable
- type ClassifyAddDelTableReply
- type ClassifySessionDetails
- type ClassifySessionDump
- type ClassifySetInterfaceIPTable
- type ClassifySetInterfaceIPTableReply
- type ClassifySetInterfaceL2Tables
- type ClassifySetInterfaceL2TablesReply
- type ClassifyTableByInterface
- type ClassifyTableByInterfaceReply
- type ClassifyTableIds
- type ClassifyTableIdsReply
- type ClassifyTableInfo
- type ClassifyTableInfoReply
- type FlowClassifyDetails
- type FlowClassifyDump
- type FlowClassifySetInterface
- type FlowClassifySetInterfaceReply
- type FlowClassifyTable
- type IfStatusFlags
- type IfType
- type InputACLSetInterface
- type InputACLSetInterfaceReply
- type InterfaceIndex
- type LinkDuplex
- type MtuProto
- type OutputACLSetInterface
- type OutputACLSetInterfaceReply
- type PolicerClassifyDetails
- type PolicerClassifyDump
- type PolicerClassifySetInterface
- type PolicerClassifySetInterfaceReply
- type PolicerClassifyTable
- type RPCService
- type RPCService_DumpClassifySessionClient
- type RPCService_DumpFlowClassifyClient
- type RPCService_DumpPolicerClassifyClient
- type RxMode
- type SubIfFlags
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "classify" // APIVersion is the API version of this module. APIVersion = "3.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x1298bdec )
Variables ¶
var ClassifyAction_name = map[uint8]string{
0: "CLASSIFY_API_ACTION_NONE",
1: "CLASSIFY_API_ACTION_SET_IP4_FIB_INDEX",
2: "CLASSIFY_API_ACTION_SET_IP6_FIB_INDEX",
3: "CLASSIFY_API_ACTION_SET_METADATA",
}
var ClassifyAction_value = map[string]uint8{
"CLASSIFY_API_ACTION_NONE": 0,
"CLASSIFY_API_ACTION_SET_IP4_FIB_INDEX": 1,
"CLASSIFY_API_ACTION_SET_IP6_FIB_INDEX": 2,
"CLASSIFY_API_ACTION_SET_METADATA": 3,
}
var FlowClassifyTable_name = map[uint8]string{
1: "FLOW_CLASSIFY_API_TABLE_IP4",
2: "FLOW_CLASSIFY_API_TABLE_IP6",
}
var FlowClassifyTable_value = map[string]uint8{
"FLOW_CLASSIFY_API_TABLE_IP4": 1,
"FLOW_CLASSIFY_API_TABLE_IP6": 2,
}
var IfStatusFlags_name = map[uint32]string{
1: "IF_STATUS_API_FLAG_ADMIN_UP",
2: "IF_STATUS_API_FLAG_LINK_UP",
}
var IfStatusFlags_value = map[string]uint32{
"IF_STATUS_API_FLAG_ADMIN_UP": 1,
"IF_STATUS_API_FLAG_LINK_UP": 2,
}
var IfType_name = map[uint32]string{
0: "IF_API_TYPE_HARDWARE",
1: "IF_API_TYPE_SUB",
2: "IF_API_TYPE_P2P",
3: "IF_API_TYPE_PIPE",
}
var IfType_value = map[string]uint32{
"IF_API_TYPE_HARDWARE": 0,
"IF_API_TYPE_SUB": 1,
"IF_API_TYPE_P2P": 2,
"IF_API_TYPE_PIPE": 3,
}
var LinkDuplex_name = map[uint32]string{
0: "LINK_DUPLEX_API_UNKNOWN",
1: "LINK_DUPLEX_API_HALF",
2: "LINK_DUPLEX_API_FULL",
}
var LinkDuplex_value = map[string]uint32{
"LINK_DUPLEX_API_UNKNOWN": 0,
"LINK_DUPLEX_API_HALF": 1,
"LINK_DUPLEX_API_FULL": 2,
}
var MtuProto_name = map[uint32]string{
0: "MTU_PROTO_API_L3",
1: "MTU_PROTO_API_IP4",
2: "MTU_PROTO_API_IP6",
3: "MTU_PROTO_API_MPLS",
}
var MtuProto_value = map[string]uint32{
"MTU_PROTO_API_L3": 0,
"MTU_PROTO_API_IP4": 1,
"MTU_PROTO_API_IP6": 2,
"MTU_PROTO_API_MPLS": 3,
}
var PolicerClassifyTable_name = map[uint8]string{
1: "POLICER_CLASSIFY_API_TABLE_IP4",
2: "POLICER_CLASSIFY_API_TABLE_IP6",
3: "POLICER_CLASSIFY_API_TABLE_L2",
}
var PolicerClassifyTable_value = map[string]uint8{
"POLICER_CLASSIFY_API_TABLE_IP4": 1,
"POLICER_CLASSIFY_API_TABLE_IP6": 2,
"POLICER_CLASSIFY_API_TABLE_L2": 3,
}
var RxMode_name = map[uint32]string{
0: "RX_MODE_API_UNKNOWN",
1: "RX_MODE_API_POLLING",
2: "RX_MODE_API_INTERRUPT",
3: "RX_MODE_API_ADAPTIVE",
4: "RX_MODE_API_DEFAULT",
}
var RxMode_value = map[string]uint32{
"RX_MODE_API_UNKNOWN": 0,
"RX_MODE_API_POLLING": 1,
"RX_MODE_API_INTERRUPT": 2,
"RX_MODE_API_ADAPTIVE": 3,
"RX_MODE_API_DEFAULT": 4,
}
var SubIfFlags_name = map[uint32]string{
1: "SUB_IF_API_FLAG_NO_TAGS",
2: "SUB_IF_API_FLAG_ONE_TAG",
4: "SUB_IF_API_FLAG_TWO_TAGS",
8: "SUB_IF_API_FLAG_DOT1AD",
16: "SUB_IF_API_FLAG_EXACT_MATCH",
32: "SUB_IF_API_FLAG_DEFAULT",
64: "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
254: "SUB_IF_API_FLAG_MASK_VNET",
256: "SUB_IF_API_FLAG_DOT1AH",
}
var SubIfFlags_value = map[string]uint32{
"SUB_IF_API_FLAG_NO_TAGS": 1,
"SUB_IF_API_FLAG_ONE_TAG": 2,
"SUB_IF_API_FLAG_TWO_TAGS": 4,
"SUB_IF_API_FLAG_DOT1AD": 8,
"SUB_IF_API_FLAG_EXACT_MATCH": 16,
"SUB_IF_API_FLAG_DEFAULT": 32,
"SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64,
"SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128,
"SUB_IF_API_FLAG_MASK_VNET": 254,
"SUB_IF_API_FLAG_DOT1AH": 256,
}
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type ClassifyAction ¶
type ClassifyAction uint8
ClassifyAction represents VPP binary API enum 'classify_action'.
const ( CLASSIFY_API_ACTION_NONE ClassifyAction = 0 CLASSIFY_API_ACTION_SET_IP4_FIB_INDEX ClassifyAction = 1 CLASSIFY_API_ACTION_SET_IP6_FIB_INDEX ClassifyAction = 2 CLASSIFY_API_ACTION_SET_METADATA ClassifyAction = 3 )
func (ClassifyAction) String ¶
func (x ClassifyAction) String() string
type ClassifyAddDelSession ¶
type ClassifyAddDelSession struct { IsAdd bool TableIndex uint32 HitNextIndex uint32 OpaqueIndex uint32 Advance int32 Action ClassifyAction Metadata uint32 MatchLen uint32 `struc:"sizeof=Match"` Match []byte }
ClassifyAddDelSession represents VPP binary API message 'classify_add_del_session'.
func (*ClassifyAddDelSession) GetCrcString ¶
func (*ClassifyAddDelSession) GetCrcString() string
func (*ClassifyAddDelSession) GetMessageName ¶
func (*ClassifyAddDelSession) GetMessageName() string
func (*ClassifyAddDelSession) GetMessageType ¶
func (*ClassifyAddDelSession) GetMessageType() api.MessageType
func (*ClassifyAddDelSession) Reset ¶
func (m *ClassifyAddDelSession) Reset()
type ClassifyAddDelSessionReply ¶
type ClassifyAddDelSessionReply struct {
Retval int32
}
ClassifyAddDelSessionReply represents VPP binary API message 'classify_add_del_session_reply'.
func (*ClassifyAddDelSessionReply) GetCrcString ¶
func (*ClassifyAddDelSessionReply) GetCrcString() string
func (*ClassifyAddDelSessionReply) GetMessageName ¶
func (*ClassifyAddDelSessionReply) GetMessageName() string
func (*ClassifyAddDelSessionReply) GetMessageType ¶
func (*ClassifyAddDelSessionReply) GetMessageType() api.MessageType
func (*ClassifyAddDelSessionReply) Reset ¶
func (m *ClassifyAddDelSessionReply) Reset()
type ClassifyAddDelTable ¶
type ClassifyAddDelTable struct { IsAdd bool DelChain bool TableIndex uint32 Nbuckets uint32 MemorySize uint32 SkipNVectors uint32 MatchNVectors uint32 NextTableIndex uint32 MissNextIndex uint32 CurrentDataFlag uint8 CurrentDataOffset int16 MaskLen uint32 `struc:"sizeof=Mask"` Mask []byte }
ClassifyAddDelTable represents VPP binary API message 'classify_add_del_table'.
func (*ClassifyAddDelTable) GetCrcString ¶
func (*ClassifyAddDelTable) GetCrcString() string
func (*ClassifyAddDelTable) GetMessageName ¶
func (*ClassifyAddDelTable) GetMessageName() string
func (*ClassifyAddDelTable) GetMessageType ¶
func (*ClassifyAddDelTable) GetMessageType() api.MessageType
func (*ClassifyAddDelTable) Reset ¶
func (m *ClassifyAddDelTable) Reset()
type ClassifyAddDelTableReply ¶
type ClassifyAddDelTableReply struct { Retval int32 NewTableIndex uint32 SkipNVectors uint32 MatchNVectors uint32 }
ClassifyAddDelTableReply represents VPP binary API message 'classify_add_del_table_reply'.
func (*ClassifyAddDelTableReply) GetCrcString ¶
func (*ClassifyAddDelTableReply) GetCrcString() string
func (*ClassifyAddDelTableReply) GetMessageName ¶
func (*ClassifyAddDelTableReply) GetMessageName() string
func (*ClassifyAddDelTableReply) GetMessageType ¶
func (*ClassifyAddDelTableReply) GetMessageType() api.MessageType
func (*ClassifyAddDelTableReply) Reset ¶
func (m *ClassifyAddDelTableReply) Reset()
type ClassifySessionDetails ¶
type ClassifySessionDetails struct { Retval int32 TableID uint32 HitNextIndex uint32 Advance int32 OpaqueIndex uint32 MatchLength uint32 `struc:"sizeof=Match"` Match []byte }
ClassifySessionDetails represents VPP binary API message 'classify_session_details'.
func (*ClassifySessionDetails) GetCrcString ¶
func (*ClassifySessionDetails) GetCrcString() string
func (*ClassifySessionDetails) GetMessageName ¶
func (*ClassifySessionDetails) GetMessageName() string
func (*ClassifySessionDetails) GetMessageType ¶
func (*ClassifySessionDetails) GetMessageType() api.MessageType
func (*ClassifySessionDetails) Reset ¶
func (m *ClassifySessionDetails) Reset()
type ClassifySessionDump ¶
type ClassifySessionDump struct {
TableID uint32
}
ClassifySessionDump represents VPP binary API message 'classify_session_dump'.
func (*ClassifySessionDump) GetCrcString ¶
func (*ClassifySessionDump) GetCrcString() string
func (*ClassifySessionDump) GetMessageName ¶
func (*ClassifySessionDump) GetMessageName() string
func (*ClassifySessionDump) GetMessageType ¶
func (*ClassifySessionDump) GetMessageType() api.MessageType
func (*ClassifySessionDump) Reset ¶
func (m *ClassifySessionDump) Reset()
type ClassifySetInterfaceIPTable ¶
type ClassifySetInterfaceIPTable struct { IsIPv6 bool SwIfIndex InterfaceIndex TableIndex uint32 }
ClassifySetInterfaceIPTable represents VPP binary API message 'classify_set_interface_ip_table'.
func (*ClassifySetInterfaceIPTable) GetCrcString ¶
func (*ClassifySetInterfaceIPTable) GetCrcString() string
func (*ClassifySetInterfaceIPTable) GetMessageName ¶
func (*ClassifySetInterfaceIPTable) GetMessageName() string
func (*ClassifySetInterfaceIPTable) GetMessageType ¶
func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType
func (*ClassifySetInterfaceIPTable) Reset ¶
func (m *ClassifySetInterfaceIPTable) Reset()
type ClassifySetInterfaceIPTableReply ¶
type ClassifySetInterfaceIPTableReply struct {
Retval int32
}
ClassifySetInterfaceIPTableReply represents VPP binary API message 'classify_set_interface_ip_table_reply'.
func (*ClassifySetInterfaceIPTableReply) GetCrcString ¶
func (*ClassifySetInterfaceIPTableReply) GetCrcString() string
func (*ClassifySetInterfaceIPTableReply) GetMessageName ¶
func (*ClassifySetInterfaceIPTableReply) GetMessageName() string
func (*ClassifySetInterfaceIPTableReply) GetMessageType ¶
func (*ClassifySetInterfaceIPTableReply) GetMessageType() api.MessageType
func (*ClassifySetInterfaceIPTableReply) Reset ¶
func (m *ClassifySetInterfaceIPTableReply) Reset()
type ClassifySetInterfaceL2Tables ¶
type ClassifySetInterfaceL2Tables struct { SwIfIndex InterfaceIndex IP4TableIndex uint32 IP6TableIndex uint32 OtherTableIndex uint32 IsInput bool }
ClassifySetInterfaceL2Tables represents VPP binary API message 'classify_set_interface_l2_tables'.
func (*ClassifySetInterfaceL2Tables) GetCrcString ¶
func (*ClassifySetInterfaceL2Tables) GetCrcString() string
func (*ClassifySetInterfaceL2Tables) GetMessageName ¶
func (*ClassifySetInterfaceL2Tables) GetMessageName() string
func (*ClassifySetInterfaceL2Tables) GetMessageType ¶
func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType
func (*ClassifySetInterfaceL2Tables) Reset ¶
func (m *ClassifySetInterfaceL2Tables) Reset()
type ClassifySetInterfaceL2TablesReply ¶
type ClassifySetInterfaceL2TablesReply struct {
Retval int32
}
ClassifySetInterfaceL2TablesReply represents VPP binary API message 'classify_set_interface_l2_tables_reply'.
func (*ClassifySetInterfaceL2TablesReply) GetCrcString ¶
func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string
func (*ClassifySetInterfaceL2TablesReply) GetMessageName ¶
func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string
func (*ClassifySetInterfaceL2TablesReply) GetMessageType ¶
func (*ClassifySetInterfaceL2TablesReply) GetMessageType() api.MessageType
func (*ClassifySetInterfaceL2TablesReply) Reset ¶
func (m *ClassifySetInterfaceL2TablesReply) Reset()
type ClassifyTableByInterface ¶
type ClassifyTableByInterface struct {
SwIfIndex InterfaceIndex
}
ClassifyTableByInterface represents VPP binary API message 'classify_table_by_interface'.
func (*ClassifyTableByInterface) GetCrcString ¶
func (*ClassifyTableByInterface) GetCrcString() string
func (*ClassifyTableByInterface) GetMessageName ¶
func (*ClassifyTableByInterface) GetMessageName() string
func (*ClassifyTableByInterface) GetMessageType ¶
func (*ClassifyTableByInterface) GetMessageType() api.MessageType
func (*ClassifyTableByInterface) Reset ¶
func (m *ClassifyTableByInterface) Reset()
type ClassifyTableByInterfaceReply ¶
type ClassifyTableByInterfaceReply struct { Retval int32 SwIfIndex InterfaceIndex L2TableID uint32 IP4TableID uint32 IP6TableID uint32 }
ClassifyTableByInterfaceReply represents VPP binary API message 'classify_table_by_interface_reply'.
func (*ClassifyTableByInterfaceReply) GetCrcString ¶
func (*ClassifyTableByInterfaceReply) GetCrcString() string
func (*ClassifyTableByInterfaceReply) GetMessageName ¶
func (*ClassifyTableByInterfaceReply) GetMessageName() string
func (*ClassifyTableByInterfaceReply) GetMessageType ¶
func (*ClassifyTableByInterfaceReply) GetMessageType() api.MessageType
func (*ClassifyTableByInterfaceReply) Reset ¶
func (m *ClassifyTableByInterfaceReply) Reset()
type ClassifyTableIds ¶
type ClassifyTableIds struct{}
ClassifyTableIds represents VPP binary API message 'classify_table_ids'.
func (*ClassifyTableIds) GetCrcString ¶
func (*ClassifyTableIds) GetCrcString() string
func (*ClassifyTableIds) GetMessageName ¶
func (*ClassifyTableIds) GetMessageName() string
func (*ClassifyTableIds) GetMessageType ¶
func (*ClassifyTableIds) GetMessageType() api.MessageType
func (*ClassifyTableIds) Reset ¶
func (m *ClassifyTableIds) Reset()
type ClassifyTableIdsReply ¶
ClassifyTableIdsReply represents VPP binary API message 'classify_table_ids_reply'.
func (*ClassifyTableIdsReply) GetCrcString ¶
func (*ClassifyTableIdsReply) GetCrcString() string
func (*ClassifyTableIdsReply) GetMessageName ¶
func (*ClassifyTableIdsReply) GetMessageName() string
func (*ClassifyTableIdsReply) GetMessageType ¶
func (*ClassifyTableIdsReply) GetMessageType() api.MessageType
func (*ClassifyTableIdsReply) Reset ¶
func (m *ClassifyTableIdsReply) Reset()
type ClassifyTableInfo ¶
type ClassifyTableInfo struct {
TableID uint32
}
ClassifyTableInfo represents VPP binary API message 'classify_table_info'.
func (*ClassifyTableInfo) GetCrcString ¶
func (*ClassifyTableInfo) GetCrcString() string
func (*ClassifyTableInfo) GetMessageName ¶
func (*ClassifyTableInfo) GetMessageName() string
func (*ClassifyTableInfo) GetMessageType ¶
func (*ClassifyTableInfo) GetMessageType() api.MessageType
func (*ClassifyTableInfo) Reset ¶
func (m *ClassifyTableInfo) Reset()
type ClassifyTableInfoReply ¶
type ClassifyTableInfoReply struct { Retval int32 TableID uint32 Nbuckets uint32 MatchNVectors uint32 SkipNVectors uint32 ActiveSessions uint32 NextTableIndex uint32 MissNextIndex uint32 MaskLength uint32 `struc:"sizeof=Mask"` Mask []byte }
ClassifyTableInfoReply represents VPP binary API message 'classify_table_info_reply'.
func (*ClassifyTableInfoReply) GetCrcString ¶
func (*ClassifyTableInfoReply) GetCrcString() string
func (*ClassifyTableInfoReply) GetMessageName ¶
func (*ClassifyTableInfoReply) GetMessageName() string
func (*ClassifyTableInfoReply) GetMessageType ¶
func (*ClassifyTableInfoReply) GetMessageType() api.MessageType
func (*ClassifyTableInfoReply) Reset ¶
func (m *ClassifyTableInfoReply) Reset()
type FlowClassifyDetails ¶
type FlowClassifyDetails struct { SwIfIndex InterfaceIndex TableIndex uint32 }
FlowClassifyDetails represents VPP binary API message 'flow_classify_details'.
func (*FlowClassifyDetails) GetCrcString ¶
func (*FlowClassifyDetails) GetCrcString() string
func (*FlowClassifyDetails) GetMessageName ¶
func (*FlowClassifyDetails) GetMessageName() string
func (*FlowClassifyDetails) GetMessageType ¶
func (*FlowClassifyDetails) GetMessageType() api.MessageType
func (*FlowClassifyDetails) Reset ¶
func (m *FlowClassifyDetails) Reset()
type FlowClassifyDump ¶
type FlowClassifyDump struct { Type FlowClassifyTable SwIfIndex InterfaceIndex }
FlowClassifyDump represents VPP binary API message 'flow_classify_dump'.
func (*FlowClassifyDump) GetCrcString ¶
func (*FlowClassifyDump) GetCrcString() string
func (*FlowClassifyDump) GetMessageName ¶
func (*FlowClassifyDump) GetMessageName() string
func (*FlowClassifyDump) GetMessageType ¶
func (*FlowClassifyDump) GetMessageType() api.MessageType
func (*FlowClassifyDump) Reset ¶
func (m *FlowClassifyDump) Reset()
type FlowClassifySetInterface ¶
type FlowClassifySetInterface struct { SwIfIndex InterfaceIndex IP4TableIndex uint32 IP6TableIndex uint32 IsAdd bool }
FlowClassifySetInterface represents VPP binary API message 'flow_classify_set_interface'.
func (*FlowClassifySetInterface) GetCrcString ¶
func (*FlowClassifySetInterface) GetCrcString() string
func (*FlowClassifySetInterface) GetMessageName ¶
func (*FlowClassifySetInterface) GetMessageName() string
func (*FlowClassifySetInterface) GetMessageType ¶
func (*FlowClassifySetInterface) GetMessageType() api.MessageType
func (*FlowClassifySetInterface) Reset ¶
func (m *FlowClassifySetInterface) Reset()
type FlowClassifySetInterfaceReply ¶
type FlowClassifySetInterfaceReply struct {
Retval int32
}
FlowClassifySetInterfaceReply represents VPP binary API message 'flow_classify_set_interface_reply'.
func (*FlowClassifySetInterfaceReply) GetCrcString ¶
func (*FlowClassifySetInterfaceReply) GetCrcString() string
func (*FlowClassifySetInterfaceReply) GetMessageName ¶
func (*FlowClassifySetInterfaceReply) GetMessageName() string
func (*FlowClassifySetInterfaceReply) GetMessageType ¶
func (*FlowClassifySetInterfaceReply) GetMessageType() api.MessageType
func (*FlowClassifySetInterfaceReply) Reset ¶
func (m *FlowClassifySetInterfaceReply) Reset()
type FlowClassifyTable ¶
type FlowClassifyTable uint8
FlowClassifyTable represents VPP binary API enum 'flow_classify_table'.
const ( FLOW_CLASSIFY_API_TABLE_IP4 FlowClassifyTable = 1 FLOW_CLASSIFY_API_TABLE_IP6 FlowClassifyTable = 2 )
func (FlowClassifyTable) String ¶
func (x FlowClassifyTable) String() string
type IfStatusFlags ¶
type IfStatusFlags uint32
IfStatusFlags represents VPP binary API enum 'if_status_flags'.
const ( IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1 IF_STATUS_API_FLAG_LINK_UP IfStatusFlags = 2 )
func (IfStatusFlags) String ¶
func (x IfStatusFlags) String() string
type InputACLSetInterface ¶
type InputACLSetInterface struct { SwIfIndex InterfaceIndex IP4TableIndex uint32 IP6TableIndex uint32 L2TableIndex uint32 IsAdd bool }
InputACLSetInterface represents VPP binary API message 'input_acl_set_interface'.
func (*InputACLSetInterface) GetCrcString ¶
func (*InputACLSetInterface) GetCrcString() string
func (*InputACLSetInterface) GetMessageName ¶
func (*InputACLSetInterface) GetMessageName() string
func (*InputACLSetInterface) GetMessageType ¶
func (*InputACLSetInterface) GetMessageType() api.MessageType
func (*InputACLSetInterface) Reset ¶
func (m *InputACLSetInterface) Reset()
type InputACLSetInterfaceReply ¶
type InputACLSetInterfaceReply struct {
Retval int32
}
InputACLSetInterfaceReply represents VPP binary API message 'input_acl_set_interface_reply'.
func (*InputACLSetInterfaceReply) GetCrcString ¶
func (*InputACLSetInterfaceReply) GetCrcString() string
func (*InputACLSetInterfaceReply) GetMessageName ¶
func (*InputACLSetInterfaceReply) GetMessageName() string
func (*InputACLSetInterfaceReply) GetMessageType ¶
func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType
func (*InputACLSetInterfaceReply) Reset ¶
func (m *InputACLSetInterfaceReply) Reset()
type InterfaceIndex ¶
type InterfaceIndex uint32
InterfaceIndex represents VPP binary API alias 'interface_index'.
type LinkDuplex ¶
type LinkDuplex uint32
LinkDuplex represents VPP binary API enum 'link_duplex'.
const ( LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0 LINK_DUPLEX_API_HALF LinkDuplex = 1 LINK_DUPLEX_API_FULL LinkDuplex = 2 )
func (LinkDuplex) String ¶
func (x LinkDuplex) String() string
type OutputACLSetInterface ¶
type OutputACLSetInterface struct { SwIfIndex InterfaceIndex IP4TableIndex uint32 IP6TableIndex uint32 L2TableIndex uint32 IsAdd bool }
OutputACLSetInterface represents VPP binary API message 'output_acl_set_interface'.
func (*OutputACLSetInterface) GetCrcString ¶
func (*OutputACLSetInterface) GetCrcString() string
func (*OutputACLSetInterface) GetMessageName ¶
func (*OutputACLSetInterface) GetMessageName() string
func (*OutputACLSetInterface) GetMessageType ¶
func (*OutputACLSetInterface) GetMessageType() api.MessageType
func (*OutputACLSetInterface) Reset ¶
func (m *OutputACLSetInterface) Reset()
type OutputACLSetInterfaceReply ¶
type OutputACLSetInterfaceReply struct {
Retval int32
}
OutputACLSetInterfaceReply represents VPP binary API message 'output_acl_set_interface_reply'.
func (*OutputACLSetInterfaceReply) GetCrcString ¶
func (*OutputACLSetInterfaceReply) GetCrcString() string
func (*OutputACLSetInterfaceReply) GetMessageName ¶
func (*OutputACLSetInterfaceReply) GetMessageName() string
func (*OutputACLSetInterfaceReply) GetMessageType ¶
func (*OutputACLSetInterfaceReply) GetMessageType() api.MessageType
func (*OutputACLSetInterfaceReply) Reset ¶
func (m *OutputACLSetInterfaceReply) Reset()
type PolicerClassifyDetails ¶
type PolicerClassifyDetails struct { SwIfIndex InterfaceIndex TableIndex uint32 }
PolicerClassifyDetails represents VPP binary API message 'policer_classify_details'.
func (*PolicerClassifyDetails) GetCrcString ¶
func (*PolicerClassifyDetails) GetCrcString() string
func (*PolicerClassifyDetails) GetMessageName ¶
func (*PolicerClassifyDetails) GetMessageName() string
func (*PolicerClassifyDetails) GetMessageType ¶
func (*PolicerClassifyDetails) GetMessageType() api.MessageType
func (*PolicerClassifyDetails) Reset ¶
func (m *PolicerClassifyDetails) Reset()
type PolicerClassifyDump ¶
type PolicerClassifyDump struct { Type PolicerClassifyTable SwIfIndex InterfaceIndex }
PolicerClassifyDump represents VPP binary API message 'policer_classify_dump'.
func (*PolicerClassifyDump) GetCrcString ¶
func (*PolicerClassifyDump) GetCrcString() string
func (*PolicerClassifyDump) GetMessageName ¶
func (*PolicerClassifyDump) GetMessageName() string
func (*PolicerClassifyDump) GetMessageType ¶
func (*PolicerClassifyDump) GetMessageType() api.MessageType
func (*PolicerClassifyDump) Reset ¶
func (m *PolicerClassifyDump) Reset()
type PolicerClassifySetInterface ¶
type PolicerClassifySetInterface struct { SwIfIndex InterfaceIndex IP4TableIndex uint32 IP6TableIndex uint32 L2TableIndex uint32 IsAdd bool }
PolicerClassifySetInterface represents VPP binary API message 'policer_classify_set_interface'.
func (*PolicerClassifySetInterface) GetCrcString ¶
func (*PolicerClassifySetInterface) GetCrcString() string
func (*PolicerClassifySetInterface) GetMessageName ¶
func (*PolicerClassifySetInterface) GetMessageName() string
func (*PolicerClassifySetInterface) GetMessageType ¶
func (*PolicerClassifySetInterface) GetMessageType() api.MessageType
func (*PolicerClassifySetInterface) Reset ¶
func (m *PolicerClassifySetInterface) Reset()
type PolicerClassifySetInterfaceReply ¶
type PolicerClassifySetInterfaceReply struct {
Retval int32
}
PolicerClassifySetInterfaceReply represents VPP binary API message 'policer_classify_set_interface_reply'.
func (*PolicerClassifySetInterfaceReply) GetCrcString ¶
func (*PolicerClassifySetInterfaceReply) GetCrcString() string
func (*PolicerClassifySetInterfaceReply) GetMessageName ¶
func (*PolicerClassifySetInterfaceReply) GetMessageName() string
func (*PolicerClassifySetInterfaceReply) GetMessageType ¶
func (*PolicerClassifySetInterfaceReply) GetMessageType() api.MessageType
func (*PolicerClassifySetInterfaceReply) Reset ¶
func (m *PolicerClassifySetInterfaceReply) Reset()
type PolicerClassifyTable ¶
type PolicerClassifyTable uint8
PolicerClassifyTable represents VPP binary API enum 'policer_classify_table'.
const ( POLICER_CLASSIFY_API_TABLE_IP4 PolicerClassifyTable = 1 POLICER_CLASSIFY_API_TABLE_IP6 PolicerClassifyTable = 2 POLICER_CLASSIFY_API_TABLE_L2 PolicerClassifyTable = 3 )
func (PolicerClassifyTable) String ¶
func (x PolicerClassifyTable) String() string
type RPCService ¶
type RPCService interface { DumpClassifySession(ctx context.Context, in *ClassifySessionDump) (RPCService_DumpClassifySessionClient, error) DumpFlowClassify(ctx context.Context, in *FlowClassifyDump) (RPCService_DumpFlowClassifyClient, error) DumpPolicerClassify(ctx context.Context, in *PolicerClassifyDump) (RPCService_DumpPolicerClassifyClient, error) ClassifyAddDelSession(ctx context.Context, in *ClassifyAddDelSession) (*ClassifyAddDelSessionReply, error) ClassifyAddDelTable(ctx context.Context, in *ClassifyAddDelTable) (*ClassifyAddDelTableReply, error) ClassifySetInterfaceIPTable(ctx context.Context, in *ClassifySetInterfaceIPTable) (*ClassifySetInterfaceIPTableReply, error) ClassifySetInterfaceL2Tables(ctx context.Context, in *ClassifySetInterfaceL2Tables) (*ClassifySetInterfaceL2TablesReply, error) ClassifyTableByInterface(ctx context.Context, in *ClassifyTableByInterface) (*ClassifyTableByInterfaceReply, error) ClassifyTableIds(ctx context.Context, in *ClassifyTableIds) (*ClassifyTableIdsReply, error) ClassifyTableInfo(ctx context.Context, in *ClassifyTableInfo) (*ClassifyTableInfoReply, error) FlowClassifySetInterface(ctx context.Context, in *FlowClassifySetInterface) (*FlowClassifySetInterfaceReply, error) InputACLSetInterface(ctx context.Context, in *InputACLSetInterface) (*InputACLSetInterfaceReply, error) OutputACLSetInterface(ctx context.Context, in *OutputACLSetInterface) (*OutputACLSetInterfaceReply, error) PolicerClassifySetInterface(ctx context.Context, in *PolicerClassifySetInterface) (*PolicerClassifySetInterfaceReply, error) }
RPCService represents RPC service API for classify module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpClassifySessionClient ¶
type RPCService_DumpClassifySessionClient interface {
Recv() (*ClassifySessionDetails, error)
}
type RPCService_DumpFlowClassifyClient ¶
type RPCService_DumpFlowClassifyClient interface {
Recv() (*FlowClassifyDetails, error)
}
type RPCService_DumpPolicerClassifyClient ¶
type RPCService_DumpPolicerClassifyClient interface {
Recv() (*PolicerClassifyDetails, error)
}
type SubIfFlags ¶
type SubIfFlags uint32
SubIfFlags represents VPP binary API enum 'sub_if_flags'.
const ( SUB_IF_API_FLAG_NO_TAGS SubIfFlags = 1 SUB_IF_API_FLAG_ONE_TAG SubIfFlags = 2 SUB_IF_API_FLAG_TWO_TAGS SubIfFlags = 4 SUB_IF_API_FLAG_DOT1AD SubIfFlags = 8 SUB_IF_API_FLAG_EXACT_MATCH SubIfFlags = 16 SUB_IF_API_FLAG_DEFAULT SubIfFlags = 32 SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64 SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128 SUB_IF_API_FLAG_MASK_VNET SubIfFlags = 254 SUB_IF_API_FLAG_DOT1AH SubIfFlags = 256 )
func (SubIfFlags) String ¶
func (x SubIfFlags) String() string