classify

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package classify is a generated VPP binary API for 'classify' module.

It consists of:

28 messages
14 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "classify"
	// APIVersion is the API version of this module.
	APIVersion = "2.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x75a3c89c
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type ClassifyAddDelSession

type ClassifyAddDelSession struct {
	IsAdd        uint8
	TableIndex   uint32
	HitNextIndex uint32
	OpaqueIndex  uint32
	Advance      int32
	Action       uint8
	Metadata     uint32
	MatchLen     uint32 `struc:"sizeof=Match"`
	Match        []byte
}

ClassifyAddDelSession represents VPP binary API message 'classify_add_del_session'.

func (*ClassifyAddDelSession) GetCrcString

func (*ClassifyAddDelSession) GetCrcString() string

func (*ClassifyAddDelSession) GetMessageName

func (*ClassifyAddDelSession) GetMessageName() string

func (*ClassifyAddDelSession) GetMessageType

func (*ClassifyAddDelSession) GetMessageType() api.MessageType

func (*ClassifyAddDelSession) Reset

func (m *ClassifyAddDelSession) Reset()

type ClassifyAddDelSessionReply

type ClassifyAddDelSessionReply struct {
	Retval int32
}

ClassifyAddDelSessionReply represents VPP binary API message 'classify_add_del_session_reply'.

func (*ClassifyAddDelSessionReply) GetCrcString

func (*ClassifyAddDelSessionReply) GetCrcString() string

func (*ClassifyAddDelSessionReply) GetMessageName

func (*ClassifyAddDelSessionReply) GetMessageName() string

func (*ClassifyAddDelSessionReply) GetMessageType

func (*ClassifyAddDelSessionReply) GetMessageType() api.MessageType

func (*ClassifyAddDelSessionReply) Reset

func (m *ClassifyAddDelSessionReply) Reset()

type ClassifyAddDelTable

type ClassifyAddDelTable struct {
	IsAdd             uint8
	DelChain          uint8
	TableIndex        uint32
	Nbuckets          uint32
	MemorySize        uint32
	SkipNVectors      uint32
	MatchNVectors     uint32
	NextTableIndex    uint32
	MissNextIndex     uint32
	CurrentDataFlag   uint32
	CurrentDataOffset int32
	MaskLen           uint32 `struc:"sizeof=Mask"`
	Mask              []byte
}

ClassifyAddDelTable represents VPP binary API message 'classify_add_del_table'.

func (*ClassifyAddDelTable) GetCrcString

func (*ClassifyAddDelTable) GetCrcString() string

func (*ClassifyAddDelTable) GetMessageName

func (*ClassifyAddDelTable) GetMessageName() string

func (*ClassifyAddDelTable) GetMessageType

func (*ClassifyAddDelTable) GetMessageType() api.MessageType

func (*ClassifyAddDelTable) Reset

func (m *ClassifyAddDelTable) Reset()

type ClassifyAddDelTableReply

type ClassifyAddDelTableReply struct {
	Retval        int32
	NewTableIndex uint32
	SkipNVectors  uint32
	MatchNVectors uint32
}

ClassifyAddDelTableReply represents VPP binary API message 'classify_add_del_table_reply'.

func (*ClassifyAddDelTableReply) GetCrcString

func (*ClassifyAddDelTableReply) GetCrcString() string

func (*ClassifyAddDelTableReply) GetMessageName

func (*ClassifyAddDelTableReply) GetMessageName() string

func (*ClassifyAddDelTableReply) GetMessageType

func (*ClassifyAddDelTableReply) GetMessageType() api.MessageType

func (*ClassifyAddDelTableReply) Reset

func (m *ClassifyAddDelTableReply) Reset()

type ClassifySessionDetails

type ClassifySessionDetails struct {
	Retval       int32
	TableID      uint32
	HitNextIndex uint32
	Advance      int32
	OpaqueIndex  uint32
	MatchLength  uint32 `struc:"sizeof=Match"`
	Match        []byte
}

ClassifySessionDetails represents VPP binary API message 'classify_session_details'.

func (*ClassifySessionDetails) GetCrcString

func (*ClassifySessionDetails) GetCrcString() string

func (*ClassifySessionDetails) GetMessageName

func (*ClassifySessionDetails) GetMessageName() string

func (*ClassifySessionDetails) GetMessageType

func (*ClassifySessionDetails) GetMessageType() api.MessageType

func (*ClassifySessionDetails) Reset

func (m *ClassifySessionDetails) Reset()

type ClassifySessionDump

type ClassifySessionDump struct {
	TableID uint32
}

ClassifySessionDump represents VPP binary API message 'classify_session_dump'.

func (*ClassifySessionDump) GetCrcString

func (*ClassifySessionDump) GetCrcString() string

func (*ClassifySessionDump) GetMessageName

func (*ClassifySessionDump) GetMessageName() string

func (*ClassifySessionDump) GetMessageType

func (*ClassifySessionDump) GetMessageType() api.MessageType

func (*ClassifySessionDump) Reset

func (m *ClassifySessionDump) Reset()

type ClassifySetInterfaceIPTable

type ClassifySetInterfaceIPTable struct {
	IsIPv6     uint8
	SwIfIndex  uint32
	TableIndex uint32
}

ClassifySetInterfaceIPTable represents VPP binary API message 'classify_set_interface_ip_table'.

func (*ClassifySetInterfaceIPTable) GetCrcString

func (*ClassifySetInterfaceIPTable) GetCrcString() string

func (*ClassifySetInterfaceIPTable) GetMessageName

func (*ClassifySetInterfaceIPTable) GetMessageName() string

func (*ClassifySetInterfaceIPTable) GetMessageType

func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType

func (*ClassifySetInterfaceIPTable) Reset

func (m *ClassifySetInterfaceIPTable) Reset()

type ClassifySetInterfaceIPTableReply

type ClassifySetInterfaceIPTableReply struct {
	Retval int32
}

ClassifySetInterfaceIPTableReply represents VPP binary API message 'classify_set_interface_ip_table_reply'.

func (*ClassifySetInterfaceIPTableReply) GetCrcString

func (*ClassifySetInterfaceIPTableReply) GetCrcString() string

func (*ClassifySetInterfaceIPTableReply) GetMessageName

func (*ClassifySetInterfaceIPTableReply) GetMessageName() string

func (*ClassifySetInterfaceIPTableReply) GetMessageType

func (*ClassifySetInterfaceIPTableReply) Reset

type ClassifySetInterfaceL2Tables

type ClassifySetInterfaceL2Tables struct {
	SwIfIndex       uint32
	IP4TableIndex   uint32
	IP6TableIndex   uint32
	OtherTableIndex uint32
	IsInput         uint8
}

ClassifySetInterfaceL2Tables represents VPP binary API message 'classify_set_interface_l2_tables'.

func (*ClassifySetInterfaceL2Tables) GetCrcString

func (*ClassifySetInterfaceL2Tables) GetCrcString() string

func (*ClassifySetInterfaceL2Tables) GetMessageName

func (*ClassifySetInterfaceL2Tables) GetMessageName() string

func (*ClassifySetInterfaceL2Tables) GetMessageType

func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType

func (*ClassifySetInterfaceL2Tables) Reset

func (m *ClassifySetInterfaceL2Tables) Reset()

type ClassifySetInterfaceL2TablesReply

type ClassifySetInterfaceL2TablesReply struct {
	Retval int32
}

ClassifySetInterfaceL2TablesReply represents VPP binary API message 'classify_set_interface_l2_tables_reply'.

func (*ClassifySetInterfaceL2TablesReply) GetCrcString

func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string

func (*ClassifySetInterfaceL2TablesReply) GetMessageName

func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string

func (*ClassifySetInterfaceL2TablesReply) GetMessageType

func (*ClassifySetInterfaceL2TablesReply) Reset

type ClassifyTableByInterface

type ClassifyTableByInterface struct {
	SwIfIndex uint32
}

ClassifyTableByInterface represents VPP binary API message 'classify_table_by_interface'.

func (*ClassifyTableByInterface) GetCrcString

func (*ClassifyTableByInterface) GetCrcString() string

func (*ClassifyTableByInterface) GetMessageName

func (*ClassifyTableByInterface) GetMessageName() string

func (*ClassifyTableByInterface) GetMessageType

func (*ClassifyTableByInterface) GetMessageType() api.MessageType

func (*ClassifyTableByInterface) Reset

func (m *ClassifyTableByInterface) Reset()

type ClassifyTableByInterfaceReply

type ClassifyTableByInterfaceReply struct {
	Retval     int32
	SwIfIndex  uint32
	L2TableID  uint32
	IP4TableID uint32
	IP6TableID uint32
}

ClassifyTableByInterfaceReply represents VPP binary API message 'classify_table_by_interface_reply'.

func (*ClassifyTableByInterfaceReply) GetCrcString

func (*ClassifyTableByInterfaceReply) GetCrcString() string

func (*ClassifyTableByInterfaceReply) GetMessageName

func (*ClassifyTableByInterfaceReply) GetMessageName() string

func (*ClassifyTableByInterfaceReply) GetMessageType

func (*ClassifyTableByInterfaceReply) GetMessageType() api.MessageType

func (*ClassifyTableByInterfaceReply) Reset

func (m *ClassifyTableByInterfaceReply) Reset()

type ClassifyTableIds

type ClassifyTableIds struct{}

ClassifyTableIds represents VPP binary API message 'classify_table_ids'.

func (*ClassifyTableIds) GetCrcString

func (*ClassifyTableIds) GetCrcString() string

func (*ClassifyTableIds) GetMessageName

func (*ClassifyTableIds) GetMessageName() string

func (*ClassifyTableIds) GetMessageType

func (*ClassifyTableIds) GetMessageType() api.MessageType

func (*ClassifyTableIds) Reset

func (m *ClassifyTableIds) Reset()

type ClassifyTableIdsReply

type ClassifyTableIdsReply struct {
	Retval int32
	Count  uint32 `struc:"sizeof=Ids"`
	Ids    []uint32
}

ClassifyTableIdsReply represents VPP binary API message 'classify_table_ids_reply'.

func (*ClassifyTableIdsReply) GetCrcString

func (*ClassifyTableIdsReply) GetCrcString() string

func (*ClassifyTableIdsReply) GetMessageName

func (*ClassifyTableIdsReply) GetMessageName() string

func (*ClassifyTableIdsReply) GetMessageType

func (*ClassifyTableIdsReply) GetMessageType() api.MessageType

func (*ClassifyTableIdsReply) Reset

func (m *ClassifyTableIdsReply) Reset()

type ClassifyTableInfo

type ClassifyTableInfo struct {
	TableID uint32
}

ClassifyTableInfo represents VPP binary API message 'classify_table_info'.

func (*ClassifyTableInfo) GetCrcString

func (*ClassifyTableInfo) GetCrcString() string

func (*ClassifyTableInfo) GetMessageName

func (*ClassifyTableInfo) GetMessageName() string

func (*ClassifyTableInfo) GetMessageType

func (*ClassifyTableInfo) GetMessageType() api.MessageType

func (*ClassifyTableInfo) Reset

func (m *ClassifyTableInfo) Reset()

type ClassifyTableInfoReply

type ClassifyTableInfoReply struct {
	Retval         int32
	TableID        uint32
	Nbuckets       uint32
	MatchNVectors  uint32
	SkipNVectors   uint32
	ActiveSessions uint32
	NextTableIndex uint32
	MissNextIndex  uint32
	MaskLength     uint32 `struc:"sizeof=Mask"`
	Mask           []byte
}

ClassifyTableInfoReply represents VPP binary API message 'classify_table_info_reply'.

func (*ClassifyTableInfoReply) GetCrcString

func (*ClassifyTableInfoReply) GetCrcString() string

func (*ClassifyTableInfoReply) GetMessageName

func (*ClassifyTableInfoReply) GetMessageName() string

func (*ClassifyTableInfoReply) GetMessageType

func (*ClassifyTableInfoReply) GetMessageType() api.MessageType

func (*ClassifyTableInfoReply) Reset

func (m *ClassifyTableInfoReply) Reset()

type FlowClassifyDetails

type FlowClassifyDetails struct {
	SwIfIndex  uint32
	TableIndex uint32
}

FlowClassifyDetails represents VPP binary API message 'flow_classify_details'.

func (*FlowClassifyDetails) GetCrcString

func (*FlowClassifyDetails) GetCrcString() string

func (*FlowClassifyDetails) GetMessageName

func (*FlowClassifyDetails) GetMessageName() string

func (*FlowClassifyDetails) GetMessageType

func (*FlowClassifyDetails) GetMessageType() api.MessageType

func (*FlowClassifyDetails) Reset

func (m *FlowClassifyDetails) Reset()

type FlowClassifyDump

type FlowClassifyDump struct {
	Type uint8
}

FlowClassifyDump represents VPP binary API message 'flow_classify_dump'.

func (*FlowClassifyDump) GetCrcString

func (*FlowClassifyDump) GetCrcString() string

func (*FlowClassifyDump) GetMessageName

func (*FlowClassifyDump) GetMessageName() string

func (*FlowClassifyDump) GetMessageType

func (*FlowClassifyDump) GetMessageType() api.MessageType

func (*FlowClassifyDump) Reset

func (m *FlowClassifyDump) Reset()

type FlowClassifySetInterface

type FlowClassifySetInterface struct {
	SwIfIndex     uint32
	IP4TableIndex uint32
	IP6TableIndex uint32
	IsAdd         uint8
}

FlowClassifySetInterface represents VPP binary API message 'flow_classify_set_interface'.

func (*FlowClassifySetInterface) GetCrcString

func (*FlowClassifySetInterface) GetCrcString() string

func (*FlowClassifySetInterface) GetMessageName

func (*FlowClassifySetInterface) GetMessageName() string

func (*FlowClassifySetInterface) GetMessageType

func (*FlowClassifySetInterface) GetMessageType() api.MessageType

func (*FlowClassifySetInterface) Reset

func (m *FlowClassifySetInterface) Reset()

type FlowClassifySetInterfaceReply

type FlowClassifySetInterfaceReply struct {
	Retval int32
}

FlowClassifySetInterfaceReply represents VPP binary API message 'flow_classify_set_interface_reply'.

func (*FlowClassifySetInterfaceReply) GetCrcString

func (*FlowClassifySetInterfaceReply) GetCrcString() string

func (*FlowClassifySetInterfaceReply) GetMessageName

func (*FlowClassifySetInterfaceReply) GetMessageName() string

func (*FlowClassifySetInterfaceReply) GetMessageType

func (*FlowClassifySetInterfaceReply) GetMessageType() api.MessageType

func (*FlowClassifySetInterfaceReply) Reset

func (m *FlowClassifySetInterfaceReply) Reset()

type InputACLSetInterface

type InputACLSetInterface struct {
	SwIfIndex     uint32
	IP4TableIndex uint32
	IP6TableIndex uint32
	L2TableIndex  uint32
	IsAdd         uint8
}

InputACLSetInterface represents VPP binary API message 'input_acl_set_interface'.

func (*InputACLSetInterface) GetCrcString

func (*InputACLSetInterface) GetCrcString() string

func (*InputACLSetInterface) GetMessageName

func (*InputACLSetInterface) GetMessageName() string

func (*InputACLSetInterface) GetMessageType

func (*InputACLSetInterface) GetMessageType() api.MessageType

func (*InputACLSetInterface) Reset

func (m *InputACLSetInterface) Reset()

type InputACLSetInterfaceReply

type InputACLSetInterfaceReply struct {
	Retval int32
}

InputACLSetInterfaceReply represents VPP binary API message 'input_acl_set_interface_reply'.

func (*InputACLSetInterfaceReply) GetCrcString

func (*InputACLSetInterfaceReply) GetCrcString() string

func (*InputACLSetInterfaceReply) GetMessageName

func (*InputACLSetInterfaceReply) GetMessageName() string

func (*InputACLSetInterfaceReply) GetMessageType

func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType

func (*InputACLSetInterfaceReply) Reset

func (m *InputACLSetInterfaceReply) Reset()

type OutputACLSetInterface

type OutputACLSetInterface struct {
	SwIfIndex     uint32
	IP4TableIndex uint32
	IP6TableIndex uint32
	L2TableIndex  uint32
	IsAdd         uint8
}

OutputACLSetInterface represents VPP binary API message 'output_acl_set_interface'.

func (*OutputACLSetInterface) GetCrcString

func (*OutputACLSetInterface) GetCrcString() string

func (*OutputACLSetInterface) GetMessageName

func (*OutputACLSetInterface) GetMessageName() string

func (*OutputACLSetInterface) GetMessageType

func (*OutputACLSetInterface) GetMessageType() api.MessageType

func (*OutputACLSetInterface) Reset

func (m *OutputACLSetInterface) Reset()

type OutputACLSetInterfaceReply

type OutputACLSetInterfaceReply struct {
	Retval int32
}

OutputACLSetInterfaceReply represents VPP binary API message 'output_acl_set_interface_reply'.

func (*OutputACLSetInterfaceReply) GetCrcString

func (*OutputACLSetInterfaceReply) GetCrcString() string

func (*OutputACLSetInterfaceReply) GetMessageName

func (*OutputACLSetInterfaceReply) GetMessageName() string

func (*OutputACLSetInterfaceReply) GetMessageType

func (*OutputACLSetInterfaceReply) GetMessageType() api.MessageType

func (*OutputACLSetInterfaceReply) Reset

func (m *OutputACLSetInterfaceReply) Reset()

type PolicerClassifyDetails

type PolicerClassifyDetails struct {
	SwIfIndex  uint32
	TableIndex uint32
}

PolicerClassifyDetails represents VPP binary API message 'policer_classify_details'.

func (*PolicerClassifyDetails) GetCrcString

func (*PolicerClassifyDetails) GetCrcString() string

func (*PolicerClassifyDetails) GetMessageName

func (*PolicerClassifyDetails) GetMessageName() string

func (*PolicerClassifyDetails) GetMessageType

func (*PolicerClassifyDetails) GetMessageType() api.MessageType

func (*PolicerClassifyDetails) Reset

func (m *PolicerClassifyDetails) Reset()

type PolicerClassifyDump

type PolicerClassifyDump struct {
	Type uint8
}

PolicerClassifyDump represents VPP binary API message 'policer_classify_dump'.

func (*PolicerClassifyDump) GetCrcString

func (*PolicerClassifyDump) GetCrcString() string

func (*PolicerClassifyDump) GetMessageName

func (*PolicerClassifyDump) GetMessageName() string

func (*PolicerClassifyDump) GetMessageType

func (*PolicerClassifyDump) GetMessageType() api.MessageType

func (*PolicerClassifyDump) Reset

func (m *PolicerClassifyDump) Reset()

type PolicerClassifySetInterface

type PolicerClassifySetInterface struct {
	SwIfIndex     uint32
	IP4TableIndex uint32
	IP6TableIndex uint32
	L2TableIndex  uint32
	IsAdd         uint8
}

PolicerClassifySetInterface represents VPP binary API message 'policer_classify_set_interface'.

func (*PolicerClassifySetInterface) GetCrcString

func (*PolicerClassifySetInterface) GetCrcString() string

func (*PolicerClassifySetInterface) GetMessageName

func (*PolicerClassifySetInterface) GetMessageName() string

func (*PolicerClassifySetInterface) GetMessageType

func (*PolicerClassifySetInterface) GetMessageType() api.MessageType

func (*PolicerClassifySetInterface) Reset

func (m *PolicerClassifySetInterface) Reset()

type PolicerClassifySetInterfaceReply

type PolicerClassifySetInterfaceReply struct {
	Retval int32
}

PolicerClassifySetInterfaceReply represents VPP binary API message 'policer_classify_set_interface_reply'.

func (*PolicerClassifySetInterfaceReply) GetCrcString

func (*PolicerClassifySetInterfaceReply) GetCrcString() string

func (*PolicerClassifySetInterfaceReply) GetMessageName

func (*PolicerClassifySetInterfaceReply) GetMessageName() string

func (*PolicerClassifySetInterfaceReply) GetMessageType

func (*PolicerClassifySetInterfaceReply) Reset

type RPCService

type RPCService interface {
	DumpClassifySession(ctx context.Context, in *ClassifySessionDump) (RPCService_DumpClassifySessionClient, error)
	DumpFlowClassify(ctx context.Context, in *FlowClassifyDump) (RPCService_DumpFlowClassifyClient, error)
	DumpPolicerClassify(ctx context.Context, in *PolicerClassifyDump) (RPCService_DumpPolicerClassifyClient, error)
	ClassifyAddDelSession(ctx context.Context, in *ClassifyAddDelSession) (*ClassifyAddDelSessionReply, error)
	ClassifyAddDelTable(ctx context.Context, in *ClassifyAddDelTable) (*ClassifyAddDelTableReply, error)
	ClassifySetInterfaceIPTable(ctx context.Context, in *ClassifySetInterfaceIPTable) (*ClassifySetInterfaceIPTableReply, error)
	ClassifySetInterfaceL2Tables(ctx context.Context, in *ClassifySetInterfaceL2Tables) (*ClassifySetInterfaceL2TablesReply, error)
	ClassifyTableByInterface(ctx context.Context, in *ClassifyTableByInterface) (*ClassifyTableByInterfaceReply, error)
	ClassifyTableIds(ctx context.Context, in *ClassifyTableIds) (*ClassifyTableIdsReply, error)
	ClassifyTableInfo(ctx context.Context, in *ClassifyTableInfo) (*ClassifyTableInfoReply, error)
	FlowClassifySetInterface(ctx context.Context, in *FlowClassifySetInterface) (*FlowClassifySetInterfaceReply, error)
	InputACLSetInterface(ctx context.Context, in *InputACLSetInterface) (*InputACLSetInterfaceReply, error)
	OutputACLSetInterface(ctx context.Context, in *OutputACLSetInterface) (*OutputACLSetInterfaceReply, error)
	PolicerClassifySetInterface(ctx context.Context, in *PolicerClassifySetInterface) (*PolicerClassifySetInterfaceReply, error)
}

RPCService represents RPC service API for classify module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpClassifySessionClient

type RPCService_DumpClassifySessionClient interface {
	Recv() (*ClassifySessionDetails, error)
}

type RPCService_DumpFlowClassifyClient

type RPCService_DumpFlowClassifyClient interface {
	Recv() (*FlowClassifyDetails, error)
}

type RPCService_DumpPolicerClassifyClient

type RPCService_DumpPolicerClassifyClient interface {
	Recv() (*PolicerClassifyDetails, error)
}

Jump to

Keyboard shortcuts

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