memclnt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

It consists of:

 2 types
22 messages
13 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "memclnt"
	// APIVersion is the API version of this module.
	APIVersion = "2.1.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xb619530
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type APIVersions

type APIVersions struct{}

APIVersions represents VPP binary API message 'api_versions'.

func (*APIVersions) GetCrcString

func (*APIVersions) GetCrcString() string

func (*APIVersions) GetMessageName

func (*APIVersions) GetMessageName() string

func (*APIVersions) GetMessageType

func (*APIVersions) GetMessageType() api.MessageType

type APIVersionsReply

type APIVersionsReply struct {
	Retval      int32
	Count       uint32 `struc:"sizeof=APIVersions"`
	APIVersions []ModuleVersion
}

APIVersionsReply represents VPP binary API message 'api_versions_reply'.

func (*APIVersionsReply) GetCrcString

func (*APIVersionsReply) GetCrcString() string

func (*APIVersionsReply) GetMessageName

func (*APIVersionsReply) GetMessageName() string

func (*APIVersionsReply) GetMessageType

func (*APIVersionsReply) GetMessageType() api.MessageType

type GetFirstMsgID

type GetFirstMsgID struct {
	Name []byte `struc:"[64]byte"`
}

GetFirstMsgID represents VPP binary API message 'get_first_msg_id'.

func (*GetFirstMsgID) GetCrcString

func (*GetFirstMsgID) GetCrcString() string

func (*GetFirstMsgID) GetMessageName

func (*GetFirstMsgID) GetMessageName() string

func (*GetFirstMsgID) GetMessageType

func (*GetFirstMsgID) GetMessageType() api.MessageType

type GetFirstMsgIDReply

type GetFirstMsgIDReply struct {
	Retval     int32
	FirstMsgID uint16
}

GetFirstMsgIDReply represents VPP binary API message 'get_first_msg_id_reply'.

func (*GetFirstMsgIDReply) GetCrcString

func (*GetFirstMsgIDReply) GetCrcString() string

func (*GetFirstMsgIDReply) GetMessageName

func (*GetFirstMsgIDReply) GetMessageName() string

func (*GetFirstMsgIDReply) GetMessageType

func (*GetFirstMsgIDReply) GetMessageType() api.MessageType

type MemclntCreate

type MemclntCreate struct {
	CtxQuota    int32
	InputQueue  uint64
	Name        []byte   `struc:"[64]byte"`
	APIVersions []uint32 `struc:"[8]uint32"`
}

MemclntCreate represents VPP binary API message 'memclnt_create'.

func (*MemclntCreate) GetCrcString

func (*MemclntCreate) GetCrcString() string

func (*MemclntCreate) GetMessageName

func (*MemclntCreate) GetMessageName() string

func (*MemclntCreate) GetMessageType

func (*MemclntCreate) GetMessageType() api.MessageType

type MemclntCreateReply

type MemclntCreateReply struct {
	Response     int32
	Handle       uint64
	Index        uint32
	MessageTable uint64
}

MemclntCreateReply represents VPP binary API message 'memclnt_create_reply'.

func (*MemclntCreateReply) GetCrcString

func (*MemclntCreateReply) GetCrcString() string

func (*MemclntCreateReply) GetMessageName

func (*MemclntCreateReply) GetMessageName() string

func (*MemclntCreateReply) GetMessageType

func (*MemclntCreateReply) GetMessageType() api.MessageType

type MemclntDelete

type MemclntDelete struct {
	Index     uint32
	Handle    uint64
	DoCleanup uint8
}

MemclntDelete represents VPP binary API message 'memclnt_delete'.

func (*MemclntDelete) GetCrcString

func (*MemclntDelete) GetCrcString() string

func (*MemclntDelete) GetMessageName

func (*MemclntDelete) GetMessageName() string

func (*MemclntDelete) GetMessageType

func (*MemclntDelete) GetMessageType() api.MessageType

type MemclntDeleteReply

type MemclntDeleteReply struct {
	Response int32
	Handle   uint64
}

MemclntDeleteReply represents VPP binary API message 'memclnt_delete_reply'.

func (*MemclntDeleteReply) GetCrcString

func (*MemclntDeleteReply) GetCrcString() string

func (*MemclntDeleteReply) GetMessageName

func (*MemclntDeleteReply) GetMessageName() string

func (*MemclntDeleteReply) GetMessageType

func (*MemclntDeleteReply) GetMessageType() api.MessageType

type MemclntKeepalive

type MemclntKeepalive struct{}

MemclntKeepalive represents VPP binary API message 'memclnt_keepalive'.

func (*MemclntKeepalive) GetCrcString

func (*MemclntKeepalive) GetCrcString() string

func (*MemclntKeepalive) GetMessageName

func (*MemclntKeepalive) GetMessageName() string

func (*MemclntKeepalive) GetMessageType

func (*MemclntKeepalive) GetMessageType() api.MessageType

type MemclntKeepaliveReply

type MemclntKeepaliveReply struct {
	Retval int32
}

MemclntKeepaliveReply represents VPP binary API message 'memclnt_keepalive_reply'.

func (*MemclntKeepaliveReply) GetCrcString

func (*MemclntKeepaliveReply) GetCrcString() string

func (*MemclntKeepaliveReply) GetMessageName

func (*MemclntKeepaliveReply) GetMessageName() string

func (*MemclntKeepaliveReply) GetMessageType

func (*MemclntKeepaliveReply) GetMessageType() api.MessageType

type MemclntReadTimeout

type MemclntReadTimeout struct {
	Dummy uint8
}

MemclntReadTimeout represents VPP binary API message 'memclnt_read_timeout'.

func (*MemclntReadTimeout) GetCrcString

func (*MemclntReadTimeout) GetCrcString() string

func (*MemclntReadTimeout) GetMessageName

func (*MemclntReadTimeout) GetMessageName() string

func (*MemclntReadTimeout) GetMessageType

func (*MemclntReadTimeout) GetMessageType() api.MessageType

type MemclntRxThreadSuspend

type MemclntRxThreadSuspend struct {
	Dummy uint8
}

MemclntRxThreadSuspend represents VPP binary API message 'memclnt_rx_thread_suspend'.

func (*MemclntRxThreadSuspend) GetCrcString

func (*MemclntRxThreadSuspend) GetCrcString() string

func (*MemclntRxThreadSuspend) GetMessageName

func (*MemclntRxThreadSuspend) GetMessageName() string

func (*MemclntRxThreadSuspend) GetMessageType

func (*MemclntRxThreadSuspend) GetMessageType() api.MessageType

type MessageTableEntry

type MessageTableEntry struct {
	Index uint16
	Name  []byte `struc:"[64]byte"`
}

MessageTableEntry represents VPP binary API type 'message_table_entry'.

func (*MessageTableEntry) GetCrcString

func (*MessageTableEntry) GetCrcString() string

func (*MessageTableEntry) GetTypeName

func (*MessageTableEntry) GetTypeName() string

type ModuleVersion

type ModuleVersion struct {
	Major uint32
	Minor uint32
	Patch uint32
	Name  []byte `struc:"[64]byte"`
}

ModuleVersion represents VPP binary API type 'module_version'.

func (*ModuleVersion) GetCrcString

func (*ModuleVersion) GetCrcString() string

func (*ModuleVersion) GetTypeName

func (*ModuleVersion) GetTypeName() string

type RPCCall

type RPCCall struct {
	Function        uint64
	Multicast       uint8
	NeedBarrierSync uint8
	SendReply       uint8
	DataLen         uint32 `struc:"sizeof=Data"`
	Data            []byte
}

RPCCall represents VPP binary API message 'rpc_call'.

func (*RPCCall) GetCrcString

func (*RPCCall) GetCrcString() string

func (*RPCCall) GetMessageName

func (*RPCCall) GetMessageName() string

func (*RPCCall) GetMessageType

func (*RPCCall) GetMessageType() api.MessageType

type RPCCallReply

type RPCCallReply struct {
	Retval int32
}

RPCCallReply represents VPP binary API message 'rpc_call_reply'.

func (*RPCCallReply) GetCrcString

func (*RPCCallReply) GetCrcString() string

func (*RPCCallReply) GetMessageName

func (*RPCCallReply) GetMessageName() string

func (*RPCCallReply) GetMessageType

func (*RPCCallReply) GetMessageType() api.MessageType

type RPCService

type RPCService interface {
	APIVersions(ctx context.Context, in *APIVersions) (*APIVersionsReply, error)
	GetFirstMsgID(ctx context.Context, in *GetFirstMsgID) (*GetFirstMsgIDReply, error)
	MemclntCreate(ctx context.Context, in *MemclntCreate) (*MemclntCreateReply, error)
	MemclntDelete(ctx context.Context, in *MemclntDelete) (*MemclntDeleteReply, error)
	MemclntKeepalive(ctx context.Context, in *MemclntKeepalive) (*MemclntKeepaliveReply, error)
	MemclntReadTimeout(ctx context.Context, in *MemclntReadTimeout) error
	MemclntRxThreadSuspend(ctx context.Context, in *MemclntRxThreadSuspend) error
	RPCCall(ctx context.Context, in *RPCCall) (*RPCCallReply, error)
	RxThreadExit(ctx context.Context, in *RxThreadExit) error
	SockInitShm(ctx context.Context, in *SockInitShm) (*SockInitShmReply, error)
	SockclntCreate(ctx context.Context, in *SockclntCreate) (*SockclntCreateReply, error)
	SockclntDelete(ctx context.Context, in *SockclntDelete) (*SockclntDeleteReply, error)
	TracePluginMsgIds(ctx context.Context, in *TracePluginMsgIds) error
}

RPCService represents RPC service API for memclnt module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RxThreadExit

type RxThreadExit struct {
	Dummy uint8
}

RxThreadExit represents VPP binary API message 'rx_thread_exit'.

func (*RxThreadExit) GetCrcString

func (*RxThreadExit) GetCrcString() string

func (*RxThreadExit) GetMessageName

func (*RxThreadExit) GetMessageName() string

func (*RxThreadExit) GetMessageType

func (*RxThreadExit) GetMessageType() api.MessageType

type SockInitShm

type SockInitShm struct {
	RequestedSize uint32
	Nitems        uint8 `struc:"sizeof=Configs"`
	Configs       []uint64
}

SockInitShm represents VPP binary API message 'sock_init_shm'.

func (*SockInitShm) GetCrcString

func (*SockInitShm) GetCrcString() string

func (*SockInitShm) GetMessageName

func (*SockInitShm) GetMessageName() string

func (*SockInitShm) GetMessageType

func (*SockInitShm) GetMessageType() api.MessageType

type SockInitShmReply

type SockInitShmReply struct {
	Retval int32
}

SockInitShmReply represents VPP binary API message 'sock_init_shm_reply'.

func (*SockInitShmReply) GetCrcString

func (*SockInitShmReply) GetCrcString() string

func (*SockInitShmReply) GetMessageName

func (*SockInitShmReply) GetMessageName() string

func (*SockInitShmReply) GetMessageType

func (*SockInitShmReply) GetMessageType() api.MessageType

type SockclntCreate

type SockclntCreate struct {
	Name []byte `struc:"[64]byte"`
}

SockclntCreate represents VPP binary API message 'sockclnt_create'.

func (*SockclntCreate) GetCrcString

func (*SockclntCreate) GetCrcString() string

func (*SockclntCreate) GetMessageName

func (*SockclntCreate) GetMessageName() string

func (*SockclntCreate) GetMessageType

func (*SockclntCreate) GetMessageType() api.MessageType

type SockclntCreateReply

type SockclntCreateReply struct {
	Response     int32
	Index        uint32
	Count        uint16 `struc:"sizeof=MessageTable"`
	MessageTable []MessageTableEntry
}

SockclntCreateReply represents VPP binary API message 'sockclnt_create_reply'.

func (*SockclntCreateReply) GetCrcString

func (*SockclntCreateReply) GetCrcString() string

func (*SockclntCreateReply) GetMessageName

func (*SockclntCreateReply) GetMessageName() string

func (*SockclntCreateReply) GetMessageType

func (*SockclntCreateReply) GetMessageType() api.MessageType

type SockclntDelete

type SockclntDelete struct {
	Index uint32
}

SockclntDelete represents VPP binary API message 'sockclnt_delete'.

func (*SockclntDelete) GetCrcString

func (*SockclntDelete) GetCrcString() string

func (*SockclntDelete) GetMessageName

func (*SockclntDelete) GetMessageName() string

func (*SockclntDelete) GetMessageType

func (*SockclntDelete) GetMessageType() api.MessageType

type SockclntDeleteReply

type SockclntDeleteReply struct {
	Response int32
}

SockclntDeleteReply represents VPP binary API message 'sockclnt_delete_reply'.

func (*SockclntDeleteReply) GetCrcString

func (*SockclntDeleteReply) GetCrcString() string

func (*SockclntDeleteReply) GetMessageName

func (*SockclntDeleteReply) GetMessageName() string

func (*SockclntDeleteReply) GetMessageType

func (*SockclntDeleteReply) GetMessageType() api.MessageType

type TracePluginMsgIds

type TracePluginMsgIds struct {
	PluginName []byte `struc:"[128]byte"`
	FirstMsgID uint16
	LastMsgID  uint16
}

TracePluginMsgIds represents VPP binary API message 'trace_plugin_msg_ids'.

func (*TracePluginMsgIds) GetCrcString

func (*TracePluginMsgIds) GetCrcString() string

func (*TracePluginMsgIds) GetMessageName

func (*TracePluginMsgIds) GetMessageName() string

func (*TracePluginMsgIds) GetMessageType

func (*TracePluginMsgIds) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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