Documentation
¶
Overview ¶
Package classify contains generated bindings for API file classify.api.
Contents:
1 alias 9 enums 28 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type ClassifyAction
- type ClassifyAddDelSession
- func (*ClassifyAddDelSession) GetCrcString() string
- func (*ClassifyAddDelSession) GetMessageName() string
- func (*ClassifyAddDelSession) GetMessageType() api.MessageType
- func (m *ClassifyAddDelSession) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyAddDelSession) Reset()
- func (m *ClassifyAddDelSession) Size() (size int)
- func (m *ClassifyAddDelSession) Unmarshal(b []byte) error
- type ClassifyAddDelSessionReply
- func (*ClassifyAddDelSessionReply) GetCrcString() string
- func (*ClassifyAddDelSessionReply) GetMessageName() string
- func (*ClassifyAddDelSessionReply) GetMessageType() api.MessageType
- func (m *ClassifyAddDelSessionReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyAddDelSessionReply) Reset()
- func (m *ClassifyAddDelSessionReply) Size() (size int)
- func (m *ClassifyAddDelSessionReply) Unmarshal(b []byte) error
- type ClassifyAddDelTable
- func (*ClassifyAddDelTable) GetCrcString() string
- func (*ClassifyAddDelTable) GetMessageName() string
- func (*ClassifyAddDelTable) GetMessageType() api.MessageType
- func (m *ClassifyAddDelTable) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyAddDelTable) Reset()
- func (m *ClassifyAddDelTable) Size() (size int)
- func (m *ClassifyAddDelTable) Unmarshal(b []byte) error
- type ClassifyAddDelTableReply
- func (*ClassifyAddDelTableReply) GetCrcString() string
- func (*ClassifyAddDelTableReply) GetMessageName() string
- func (*ClassifyAddDelTableReply) GetMessageType() api.MessageType
- func (m *ClassifyAddDelTableReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyAddDelTableReply) Reset()
- func (m *ClassifyAddDelTableReply) Size() (size int)
- func (m *ClassifyAddDelTableReply) Unmarshal(b []byte) error
- type ClassifySessionDetails
- func (*ClassifySessionDetails) GetCrcString() string
- func (*ClassifySessionDetails) GetMessageName() string
- func (*ClassifySessionDetails) GetMessageType() api.MessageType
- func (m *ClassifySessionDetails) Marshal(b []byte) ([]byte, error)
- func (m *ClassifySessionDetails) Reset()
- func (m *ClassifySessionDetails) Size() (size int)
- func (m *ClassifySessionDetails) Unmarshal(b []byte) error
- type ClassifySessionDump
- func (*ClassifySessionDump) GetCrcString() string
- func (*ClassifySessionDump) GetMessageName() string
- func (*ClassifySessionDump) GetMessageType() api.MessageType
- func (m *ClassifySessionDump) Marshal(b []byte) ([]byte, error)
- func (m *ClassifySessionDump) Reset()
- func (m *ClassifySessionDump) Size() (size int)
- func (m *ClassifySessionDump) Unmarshal(b []byte) error
- type ClassifySetInterfaceIPTable
- func (*ClassifySetInterfaceIPTable) GetCrcString() string
- func (*ClassifySetInterfaceIPTable) GetMessageName() string
- func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType
- func (m *ClassifySetInterfaceIPTable) Marshal(b []byte) ([]byte, error)
- func (m *ClassifySetInterfaceIPTable) Reset()
- func (m *ClassifySetInterfaceIPTable) Size() (size int)
- func (m *ClassifySetInterfaceIPTable) Unmarshal(b []byte) error
- type ClassifySetInterfaceIPTableReply
- func (*ClassifySetInterfaceIPTableReply) GetCrcString() string
- func (*ClassifySetInterfaceIPTableReply) GetMessageName() string
- func (*ClassifySetInterfaceIPTableReply) GetMessageType() api.MessageType
- func (m *ClassifySetInterfaceIPTableReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifySetInterfaceIPTableReply) Reset()
- func (m *ClassifySetInterfaceIPTableReply) Size() (size int)
- func (m *ClassifySetInterfaceIPTableReply) Unmarshal(b []byte) error
- type ClassifySetInterfaceL2Tables
- func (*ClassifySetInterfaceL2Tables) GetCrcString() string
- func (*ClassifySetInterfaceL2Tables) GetMessageName() string
- func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType
- func (m *ClassifySetInterfaceL2Tables) Marshal(b []byte) ([]byte, error)
- func (m *ClassifySetInterfaceL2Tables) Reset()
- func (m *ClassifySetInterfaceL2Tables) Size() (size int)
- func (m *ClassifySetInterfaceL2Tables) Unmarshal(b []byte) error
- type ClassifySetInterfaceL2TablesReply
- func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string
- func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string
- func (*ClassifySetInterfaceL2TablesReply) GetMessageType() api.MessageType
- func (m *ClassifySetInterfaceL2TablesReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifySetInterfaceL2TablesReply) Reset()
- func (m *ClassifySetInterfaceL2TablesReply) Size() (size int)
- func (m *ClassifySetInterfaceL2TablesReply) Unmarshal(b []byte) error
- type ClassifyTableByInterface
- func (*ClassifyTableByInterface) GetCrcString() string
- func (*ClassifyTableByInterface) GetMessageName() string
- func (*ClassifyTableByInterface) GetMessageType() api.MessageType
- func (m *ClassifyTableByInterface) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyTableByInterface) Reset()
- func (m *ClassifyTableByInterface) Size() (size int)
- func (m *ClassifyTableByInterface) Unmarshal(b []byte) error
- type ClassifyTableByInterfaceReply
- func (*ClassifyTableByInterfaceReply) GetCrcString() string
- func (*ClassifyTableByInterfaceReply) GetMessageName() string
- func (*ClassifyTableByInterfaceReply) GetMessageType() api.MessageType
- func (m *ClassifyTableByInterfaceReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyTableByInterfaceReply) Reset()
- func (m *ClassifyTableByInterfaceReply) Size() (size int)
- func (m *ClassifyTableByInterfaceReply) Unmarshal(b []byte) error
- type ClassifyTableIds
- func (*ClassifyTableIds) GetCrcString() string
- func (*ClassifyTableIds) GetMessageName() string
- func (*ClassifyTableIds) GetMessageType() api.MessageType
- func (m *ClassifyTableIds) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyTableIds) Reset()
- func (m *ClassifyTableIds) Size() (size int)
- func (m *ClassifyTableIds) Unmarshal(b []byte) error
- type ClassifyTableIdsReply
- func (*ClassifyTableIdsReply) GetCrcString() string
- func (*ClassifyTableIdsReply) GetMessageName() string
- func (*ClassifyTableIdsReply) GetMessageType() api.MessageType
- func (m *ClassifyTableIdsReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyTableIdsReply) Reset()
- func (m *ClassifyTableIdsReply) Size() (size int)
- func (m *ClassifyTableIdsReply) Unmarshal(b []byte) error
- type ClassifyTableInfo
- func (*ClassifyTableInfo) GetCrcString() string
- func (*ClassifyTableInfo) GetMessageName() string
- func (*ClassifyTableInfo) GetMessageType() api.MessageType
- func (m *ClassifyTableInfo) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyTableInfo) Reset()
- func (m *ClassifyTableInfo) Size() (size int)
- func (m *ClassifyTableInfo) Unmarshal(b []byte) error
- type ClassifyTableInfoReply
- func (*ClassifyTableInfoReply) GetCrcString() string
- func (*ClassifyTableInfoReply) GetMessageName() string
- func (*ClassifyTableInfoReply) GetMessageType() api.MessageType
- func (m *ClassifyTableInfoReply) Marshal(b []byte) ([]byte, error)
- func (m *ClassifyTableInfoReply) Reset()
- func (m *ClassifyTableInfoReply) Size() (size int)
- func (m *ClassifyTableInfoReply) Unmarshal(b []byte) error
- type FlowClassifyDetails
- func (*FlowClassifyDetails) GetCrcString() string
- func (*FlowClassifyDetails) GetMessageName() string
- func (*FlowClassifyDetails) GetMessageType() api.MessageType
- func (m *FlowClassifyDetails) Marshal(b []byte) ([]byte, error)
- func (m *FlowClassifyDetails) Reset()
- func (m *FlowClassifyDetails) Size() (size int)
- func (m *FlowClassifyDetails) Unmarshal(b []byte) error
- type FlowClassifyDump
- func (*FlowClassifyDump) GetCrcString() string
- func (*FlowClassifyDump) GetMessageName() string
- func (*FlowClassifyDump) GetMessageType() api.MessageType
- func (m *FlowClassifyDump) Marshal(b []byte) ([]byte, error)
- func (m *FlowClassifyDump) Reset()
- func (m *FlowClassifyDump) Size() (size int)
- func (m *FlowClassifyDump) Unmarshal(b []byte) error
- type FlowClassifySetInterface
- func (*FlowClassifySetInterface) GetCrcString() string
- func (*FlowClassifySetInterface) GetMessageName() string
- func (*FlowClassifySetInterface) GetMessageType() api.MessageType
- func (m *FlowClassifySetInterface) Marshal(b []byte) ([]byte, error)
- func (m *FlowClassifySetInterface) Reset()
- func (m *FlowClassifySetInterface) Size() (size int)
- func (m *FlowClassifySetInterface) Unmarshal(b []byte) error
- type FlowClassifySetInterfaceReply
- func (*FlowClassifySetInterfaceReply) GetCrcString() string
- func (*FlowClassifySetInterfaceReply) GetMessageName() string
- func (*FlowClassifySetInterfaceReply) GetMessageType() api.MessageType
- func (m *FlowClassifySetInterfaceReply) Marshal(b []byte) ([]byte, error)
- func (m *FlowClassifySetInterfaceReply) Reset()
- func (m *FlowClassifySetInterfaceReply) Size() (size int)
- func (m *FlowClassifySetInterfaceReply) Unmarshal(b []byte) error
- type FlowClassifyTable
- type IfStatusFlags
- type IfType
- type InputACLSetInterface
- func (*InputACLSetInterface) GetCrcString() string
- func (*InputACLSetInterface) GetMessageName() string
- func (*InputACLSetInterface) GetMessageType() api.MessageType
- func (m *InputACLSetInterface) Marshal(b []byte) ([]byte, error)
- func (m *InputACLSetInterface) Reset()
- func (m *InputACLSetInterface) Size() (size int)
- func (m *InputACLSetInterface) Unmarshal(b []byte) error
- type InputACLSetInterfaceReply
- func (*InputACLSetInterfaceReply) GetCrcString() string
- func (*InputACLSetInterfaceReply) GetMessageName() string
- func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType
- func (m *InputACLSetInterfaceReply) Marshal(b []byte) ([]byte, error)
- func (m *InputACLSetInterfaceReply) Reset()
- func (m *InputACLSetInterfaceReply) Size() (size int)
- func (m *InputACLSetInterfaceReply) Unmarshal(b []byte) error
- type InterfaceIndex
- type LinkDuplex
- type MtuProto
- type OutputACLSetInterface
- func (*OutputACLSetInterface) GetCrcString() string
- func (*OutputACLSetInterface) GetMessageName() string
- func (*OutputACLSetInterface) GetMessageType() api.MessageType
- func (m *OutputACLSetInterface) Marshal(b []byte) ([]byte, error)
- func (m *OutputACLSetInterface) Reset()
- func (m *OutputACLSetInterface) Size() (size int)
- func (m *OutputACLSetInterface) Unmarshal(b []byte) error
- type OutputACLSetInterfaceReply
- func (*OutputACLSetInterfaceReply) GetCrcString() string
- func (*OutputACLSetInterfaceReply) GetMessageName() string
- func (*OutputACLSetInterfaceReply) GetMessageType() api.MessageType
- func (m *OutputACLSetInterfaceReply) Marshal(b []byte) ([]byte, error)
- func (m *OutputACLSetInterfaceReply) Reset()
- func (m *OutputACLSetInterfaceReply) Size() (size int)
- func (m *OutputACLSetInterfaceReply) Unmarshal(b []byte) error
- type PolicerClassifyDetails
- func (*PolicerClassifyDetails) GetCrcString() string
- func (*PolicerClassifyDetails) GetMessageName() string
- func (*PolicerClassifyDetails) GetMessageType() api.MessageType
- func (m *PolicerClassifyDetails) Marshal(b []byte) ([]byte, error)
- func (m *PolicerClassifyDetails) Reset()
- func (m *PolicerClassifyDetails) Size() (size int)
- func (m *PolicerClassifyDetails) Unmarshal(b []byte) error
- type PolicerClassifyDump
- func (*PolicerClassifyDump) GetCrcString() string
- func (*PolicerClassifyDump) GetMessageName() string
- func (*PolicerClassifyDump) GetMessageType() api.MessageType
- func (m *PolicerClassifyDump) Marshal(b []byte) ([]byte, error)
- func (m *PolicerClassifyDump) Reset()
- func (m *PolicerClassifyDump) Size() (size int)
- func (m *PolicerClassifyDump) Unmarshal(b []byte) error
- type PolicerClassifySetInterface
- func (*PolicerClassifySetInterface) GetCrcString() string
- func (*PolicerClassifySetInterface) GetMessageName() string
- func (*PolicerClassifySetInterface) GetMessageType() api.MessageType
- func (m *PolicerClassifySetInterface) Marshal(b []byte) ([]byte, error)
- func (m *PolicerClassifySetInterface) Reset()
- func (m *PolicerClassifySetInterface) Size() (size int)
- func (m *PolicerClassifySetInterface) Unmarshal(b []byte) error
- type PolicerClassifySetInterfaceReply
- func (*PolicerClassifySetInterfaceReply) GetCrcString() string
- func (*PolicerClassifySetInterfaceReply) GetMessageName() string
- func (*PolicerClassifySetInterfaceReply) GetMessageType() api.MessageType
- func (m *PolicerClassifySetInterfaceReply) Marshal(b []byte) ([]byte, error)
- func (m *PolicerClassifySetInterfaceReply) Reset()
- func (m *PolicerClassifySetInterfaceReply) Size() (size int)
- func (m *PolicerClassifySetInterfaceReply) Unmarshal(b []byte) error
- type PolicerClassifyTable
- type RPCService
- type RPCService_ClassifySessionDumpClient
- type RPCService_FlowClassifyDumpClient
- type RPCService_PolicerClassifyDumpClient
- type RxMode
- type SubIfFlags
Constants ¶
const ( APIFile = "classify" APIVersion = "3.0.0" VersionCrc = 0x13587952 )
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", } 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", } 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", } 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{ 1: "IF_API_TYPE_HARDWARE", 2: "IF_API_TYPE_SUB", 3: "IF_API_TYPE_P2P", 4: "IF_API_TYPE_PIPE", } IfType_value = map[string]uint32{ "IF_API_TYPE_HARDWARE": 1, "IF_API_TYPE_SUB": 2, "IF_API_TYPE_P2P": 3, "IF_API_TYPE_PIPE": 4, } )
var ( LinkDuplex_name = map[uint32]string{ 0: "LINK_DUPLEX_API_UNKNOWN", 1: "LINK_DUPLEX_API_HALF", 2: "LINK_DUPLEX_API_FULL", } 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{ 1: "MTU_PROTO_API_L3", 2: "MTU_PROTO_API_IP4", 3: "MTU_PROTO_API_IP6", 4: "MTU_PROTO_API_MPLS", 5: "MTU_PROTO_API_N", } MtuProto_value = map[string]uint32{ "MTU_PROTO_API_L3": 1, "MTU_PROTO_API_IP4": 2, "MTU_PROTO_API_IP6": 3, "MTU_PROTO_API_MPLS": 4, "MTU_PROTO_API_N": 5, } )
var ( PolicerClassifyTable_name = map[uint8]string{ 1: "POLICER_CLASSIFY_API_TABLE_IP4", 2: "POLICER_CLASSIFY_API_TABLE_IP6", 3: "POLICER_CLASSIFY_API_TABLE_L2", } 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", } 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", } 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 defines 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 `binapi:"bool,name=is_add" json:"is_add,omitempty"` TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"` HitNextIndex uint32 `binapi:"u32,name=hit_next_index,default=4294967295" json:"hit_next_index,omitempty"` OpaqueIndex uint32 `binapi:"u32,name=opaque_index,default=4294967295" json:"opaque_index,omitempty"` Advance int32 `binapi:"i32,name=advance,default=0" json:"advance,omitempty"` Action ClassifyAction `binapi:"classify_action,name=action,default=0" json:"action,omitempty"` Metadata uint32 `binapi:"u32,name=metadata,default=0" json:"metadata,omitempty"` MatchLen uint32 `binapi:"u32,name=match_len" json:"-"` Match []byte `binapi:"u8[match_len],name=match" json:"match,omitempty"` }
ClassifyAddDelSession defines 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) Marshal ¶
func (m *ClassifyAddDelSession) Marshal(b []byte) ([]byte, error)
func (*ClassifyAddDelSession) Reset ¶
func (m *ClassifyAddDelSession) Reset()
func (*ClassifyAddDelSession) Size ¶
func (m *ClassifyAddDelSession) Size() (size int)
func (*ClassifyAddDelSession) Unmarshal ¶
func (m *ClassifyAddDelSession) Unmarshal(b []byte) error
type ClassifyAddDelSessionReply ¶
type ClassifyAddDelSessionReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ClassifyAddDelSessionReply defines 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) Marshal ¶
func (m *ClassifyAddDelSessionReply) Marshal(b []byte) ([]byte, error)
func (*ClassifyAddDelSessionReply) Reset ¶
func (m *ClassifyAddDelSessionReply) Reset()
func (*ClassifyAddDelSessionReply) Size ¶
func (m *ClassifyAddDelSessionReply) Size() (size int)
func (*ClassifyAddDelSessionReply) Unmarshal ¶
func (m *ClassifyAddDelSessionReply) Unmarshal(b []byte) error
type ClassifyAddDelTable ¶
type ClassifyAddDelTable struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` DelChain bool `binapi:"bool,name=del_chain" json:"del_chain,omitempty"` TableIndex uint32 `binapi:"u32,name=table_index,default=4294967295" json:"table_index,omitempty"` Nbuckets uint32 `binapi:"u32,name=nbuckets,default=2" json:"nbuckets,omitempty"` MemorySize uint32 `binapi:"u32,name=memory_size,default=2097152" json:"memory_size,omitempty"` SkipNVectors uint32 `binapi:"u32,name=skip_n_vectors,default=0" json:"skip_n_vectors,omitempty"` MatchNVectors uint32 `binapi:"u32,name=match_n_vectors,default=1" json:"match_n_vectors,omitempty"` NextTableIndex uint32 `binapi:"u32,name=next_table_index,default=4294967295" json:"next_table_index,omitempty"` MissNextIndex uint32 `binapi:"u32,name=miss_next_index,default=4294967295" json:"miss_next_index,omitempty"` CurrentDataFlag uint8 `binapi:"u8,name=current_data_flag,default=0" json:"current_data_flag,omitempty"` CurrentDataOffset int16 `binapi:"i16,name=current_data_offset,default=0" json:"current_data_offset,omitempty"` MaskLen uint32 `binapi:"u32,name=mask_len" json:"-"` Mask []byte `binapi:"u8[mask_len],name=mask" json:"mask,omitempty"` }
ClassifyAddDelTable defines 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) Marshal ¶
func (m *ClassifyAddDelTable) Marshal(b []byte) ([]byte, error)
func (*ClassifyAddDelTable) Reset ¶
func (m *ClassifyAddDelTable) Reset()
func (*ClassifyAddDelTable) Size ¶
func (m *ClassifyAddDelTable) Size() (size int)
func (*ClassifyAddDelTable) Unmarshal ¶
func (m *ClassifyAddDelTable) Unmarshal(b []byte) error
type ClassifyAddDelTableReply ¶
type ClassifyAddDelTableReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` NewTableIndex uint32 `binapi:"u32,name=new_table_index" json:"new_table_index,omitempty"` SkipNVectors uint32 `binapi:"u32,name=skip_n_vectors" json:"skip_n_vectors,omitempty"` MatchNVectors uint32 `binapi:"u32,name=match_n_vectors" json:"match_n_vectors,omitempty"` }
ClassifyAddDelTableReply defines 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) Marshal ¶
func (m *ClassifyAddDelTableReply) Marshal(b []byte) ([]byte, error)
func (*ClassifyAddDelTableReply) Reset ¶
func (m *ClassifyAddDelTableReply) Reset()
func (*ClassifyAddDelTableReply) Size ¶
func (m *ClassifyAddDelTableReply) Size() (size int)
func (*ClassifyAddDelTableReply) Unmarshal ¶
func (m *ClassifyAddDelTableReply) Unmarshal(b []byte) error
type ClassifySessionDetails ¶
type ClassifySessionDetails struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` HitNextIndex uint32 `binapi:"u32,name=hit_next_index" json:"hit_next_index,omitempty"` Advance int32 `binapi:"i32,name=advance" json:"advance,omitempty"` OpaqueIndex uint32 `binapi:"u32,name=opaque_index" json:"opaque_index,omitempty"` MatchLength uint32 `binapi:"u32,name=match_length" json:"-"` Match []byte `binapi:"u8[match_length],name=match" json:"match,omitempty"` }
ClassifySessionDetails defines 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) Marshal ¶
func (m *ClassifySessionDetails) Marshal(b []byte) ([]byte, error)
func (*ClassifySessionDetails) Reset ¶
func (m *ClassifySessionDetails) Reset()
func (*ClassifySessionDetails) Size ¶
func (m *ClassifySessionDetails) Size() (size int)
func (*ClassifySessionDetails) Unmarshal ¶
func (m *ClassifySessionDetails) Unmarshal(b []byte) error
type ClassifySessionDump ¶
type ClassifySessionDump struct {
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
}
ClassifySessionDump defines 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) Marshal ¶
func (m *ClassifySessionDump) Marshal(b []byte) ([]byte, error)
func (*ClassifySessionDump) Reset ¶
func (m *ClassifySessionDump) Reset()
func (*ClassifySessionDump) Size ¶
func (m *ClassifySessionDump) Size() (size int)
func (*ClassifySessionDump) Unmarshal ¶
func (m *ClassifySessionDump) Unmarshal(b []byte) error
type ClassifySetInterfaceIPTable ¶
type ClassifySetInterfaceIPTable struct { IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"` }
ClassifySetInterfaceIPTable defines 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) Marshal ¶
func (m *ClassifySetInterfaceIPTable) Marshal(b []byte) ([]byte, error)
func (*ClassifySetInterfaceIPTable) Reset ¶
func (m *ClassifySetInterfaceIPTable) Reset()
func (*ClassifySetInterfaceIPTable) Size ¶
func (m *ClassifySetInterfaceIPTable) Size() (size int)
func (*ClassifySetInterfaceIPTable) Unmarshal ¶
func (m *ClassifySetInterfaceIPTable) Unmarshal(b []byte) error
type ClassifySetInterfaceIPTableReply ¶
type ClassifySetInterfaceIPTableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ClassifySetInterfaceIPTableReply defines 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) Marshal ¶
func (m *ClassifySetInterfaceIPTableReply) Marshal(b []byte) ([]byte, error)
func (*ClassifySetInterfaceIPTableReply) Reset ¶
func (m *ClassifySetInterfaceIPTableReply) Reset()
func (*ClassifySetInterfaceIPTableReply) Size ¶
func (m *ClassifySetInterfaceIPTableReply) Size() (size int)
func (*ClassifySetInterfaceIPTableReply) Unmarshal ¶
func (m *ClassifySetInterfaceIPTableReply) Unmarshal(b []byte) error
type ClassifySetInterfaceL2Tables ¶
type ClassifySetInterfaceL2Tables struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IP4TableIndex uint32 `binapi:"u32,name=ip4_table_index" json:"ip4_table_index,omitempty"` IP6TableIndex uint32 `binapi:"u32,name=ip6_table_index" json:"ip6_table_index,omitempty"` OtherTableIndex uint32 `binapi:"u32,name=other_table_index" json:"other_table_index,omitempty"` IsInput bool `binapi:"bool,name=is_input" json:"is_input,omitempty"` }
ClassifySetInterfaceL2Tables defines 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) Marshal ¶
func (m *ClassifySetInterfaceL2Tables) Marshal(b []byte) ([]byte, error)
func (*ClassifySetInterfaceL2Tables) Reset ¶
func (m *ClassifySetInterfaceL2Tables) Reset()
func (*ClassifySetInterfaceL2Tables) Size ¶
func (m *ClassifySetInterfaceL2Tables) Size() (size int)
func (*ClassifySetInterfaceL2Tables) Unmarshal ¶
func (m *ClassifySetInterfaceL2Tables) Unmarshal(b []byte) error
type ClassifySetInterfaceL2TablesReply ¶
type ClassifySetInterfaceL2TablesReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ClassifySetInterfaceL2TablesReply defines 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) Marshal ¶
func (m *ClassifySetInterfaceL2TablesReply) Marshal(b []byte) ([]byte, error)
func (*ClassifySetInterfaceL2TablesReply) Reset ¶
func (m *ClassifySetInterfaceL2TablesReply) Reset()
func (*ClassifySetInterfaceL2TablesReply) Size ¶
func (m *ClassifySetInterfaceL2TablesReply) Size() (size int)
func (*ClassifySetInterfaceL2TablesReply) Unmarshal ¶
func (m *ClassifySetInterfaceL2TablesReply) Unmarshal(b []byte) error
type ClassifyTableByInterface ¶
type ClassifyTableByInterface struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
ClassifyTableByInterface defines 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) Marshal ¶
func (m *ClassifyTableByInterface) Marshal(b []byte) ([]byte, error)
func (*ClassifyTableByInterface) Reset ¶
func (m *ClassifyTableByInterface) Reset()
func (*ClassifyTableByInterface) Size ¶
func (m *ClassifyTableByInterface) Size() (size int)
func (*ClassifyTableByInterface) Unmarshal ¶
func (m *ClassifyTableByInterface) Unmarshal(b []byte) error
type ClassifyTableByInterfaceReply ¶
type ClassifyTableByInterfaceReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` L2TableID uint32 `binapi:"u32,name=l2_table_id" json:"l2_table_id,omitempty"` IP4TableID uint32 `binapi:"u32,name=ip4_table_id" json:"ip4_table_id,omitempty"` IP6TableID uint32 `binapi:"u32,name=ip6_table_id" json:"ip6_table_id,omitempty"` }
ClassifyTableByInterfaceReply defines 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) Marshal ¶
func (m *ClassifyTableByInterfaceReply) Marshal(b []byte) ([]byte, error)
func (*ClassifyTableByInterfaceReply) Reset ¶
func (m *ClassifyTableByInterfaceReply) Reset()
func (*ClassifyTableByInterfaceReply) Size ¶
func (m *ClassifyTableByInterfaceReply) Size() (size int)
func (*ClassifyTableByInterfaceReply) Unmarshal ¶
func (m *ClassifyTableByInterfaceReply) Unmarshal(b []byte) error
type ClassifyTableIds ¶
type ClassifyTableIds struct{}
ClassifyTableIds defines 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()
func (*ClassifyTableIds) Size ¶
func (m *ClassifyTableIds) Size() (size int)
func (*ClassifyTableIds) Unmarshal ¶
func (m *ClassifyTableIds) Unmarshal(b []byte) error
type ClassifyTableIdsReply ¶
type ClassifyTableIdsReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Count uint32 `binapi:"u32,name=count" json:"-"` Ids []uint32 `binapi:"u32[count],name=ids" json:"ids,omitempty"` }
ClassifyTableIdsReply defines 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) Marshal ¶
func (m *ClassifyTableIdsReply) Marshal(b []byte) ([]byte, error)
func (*ClassifyTableIdsReply) Reset ¶
func (m *ClassifyTableIdsReply) Reset()
func (*ClassifyTableIdsReply) Size ¶
func (m *ClassifyTableIdsReply) Size() (size int)
func (*ClassifyTableIdsReply) Unmarshal ¶
func (m *ClassifyTableIdsReply) Unmarshal(b []byte) error
type ClassifyTableInfo ¶
type ClassifyTableInfo struct {
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
}
ClassifyTableInfo defines 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()
func (*ClassifyTableInfo) Size ¶
func (m *ClassifyTableInfo) Size() (size int)
func (*ClassifyTableInfo) Unmarshal ¶
func (m *ClassifyTableInfo) Unmarshal(b []byte) error
type ClassifyTableInfoReply ¶
type ClassifyTableInfoReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` Nbuckets uint32 `binapi:"u32,name=nbuckets" json:"nbuckets,omitempty"` MatchNVectors uint32 `binapi:"u32,name=match_n_vectors" json:"match_n_vectors,omitempty"` SkipNVectors uint32 `binapi:"u32,name=skip_n_vectors" json:"skip_n_vectors,omitempty"` ActiveSessions uint32 `binapi:"u32,name=active_sessions" json:"active_sessions,omitempty"` NextTableIndex uint32 `binapi:"u32,name=next_table_index" json:"next_table_index,omitempty"` MissNextIndex uint32 `binapi:"u32,name=miss_next_index" json:"miss_next_index,omitempty"` MaskLength uint32 `binapi:"u32,name=mask_length" json:"-"` Mask []byte `binapi:"u8[mask_length],name=mask" json:"mask,omitempty"` }
ClassifyTableInfoReply defines 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) Marshal ¶
func (m *ClassifyTableInfoReply) Marshal(b []byte) ([]byte, error)
func (*ClassifyTableInfoReply) Reset ¶
func (m *ClassifyTableInfoReply) Reset()
func (*ClassifyTableInfoReply) Size ¶
func (m *ClassifyTableInfoReply) Size() (size int)
func (*ClassifyTableInfoReply) Unmarshal ¶
func (m *ClassifyTableInfoReply) Unmarshal(b []byte) error
type FlowClassifyDetails ¶
type FlowClassifyDetails struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"` }
FlowClassifyDetails defines 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) Marshal ¶
func (m *FlowClassifyDetails) Marshal(b []byte) ([]byte, error)
func (*FlowClassifyDetails) Reset ¶
func (m *FlowClassifyDetails) Reset()
func (*FlowClassifyDetails) Size ¶
func (m *FlowClassifyDetails) Size() (size int)
func (*FlowClassifyDetails) Unmarshal ¶
func (m *FlowClassifyDetails) Unmarshal(b []byte) error
type FlowClassifyDump ¶
type FlowClassifyDump struct { Type FlowClassifyTable `binapi:"flow_classify_table,name=type" json:"type,omitempty"` SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
FlowClassifyDump defines 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()
func (*FlowClassifyDump) Size ¶
func (m *FlowClassifyDump) Size() (size int)
func (*FlowClassifyDump) Unmarshal ¶
func (m *FlowClassifyDump) Unmarshal(b []byte) error
type FlowClassifySetInterface ¶
type FlowClassifySetInterface struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IP4TableIndex uint32 `binapi:"u32,name=ip4_table_index" json:"ip4_table_index,omitempty"` IP6TableIndex uint32 `binapi:"u32,name=ip6_table_index" json:"ip6_table_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
FlowClassifySetInterface defines 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) Marshal ¶
func (m *FlowClassifySetInterface) Marshal(b []byte) ([]byte, error)
func (*FlowClassifySetInterface) Reset ¶
func (m *FlowClassifySetInterface) Reset()
func (*FlowClassifySetInterface) Size ¶
func (m *FlowClassifySetInterface) Size() (size int)
func (*FlowClassifySetInterface) Unmarshal ¶
func (m *FlowClassifySetInterface) Unmarshal(b []byte) error
type FlowClassifySetInterfaceReply ¶
type FlowClassifySetInterfaceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
FlowClassifySetInterfaceReply defines 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) Marshal ¶
func (m *FlowClassifySetInterfaceReply) Marshal(b []byte) ([]byte, error)
func (*FlowClassifySetInterfaceReply) Reset ¶
func (m *FlowClassifySetInterfaceReply) Reset()
func (*FlowClassifySetInterfaceReply) Size ¶
func (m *FlowClassifySetInterfaceReply) Size() (size int)
func (*FlowClassifySetInterfaceReply) Unmarshal ¶
func (m *FlowClassifySetInterfaceReply) Unmarshal(b []byte) error
type FlowClassifyTable ¶
type FlowClassifyTable uint8
FlowClassifyTable defines 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 defines 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 `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IP4TableIndex uint32 `binapi:"u32,name=ip4_table_index" json:"ip4_table_index,omitempty"` IP6TableIndex uint32 `binapi:"u32,name=ip6_table_index" json:"ip6_table_index,omitempty"` L2TableIndex uint32 `binapi:"u32,name=l2_table_index" json:"l2_table_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
InputACLSetInterface defines 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) Marshal ¶
func (m *InputACLSetInterface) Marshal(b []byte) ([]byte, error)
func (*InputACLSetInterface) Reset ¶
func (m *InputACLSetInterface) Reset()
func (*InputACLSetInterface) Size ¶
func (m *InputACLSetInterface) Size() (size int)
func (*InputACLSetInterface) Unmarshal ¶
func (m *InputACLSetInterface) Unmarshal(b []byte) error
type InputACLSetInterfaceReply ¶
type InputACLSetInterfaceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
InputACLSetInterfaceReply defines 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) Marshal ¶
func (m *InputACLSetInterfaceReply) Marshal(b []byte) ([]byte, error)
func (*InputACLSetInterfaceReply) Reset ¶
func (m *InputACLSetInterfaceReply) Reset()
func (*InputACLSetInterfaceReply) Size ¶
func (m *InputACLSetInterfaceReply) Size() (size int)
func (*InputACLSetInterfaceReply) Unmarshal ¶
func (m *InputACLSetInterfaceReply) Unmarshal(b []byte) error
type LinkDuplex ¶
type LinkDuplex uint32
LinkDuplex defines 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 `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IP4TableIndex uint32 `binapi:"u32,name=ip4_table_index" json:"ip4_table_index,omitempty"` IP6TableIndex uint32 `binapi:"u32,name=ip6_table_index" json:"ip6_table_index,omitempty"` L2TableIndex uint32 `binapi:"u32,name=l2_table_index" json:"l2_table_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
OutputACLSetInterface defines 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) Marshal ¶
func (m *OutputACLSetInterface) Marshal(b []byte) ([]byte, error)
func (*OutputACLSetInterface) Reset ¶
func (m *OutputACLSetInterface) Reset()
func (*OutputACLSetInterface) Size ¶
func (m *OutputACLSetInterface) Size() (size int)
func (*OutputACLSetInterface) Unmarshal ¶
func (m *OutputACLSetInterface) Unmarshal(b []byte) error
type OutputACLSetInterfaceReply ¶
type OutputACLSetInterfaceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
OutputACLSetInterfaceReply defines 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) Marshal ¶
func (m *OutputACLSetInterfaceReply) Marshal(b []byte) ([]byte, error)
func (*OutputACLSetInterfaceReply) Reset ¶
func (m *OutputACLSetInterfaceReply) Reset()
func (*OutputACLSetInterfaceReply) Size ¶
func (m *OutputACLSetInterfaceReply) Size() (size int)
func (*OutputACLSetInterfaceReply) Unmarshal ¶
func (m *OutputACLSetInterfaceReply) Unmarshal(b []byte) error
type PolicerClassifyDetails ¶
type PolicerClassifyDetails struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"` }
PolicerClassifyDetails defines 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) Marshal ¶
func (m *PolicerClassifyDetails) Marshal(b []byte) ([]byte, error)
func (*PolicerClassifyDetails) Reset ¶
func (m *PolicerClassifyDetails) Reset()
func (*PolicerClassifyDetails) Size ¶
func (m *PolicerClassifyDetails) Size() (size int)
func (*PolicerClassifyDetails) Unmarshal ¶
func (m *PolicerClassifyDetails) Unmarshal(b []byte) error
type PolicerClassifyDump ¶
type PolicerClassifyDump struct { Type PolicerClassifyTable `binapi:"policer_classify_table,name=type" json:"type,omitempty"` SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
PolicerClassifyDump defines 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) Marshal ¶
func (m *PolicerClassifyDump) Marshal(b []byte) ([]byte, error)
func (*PolicerClassifyDump) Reset ¶
func (m *PolicerClassifyDump) Reset()
func (*PolicerClassifyDump) Size ¶
func (m *PolicerClassifyDump) Size() (size int)
func (*PolicerClassifyDump) Unmarshal ¶
func (m *PolicerClassifyDump) Unmarshal(b []byte) error
type PolicerClassifySetInterface ¶
type PolicerClassifySetInterface struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IP4TableIndex uint32 `binapi:"u32,name=ip4_table_index" json:"ip4_table_index,omitempty"` IP6TableIndex uint32 `binapi:"u32,name=ip6_table_index" json:"ip6_table_index,omitempty"` L2TableIndex uint32 `binapi:"u32,name=l2_table_index" json:"l2_table_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
PolicerClassifySetInterface defines 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) Marshal ¶
func (m *PolicerClassifySetInterface) Marshal(b []byte) ([]byte, error)
func (*PolicerClassifySetInterface) Reset ¶
func (m *PolicerClassifySetInterface) Reset()
func (*PolicerClassifySetInterface) Size ¶
func (m *PolicerClassifySetInterface) Size() (size int)
func (*PolicerClassifySetInterface) Unmarshal ¶
func (m *PolicerClassifySetInterface) Unmarshal(b []byte) error
type PolicerClassifySetInterfaceReply ¶
type PolicerClassifySetInterfaceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
PolicerClassifySetInterfaceReply defines 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) Marshal ¶
func (m *PolicerClassifySetInterfaceReply) Marshal(b []byte) ([]byte, error)
func (*PolicerClassifySetInterfaceReply) Reset ¶
func (m *PolicerClassifySetInterfaceReply) Reset()
func (*PolicerClassifySetInterfaceReply) Size ¶
func (m *PolicerClassifySetInterfaceReply) Size() (size int)
func (*PolicerClassifySetInterfaceReply) Unmarshal ¶
func (m *PolicerClassifySetInterfaceReply) Unmarshal(b []byte) error
type PolicerClassifyTable ¶
type PolicerClassifyTable uint8
PolicerClassifyTable defines 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 { ClassifyAddDelSession(ctx context.Context, in *ClassifyAddDelSession) (*ClassifyAddDelSessionReply, error) ClassifyAddDelTable(ctx context.Context, in *ClassifyAddDelTable) (*ClassifyAddDelTableReply, error) ClassifySessionDump(ctx context.Context, in *ClassifySessionDump) (RPCService_ClassifySessionDumpClient, 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) FlowClassifyDump(ctx context.Context, in *FlowClassifyDump) (RPCService_FlowClassifyDumpClient, 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) PolicerClassifyDump(ctx context.Context, in *PolicerClassifyDump) (RPCService_PolicerClassifyDumpClient, error) PolicerClassifySetInterface(ctx context.Context, in *PolicerClassifySetInterface) (*PolicerClassifySetInterfaceReply, error) }
RPCService defines RPC service classify.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_ClassifySessionDumpClient ¶
type RPCService_ClassifySessionDumpClient interface { Recv() (*ClassifySessionDetails, error) api.Stream }
type RPCService_FlowClassifyDumpClient ¶
type RPCService_FlowClassifyDumpClient interface { Recv() (*FlowClassifyDetails, error) api.Stream }
type RPCService_PolicerClassifyDumpClient ¶
type RPCService_PolicerClassifyDumpClient interface { Recv() (*PolicerClassifyDetails, error) api.Stream }
type SubIfFlags ¶
type SubIfFlags uint32
SubIfFlags defines 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