classify

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package classify contains generated bindings for API file classify.api.

Contents:

 3 enums
42 messages

Index

Constants

View Source
const (
	APIFile    = "classify"
	APIVersion = "3.1.0"
	VersionCrc = 0x532123e1
)

Variables

View Source
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,
	}
)
View Source
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,
	}
)
View Source
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,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

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 ClassifyPcapGetTables

type ClassifyPcapGetTables struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

ClassifyPcapGetTables defines message 'classify_pcap_get_tables'.

func (*ClassifyPcapGetTables) GetCrcString

func (*ClassifyPcapGetTables) GetCrcString() string

func (*ClassifyPcapGetTables) GetMessageName

func (*ClassifyPcapGetTables) GetMessageName() string

func (*ClassifyPcapGetTables) GetMessageType

func (*ClassifyPcapGetTables) GetMessageType() api.MessageType

func (*ClassifyPcapGetTables) Marshal

func (m *ClassifyPcapGetTables) Marshal(b []byte) ([]byte, error)

func (*ClassifyPcapGetTables) Reset

func (m *ClassifyPcapGetTables) Reset()

func (*ClassifyPcapGetTables) Size

func (m *ClassifyPcapGetTables) Size() (size int)

func (*ClassifyPcapGetTables) Unmarshal

func (m *ClassifyPcapGetTables) Unmarshal(b []byte) error

type ClassifyPcapGetTablesReply

type ClassifyPcapGetTablesReply struct {
	Retval  int32    `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count   uint32   `binapi:"u32,name=count" json:"-"`
	Indices []uint32 `binapi:"u32[count],name=indices" json:"indices,omitempty"`
}

ClassifyPcapGetTablesReply defines message 'classify_pcap_get_tables_reply'.

func (*ClassifyPcapGetTablesReply) GetCrcString

func (*ClassifyPcapGetTablesReply) GetCrcString() string

func (*ClassifyPcapGetTablesReply) GetMessageName

func (*ClassifyPcapGetTablesReply) GetMessageName() string

func (*ClassifyPcapGetTablesReply) GetMessageType

func (*ClassifyPcapGetTablesReply) GetMessageType() api.MessageType

func (*ClassifyPcapGetTablesReply) Marshal

func (m *ClassifyPcapGetTablesReply) Marshal(b []byte) ([]byte, error)

func (*ClassifyPcapGetTablesReply) Reset

func (m *ClassifyPcapGetTablesReply) Reset()

func (*ClassifyPcapGetTablesReply) Size

func (m *ClassifyPcapGetTablesReply) Size() (size int)

func (*ClassifyPcapGetTablesReply) Unmarshal

func (m *ClassifyPcapGetTablesReply) Unmarshal(b []byte) error

type ClassifyPcapLookupTable

type ClassifyPcapLookupTable struct {
	SwIfIndex     interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,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"`
	MaskLen       uint32                         `binapi:"u32,name=mask_len" json:"-"`
	Mask          []byte                         `binapi:"u8[mask_len],name=mask" json:"mask,omitempty"`
}

ClassifyPcapLookupTable defines message 'classify_pcap_lookup_table'.

func (*ClassifyPcapLookupTable) GetCrcString

func (*ClassifyPcapLookupTable) GetCrcString() string

func (*ClassifyPcapLookupTable) GetMessageName

func (*ClassifyPcapLookupTable) GetMessageName() string

func (*ClassifyPcapLookupTable) GetMessageType

func (*ClassifyPcapLookupTable) GetMessageType() api.MessageType

func (*ClassifyPcapLookupTable) Marshal

func (m *ClassifyPcapLookupTable) Marshal(b []byte) ([]byte, error)

func (*ClassifyPcapLookupTable) Reset

func (m *ClassifyPcapLookupTable) Reset()

func (*ClassifyPcapLookupTable) Size

func (m *ClassifyPcapLookupTable) Size() (size int)

func (*ClassifyPcapLookupTable) Unmarshal

func (m *ClassifyPcapLookupTable) Unmarshal(b []byte) error

type ClassifyPcapLookupTableReply

type ClassifyPcapLookupTableReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"`
}

ClassifyPcapLookupTableReply defines message 'classify_pcap_lookup_table_reply'.

func (*ClassifyPcapLookupTableReply) GetCrcString

func (*ClassifyPcapLookupTableReply) GetCrcString() string

func (*ClassifyPcapLookupTableReply) GetMessageName

func (*ClassifyPcapLookupTableReply) GetMessageName() string

func (*ClassifyPcapLookupTableReply) GetMessageType

func (*ClassifyPcapLookupTableReply) GetMessageType() api.MessageType

func (*ClassifyPcapLookupTableReply) Marshal

func (m *ClassifyPcapLookupTableReply) Marshal(b []byte) ([]byte, error)

func (*ClassifyPcapLookupTableReply) Reset

func (m *ClassifyPcapLookupTableReply) Reset()

func (*ClassifyPcapLookupTableReply) Size

func (m *ClassifyPcapLookupTableReply) Size() (size int)

func (*ClassifyPcapLookupTableReply) Unmarshal

func (m *ClassifyPcapLookupTableReply) Unmarshal(b []byte) error

type ClassifyPcapSetTable

type ClassifyPcapSetTable struct {
	SwIfIndex  interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	TableIndex uint32                         `binapi:"u32,name=table_index,default=4294967295" json:"table_index,omitempty"`
	SortMasks  bool                           `binapi:"bool,name=sort_masks,default=0" json:"sort_masks,omitempty"`
}

ClassifyPcapSetTable defines message 'classify_pcap_set_table'.

func (*ClassifyPcapSetTable) GetCrcString

func (*ClassifyPcapSetTable) GetCrcString() string

func (*ClassifyPcapSetTable) GetMessageName

func (*ClassifyPcapSetTable) GetMessageName() string

func (*ClassifyPcapSetTable) GetMessageType

func (*ClassifyPcapSetTable) GetMessageType() api.MessageType

func (*ClassifyPcapSetTable) Marshal

func (m *ClassifyPcapSetTable) Marshal(b []byte) ([]byte, error)

func (*ClassifyPcapSetTable) Reset

func (m *ClassifyPcapSetTable) Reset()

func (*ClassifyPcapSetTable) Size

func (m *ClassifyPcapSetTable) Size() (size int)

func (*ClassifyPcapSetTable) Unmarshal

func (m *ClassifyPcapSetTable) Unmarshal(b []byte) error

type ClassifyPcapSetTableReply

type ClassifyPcapSetTableReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"`
}

ClassifyPcapSetTableReply defines message 'classify_pcap_set_table_reply'.

func (*ClassifyPcapSetTableReply) GetCrcString

func (*ClassifyPcapSetTableReply) GetCrcString() string

func (*ClassifyPcapSetTableReply) GetMessageName

func (*ClassifyPcapSetTableReply) GetMessageName() string

func (*ClassifyPcapSetTableReply) GetMessageType

func (*ClassifyPcapSetTableReply) GetMessageType() api.MessageType

func (*ClassifyPcapSetTableReply) Marshal

func (m *ClassifyPcapSetTableReply) Marshal(b []byte) ([]byte, error)

func (*ClassifyPcapSetTableReply) Reset

func (m *ClassifyPcapSetTableReply) Reset()

func (*ClassifyPcapSetTableReply) Size

func (m *ClassifyPcapSetTableReply) Size() (size int)

func (*ClassifyPcapSetTableReply) Unmarshal

func (m *ClassifyPcapSetTableReply) 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  interface_types.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) Marshal

func (m *ClassifySetInterfaceIPTableReply) Marshal(b []byte) ([]byte, error)

func (*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       interface_types.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) Marshal

func (m *ClassifySetInterfaceL2TablesReply) Marshal(b []byte) ([]byte, error)

func (*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 interface_types.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  interface_types.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) Marshal

func (m *ClassifyTableIds) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *ClassifyTableInfo) Marshal(b []byte) ([]byte, error)

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 ClassifyTraceGetTables

type ClassifyTraceGetTables struct{}

ClassifyTraceGetTables defines message 'classify_trace_get_tables'.

func (*ClassifyTraceGetTables) GetCrcString

func (*ClassifyTraceGetTables) GetCrcString() string

func (*ClassifyTraceGetTables) GetMessageName

func (*ClassifyTraceGetTables) GetMessageName() string

func (*ClassifyTraceGetTables) GetMessageType

func (*ClassifyTraceGetTables) GetMessageType() api.MessageType

func (*ClassifyTraceGetTables) Marshal

func (m *ClassifyTraceGetTables) Marshal(b []byte) ([]byte, error)

func (*ClassifyTraceGetTables) Reset

func (m *ClassifyTraceGetTables) Reset()

func (*ClassifyTraceGetTables) Size

func (m *ClassifyTraceGetTables) Size() (size int)

func (*ClassifyTraceGetTables) Unmarshal

func (m *ClassifyTraceGetTables) Unmarshal(b []byte) error

type ClassifyTraceGetTablesReply

type ClassifyTraceGetTablesReply struct {
	Retval  int32    `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count   uint32   `binapi:"u32,name=count" json:"-"`
	Indices []uint32 `binapi:"u32[count],name=indices" json:"indices,omitempty"`
}

ClassifyTraceGetTablesReply defines message 'classify_trace_get_tables_reply'.

func (*ClassifyTraceGetTablesReply) GetCrcString

func (*ClassifyTraceGetTablesReply) GetCrcString() string

func (*ClassifyTraceGetTablesReply) GetMessageName

func (*ClassifyTraceGetTablesReply) GetMessageName() string

func (*ClassifyTraceGetTablesReply) GetMessageType

func (*ClassifyTraceGetTablesReply) GetMessageType() api.MessageType

func (*ClassifyTraceGetTablesReply) Marshal

func (m *ClassifyTraceGetTablesReply) Marshal(b []byte) ([]byte, error)

func (*ClassifyTraceGetTablesReply) Reset

func (m *ClassifyTraceGetTablesReply) Reset()

func (*ClassifyTraceGetTablesReply) Size

func (m *ClassifyTraceGetTablesReply) Size() (size int)

func (*ClassifyTraceGetTablesReply) Unmarshal

func (m *ClassifyTraceGetTablesReply) Unmarshal(b []byte) error

type ClassifyTraceLookupTable

type ClassifyTraceLookupTable struct {
	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"`
	MaskLen       uint32 `binapi:"u32,name=mask_len" json:"-"`
	Mask          []byte `binapi:"u8[mask_len],name=mask" json:"mask,omitempty"`
}

ClassifyTraceLookupTable defines message 'classify_trace_lookup_table'.

func (*ClassifyTraceLookupTable) GetCrcString

func (*ClassifyTraceLookupTable) GetCrcString() string

func (*ClassifyTraceLookupTable) GetMessageName

func (*ClassifyTraceLookupTable) GetMessageName() string

func (*ClassifyTraceLookupTable) GetMessageType

func (*ClassifyTraceLookupTable) GetMessageType() api.MessageType

func (*ClassifyTraceLookupTable) Marshal

func (m *ClassifyTraceLookupTable) Marshal(b []byte) ([]byte, error)

func (*ClassifyTraceLookupTable) Reset

func (m *ClassifyTraceLookupTable) Reset()

func (*ClassifyTraceLookupTable) Size

func (m *ClassifyTraceLookupTable) Size() (size int)

func (*ClassifyTraceLookupTable) Unmarshal

func (m *ClassifyTraceLookupTable) Unmarshal(b []byte) error

type ClassifyTraceLookupTableReply

type ClassifyTraceLookupTableReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"`
}

ClassifyTraceLookupTableReply defines message 'classify_trace_lookup_table_reply'.

func (*ClassifyTraceLookupTableReply) GetCrcString

func (*ClassifyTraceLookupTableReply) GetCrcString() string

func (*ClassifyTraceLookupTableReply) GetMessageName

func (*ClassifyTraceLookupTableReply) GetMessageName() string

func (*ClassifyTraceLookupTableReply) GetMessageType

func (*ClassifyTraceLookupTableReply) GetMessageType() api.MessageType

func (*ClassifyTraceLookupTableReply) Marshal

func (m *ClassifyTraceLookupTableReply) Marshal(b []byte) ([]byte, error)

func (*ClassifyTraceLookupTableReply) Reset

func (m *ClassifyTraceLookupTableReply) Reset()

func (*ClassifyTraceLookupTableReply) Size

func (m *ClassifyTraceLookupTableReply) Size() (size int)

func (*ClassifyTraceLookupTableReply) Unmarshal

func (m *ClassifyTraceLookupTableReply) Unmarshal(b []byte) error

type ClassifyTraceSetTable

type ClassifyTraceSetTable struct {
	TableIndex uint32 `binapi:"u32,name=table_index,default=4294967295" json:"table_index,omitempty"`
	SortMasks  bool   `binapi:"bool,name=sort_masks,default=0" json:"sort_masks,omitempty"`
}

ClassifyTraceSetTable defines message 'classify_trace_set_table'.

func (*ClassifyTraceSetTable) GetCrcString

func (*ClassifyTraceSetTable) GetCrcString() string

func (*ClassifyTraceSetTable) GetMessageName

func (*ClassifyTraceSetTable) GetMessageName() string

func (*ClassifyTraceSetTable) GetMessageType

func (*ClassifyTraceSetTable) GetMessageType() api.MessageType

func (*ClassifyTraceSetTable) Marshal

func (m *ClassifyTraceSetTable) Marshal(b []byte) ([]byte, error)

func (*ClassifyTraceSetTable) Reset

func (m *ClassifyTraceSetTable) Reset()

func (*ClassifyTraceSetTable) Size

func (m *ClassifyTraceSetTable) Size() (size int)

func (*ClassifyTraceSetTable) Unmarshal

func (m *ClassifyTraceSetTable) Unmarshal(b []byte) error

type ClassifyTraceSetTableReply

type ClassifyTraceSetTableReply struct {
	Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TableIndex uint32 `binapi:"u32,name=table_index" json:"table_index,omitempty"`
}

ClassifyTraceSetTableReply defines message 'classify_trace_set_table_reply'.

func (*ClassifyTraceSetTableReply) GetCrcString

func (*ClassifyTraceSetTableReply) GetCrcString() string

func (*ClassifyTraceSetTableReply) GetMessageName

func (*ClassifyTraceSetTableReply) GetMessageName() string

func (*ClassifyTraceSetTableReply) GetMessageType

func (*ClassifyTraceSetTableReply) GetMessageType() api.MessageType

func (*ClassifyTraceSetTableReply) Marshal

func (m *ClassifyTraceSetTableReply) Marshal(b []byte) ([]byte, error)

func (*ClassifyTraceSetTableReply) Reset

func (m *ClassifyTraceSetTableReply) Reset()

func (*ClassifyTraceSetTableReply) Size

func (m *ClassifyTraceSetTableReply) Size() (size int)

func (*ClassifyTraceSetTableReply) Unmarshal

func (m *ClassifyTraceSetTableReply) Unmarshal(b []byte) error

type FlowClassifyDetails

type FlowClassifyDetails struct {
	SwIfIndex  interface_types.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 interface_types.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) Marshal

func (m *FlowClassifyDump) Marshal(b []byte) ([]byte, error)

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     interface_types.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 InputACLSetInterface

type InputACLSetInterface struct {
	SwIfIndex     interface_types.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 OutputACLSetInterface

type OutputACLSetInterface struct {
	SwIfIndex     interface_types.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  interface_types.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 interface_types.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     interface_types.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) Marshal

func (m *PolicerClassifySetInterfaceReply) Marshal(b []byte) ([]byte, error)

func (*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 PuntACLAddDel added in v0.5.0

type PuntACLAddDel struct {
	IP4TableIndex uint32 `binapi:"u32,name=ip4_table_index,default=4294967295" json:"ip4_table_index,omitempty"`
	IP6TableIndex uint32 `binapi:"u32,name=ip6_table_index,default=4294967295" json:"ip6_table_index,omitempty"`
	IsAdd         bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}

PuntACLAddDel defines message 'punt_acl_add_del'.

func (*PuntACLAddDel) GetCrcString added in v0.5.0

func (*PuntACLAddDel) GetCrcString() string

func (*PuntACLAddDel) GetMessageName added in v0.5.0

func (*PuntACLAddDel) GetMessageName() string

func (*PuntACLAddDel) GetMessageType added in v0.5.0

func (*PuntACLAddDel) GetMessageType() api.MessageType

func (*PuntACLAddDel) Marshal added in v0.5.0

func (m *PuntACLAddDel) Marshal(b []byte) ([]byte, error)

func (*PuntACLAddDel) Reset added in v0.5.0

func (m *PuntACLAddDel) Reset()

func (*PuntACLAddDel) Size added in v0.5.0

func (m *PuntACLAddDel) Size() (size int)

func (*PuntACLAddDel) Unmarshal added in v0.5.0

func (m *PuntACLAddDel) Unmarshal(b []byte) error

type PuntACLAddDelReply added in v0.5.0

type PuntACLAddDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

PuntACLAddDelReply defines message 'punt_acl_add_del_reply'.

func (*PuntACLAddDelReply) GetCrcString added in v0.5.0

func (*PuntACLAddDelReply) GetCrcString() string

func (*PuntACLAddDelReply) GetMessageName added in v0.5.0

func (*PuntACLAddDelReply) GetMessageName() string

func (*PuntACLAddDelReply) GetMessageType added in v0.5.0

func (*PuntACLAddDelReply) GetMessageType() api.MessageType

func (*PuntACLAddDelReply) Marshal added in v0.5.0

func (m *PuntACLAddDelReply) Marshal(b []byte) ([]byte, error)

func (*PuntACLAddDelReply) Reset added in v0.5.0

func (m *PuntACLAddDelReply) Reset()

func (*PuntACLAddDelReply) Size added in v0.5.0

func (m *PuntACLAddDelReply) Size() (size int)

func (*PuntACLAddDelReply) Unmarshal added in v0.5.0

func (m *PuntACLAddDelReply) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	ClassifyAddDelSession(ctx context.Context, in *ClassifyAddDelSession) (*ClassifyAddDelSessionReply, error)
	ClassifyAddDelTable(ctx context.Context, in *ClassifyAddDelTable) (*ClassifyAddDelTableReply, error)
	ClassifyPcapGetTables(ctx context.Context, in *ClassifyPcapGetTables) (*ClassifyPcapGetTablesReply, error)
	ClassifyPcapLookupTable(ctx context.Context, in *ClassifyPcapLookupTable) (*ClassifyPcapLookupTableReply, error)
	ClassifyPcapSetTable(ctx context.Context, in *ClassifyPcapSetTable) (*ClassifyPcapSetTableReply, 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)
	ClassifyTraceGetTables(ctx context.Context, in *ClassifyTraceGetTables) (*ClassifyTraceGetTablesReply, error)
	ClassifyTraceLookupTable(ctx context.Context, in *ClassifyTraceLookupTable) (*ClassifyTraceLookupTableReply, error)
	ClassifyTraceSetTable(ctx context.Context, in *ClassifyTraceSetTable) (*ClassifyTraceSetTableReply, 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)
	PuntACLAddDel(ctx context.Context, in *PuntACLAddDel) (*PuntACLAddDelReply, 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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL