Documentation
¶
Overview ¶
Package memclnt contains generated bindings for API file memclnt.api.
Contents:
2 structs 24 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type APIVersions
- func (*APIVersions) GetCrcString() string
- func (*APIVersions) GetMessageName() string
- func (*APIVersions) GetMessageType() api.MessageType
- func (m *APIVersions) Marshal(b []byte) ([]byte, error)
- func (m *APIVersions) Reset()
- func (m *APIVersions) Size() (size int)
- func (m *APIVersions) Unmarshal(b []byte) error
- type APIVersionsReply
- func (*APIVersionsReply) GetCrcString() string
- func (*APIVersionsReply) GetMessageName() string
- func (*APIVersionsReply) GetMessageType() api.MessageType
- func (m *APIVersionsReply) Marshal(b []byte) ([]byte, error)
- func (m *APIVersionsReply) Reset()
- func (m *APIVersionsReply) Size() (size int)
- func (m *APIVersionsReply) Unmarshal(b []byte) error
- type ControlPing
- func (*ControlPing) GetCrcString() string
- func (*ControlPing) GetMessageName() string
- func (*ControlPing) GetMessageType() api.MessageType
- func (m *ControlPing) Marshal(b []byte) ([]byte, error)
- func (m *ControlPing) Reset()
- func (m *ControlPing) Size() (size int)
- func (m *ControlPing) Unmarshal(b []byte) error
- type ControlPingReply
- func (*ControlPingReply) GetCrcString() string
- func (*ControlPingReply) GetMessageName() string
- func (*ControlPingReply) GetMessageType() api.MessageType
- func (m *ControlPingReply) Marshal(b []byte) ([]byte, error)
- func (m *ControlPingReply) Reset()
- func (m *ControlPingReply) Size() (size int)
- func (m *ControlPingReply) Unmarshal(b []byte) error
- type GetFirstMsgID
- func (*GetFirstMsgID) GetCrcString() string
- func (*GetFirstMsgID) GetMessageName() string
- func (*GetFirstMsgID) GetMessageType() api.MessageType
- func (m *GetFirstMsgID) Marshal(b []byte) ([]byte, error)
- func (m *GetFirstMsgID) Reset()
- func (m *GetFirstMsgID) Size() (size int)
- func (m *GetFirstMsgID) Unmarshal(b []byte) error
- type GetFirstMsgIDReply
- func (*GetFirstMsgIDReply) GetCrcString() string
- func (*GetFirstMsgIDReply) GetMessageName() string
- func (*GetFirstMsgIDReply) GetMessageType() api.MessageType
- func (m *GetFirstMsgIDReply) Marshal(b []byte) ([]byte, error)
- func (m *GetFirstMsgIDReply) Reset()
- func (m *GetFirstMsgIDReply) Size() (size int)
- func (m *GetFirstMsgIDReply) Unmarshal(b []byte) error
- type MemclntCreate
- func (*MemclntCreate) GetCrcString() string
- func (*MemclntCreate) GetMessageName() string
- func (*MemclntCreate) GetMessageType() api.MessageType
- func (m *MemclntCreate) Marshal(b []byte) ([]byte, error)
- func (m *MemclntCreate) Reset()
- func (m *MemclntCreate) Size() (size int)
- func (m *MemclntCreate) Unmarshal(b []byte) error
- type MemclntCreateReply
- func (*MemclntCreateReply) GetCrcString() string
- func (*MemclntCreateReply) GetMessageName() string
- func (*MemclntCreateReply) GetMessageType() api.MessageType
- func (m *MemclntCreateReply) Marshal(b []byte) ([]byte, error)
- func (m *MemclntCreateReply) Reset()
- func (m *MemclntCreateReply) Size() (size int)
- func (m *MemclntCreateReply) Unmarshal(b []byte) error
- type MemclntDelete
- func (*MemclntDelete) GetCrcString() string
- func (*MemclntDelete) GetMessageName() string
- func (*MemclntDelete) GetMessageType() api.MessageType
- func (m *MemclntDelete) Marshal(b []byte) ([]byte, error)
- func (m *MemclntDelete) Reset()
- func (m *MemclntDelete) Size() (size int)
- func (m *MemclntDelete) Unmarshal(b []byte) error
- type MemclntDeleteReply
- func (*MemclntDeleteReply) GetCrcString() string
- func (*MemclntDeleteReply) GetMessageName() string
- func (*MemclntDeleteReply) GetMessageType() api.MessageType
- func (m *MemclntDeleteReply) Marshal(b []byte) ([]byte, error)
- func (m *MemclntDeleteReply) Reset()
- func (m *MemclntDeleteReply) Size() (size int)
- func (m *MemclntDeleteReply) Unmarshal(b []byte) error
- type MemclntKeepalive
- func (*MemclntKeepalive) GetCrcString() string
- func (*MemclntKeepalive) GetMessageName() string
- func (*MemclntKeepalive) GetMessageType() api.MessageType
- func (m *MemclntKeepalive) Marshal(b []byte) ([]byte, error)
- func (m *MemclntKeepalive) Reset()
- func (m *MemclntKeepalive) Size() (size int)
- func (m *MemclntKeepalive) Unmarshal(b []byte) error
- type MemclntKeepaliveReply
- func (*MemclntKeepaliveReply) GetCrcString() string
- func (*MemclntKeepaliveReply) GetMessageName() string
- func (*MemclntKeepaliveReply) GetMessageType() api.MessageType
- func (m *MemclntKeepaliveReply) Marshal(b []byte) ([]byte, error)
- func (m *MemclntKeepaliveReply) Reset()
- func (m *MemclntKeepaliveReply) Size() (size int)
- func (m *MemclntKeepaliveReply) Unmarshal(b []byte) error
- type MemclntReadTimeout
- func (*MemclntReadTimeout) GetCrcString() string
- func (*MemclntReadTimeout) GetMessageName() string
- func (*MemclntReadTimeout) GetMessageType() api.MessageType
- func (m *MemclntReadTimeout) Marshal(b []byte) ([]byte, error)
- func (m *MemclntReadTimeout) Reset()
- func (m *MemclntReadTimeout) Size() (size int)
- func (m *MemclntReadTimeout) Unmarshal(b []byte) error
- type MemclntRxThreadSuspend
- func (*MemclntRxThreadSuspend) GetCrcString() string
- func (*MemclntRxThreadSuspend) GetMessageName() string
- func (*MemclntRxThreadSuspend) GetMessageType() api.MessageType
- func (m *MemclntRxThreadSuspend) Marshal(b []byte) ([]byte, error)
- func (m *MemclntRxThreadSuspend) Reset()
- func (m *MemclntRxThreadSuspend) Size() (size int)
- func (m *MemclntRxThreadSuspend) Unmarshal(b []byte) error
- type MessageTableEntry
- type ModuleVersion
- type RPCCall
- type RPCCallReply
- func (*RPCCallReply) GetCrcString() string
- func (*RPCCallReply) GetMessageName() string
- func (*RPCCallReply) GetMessageType() api.MessageType
- func (m *RPCCallReply) Marshal(b []byte) ([]byte, error)
- func (m *RPCCallReply) Reset()
- func (m *RPCCallReply) Size() (size int)
- func (m *RPCCallReply) Unmarshal(b []byte) error
- type RPCService
- type RxThreadExit
- func (*RxThreadExit) GetCrcString() string
- func (*RxThreadExit) GetMessageName() string
- func (*RxThreadExit) GetMessageType() api.MessageType
- func (m *RxThreadExit) Marshal(b []byte) ([]byte, error)
- func (m *RxThreadExit) Reset()
- func (m *RxThreadExit) Size() (size int)
- func (m *RxThreadExit) Unmarshal(b []byte) error
- type SockInitShm
- func (*SockInitShm) GetCrcString() string
- func (*SockInitShm) GetMessageName() string
- func (*SockInitShm) GetMessageType() api.MessageType
- func (m *SockInitShm) Marshal(b []byte) ([]byte, error)
- func (m *SockInitShm) Reset()
- func (m *SockInitShm) Size() (size int)
- func (m *SockInitShm) Unmarshal(b []byte) error
- type SockInitShmReply
- func (*SockInitShmReply) GetCrcString() string
- func (*SockInitShmReply) GetMessageName() string
- func (*SockInitShmReply) GetMessageType() api.MessageType
- func (m *SockInitShmReply) Marshal(b []byte) ([]byte, error)
- func (m *SockInitShmReply) Reset()
- func (m *SockInitShmReply) Size() (size int)
- func (m *SockInitShmReply) Unmarshal(b []byte) error
- type SockclntCreate
- func (*SockclntCreate) GetCrcString() string
- func (*SockclntCreate) GetMessageName() string
- func (*SockclntCreate) GetMessageType() api.MessageType
- func (m *SockclntCreate) Marshal(b []byte) ([]byte, error)
- func (m *SockclntCreate) Reset()
- func (m *SockclntCreate) Size() (size int)
- func (m *SockclntCreate) Unmarshal(b []byte) error
- type SockclntCreateReply
- func (*SockclntCreateReply) GetCrcString() string
- func (*SockclntCreateReply) GetMessageName() string
- func (*SockclntCreateReply) GetMessageType() api.MessageType
- func (m *SockclntCreateReply) Marshal(b []byte) ([]byte, error)
- func (m *SockclntCreateReply) Reset()
- func (m *SockclntCreateReply) Size() (size int)
- func (m *SockclntCreateReply) Unmarshal(b []byte) error
- type SockclntDelete
- func (*SockclntDelete) GetCrcString() string
- func (*SockclntDelete) GetMessageName() string
- func (*SockclntDelete) GetMessageType() api.MessageType
- func (m *SockclntDelete) Marshal(b []byte) ([]byte, error)
- func (m *SockclntDelete) Reset()
- func (m *SockclntDelete) Size() (size int)
- func (m *SockclntDelete) Unmarshal(b []byte) error
- type SockclntDeleteReply
- func (*SockclntDeleteReply) GetCrcString() string
- func (*SockclntDeleteReply) GetMessageName() string
- func (*SockclntDeleteReply) GetMessageType() api.MessageType
- func (m *SockclntDeleteReply) Marshal(b []byte) ([]byte, error)
- func (m *SockclntDeleteReply) Reset()
- func (m *SockclntDeleteReply) Size() (size int)
- func (m *SockclntDeleteReply) Unmarshal(b []byte) error
- type TracePluginMsgIds
- func (*TracePluginMsgIds) GetCrcString() string
- func (*TracePluginMsgIds) GetMessageName() string
- func (*TracePluginMsgIds) GetMessageType() api.MessageType
- func (m *TracePluginMsgIds) Marshal(b []byte) ([]byte, error)
- func (m *TracePluginMsgIds) Reset()
- func (m *TracePluginMsgIds) Size() (size int)
- func (m *TracePluginMsgIds) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "memclnt" APIVersion = "2.1.0" VersionCrc = 0x230bb938 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type APIVersions ¶
type APIVersions struct{}
APIVersions defines 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
func (*APIVersions) Reset ¶
func (m *APIVersions) Reset()
func (*APIVersions) Size ¶
func (m *APIVersions) Size() (size int)
func (*APIVersions) Unmarshal ¶
func (m *APIVersions) Unmarshal(b []byte) error
type APIVersionsReply ¶
type APIVersionsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
Count uint32 `binapi:"u32,name=count" json:"-"`
APIVersions []ModuleVersion `binapi:"module_version[count],name=api_versions" json:"api_versions,omitempty"`
}
APIVersionsReply defines 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
func (*APIVersionsReply) Reset ¶
func (m *APIVersionsReply) Reset()
func (*APIVersionsReply) Size ¶
func (m *APIVersionsReply) Size() (size int)
func (*APIVersionsReply) Unmarshal ¶
func (m *APIVersionsReply) Unmarshal(b []byte) error
type ControlPing ¶ added in v0.5.0
type ControlPing struct{}
ControlPing defines message 'control_ping'.
func (*ControlPing) GetCrcString ¶ added in v0.5.0
func (*ControlPing) GetCrcString() string
func (*ControlPing) GetMessageName ¶ added in v0.5.0
func (*ControlPing) GetMessageName() string
func (*ControlPing) GetMessageType ¶ added in v0.5.0
func (*ControlPing) GetMessageType() api.MessageType
func (*ControlPing) Marshal ¶ added in v0.5.0
func (m *ControlPing) Marshal(b []byte) ([]byte, error)
func (*ControlPing) Reset ¶ added in v0.5.0
func (m *ControlPing) Reset()
func (*ControlPing) Size ¶ added in v0.5.0
func (m *ControlPing) Size() (size int)
func (*ControlPing) Unmarshal ¶ added in v0.5.0
func (m *ControlPing) Unmarshal(b []byte) error
type ControlPingReply ¶ added in v0.5.0
type ControlPingReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"`
VpePID uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"`
}
ControlPingReply defines message 'control_ping_reply'.
func (*ControlPingReply) GetCrcString ¶ added in v0.5.0
func (*ControlPingReply) GetCrcString() string
func (*ControlPingReply) GetMessageName ¶ added in v0.5.0
func (*ControlPingReply) GetMessageName() string
func (*ControlPingReply) GetMessageType ¶ added in v0.5.0
func (*ControlPingReply) GetMessageType() api.MessageType
func (*ControlPingReply) Marshal ¶ added in v0.5.0
func (m *ControlPingReply) Marshal(b []byte) ([]byte, error)
func (*ControlPingReply) Reset ¶ added in v0.5.0
func (m *ControlPingReply) Reset()
func (*ControlPingReply) Size ¶ added in v0.5.0
func (m *ControlPingReply) Size() (size int)
func (*ControlPingReply) Unmarshal ¶ added in v0.5.0
func (m *ControlPingReply) Unmarshal(b []byte) error
type GetFirstMsgID ¶
type GetFirstMsgID struct {
Name string `binapi:"string[64],name=name" json:"name,omitempty"`
}
GetFirstMsgID defines 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
func (*GetFirstMsgID) Reset ¶
func (m *GetFirstMsgID) Reset()
func (*GetFirstMsgID) Size ¶
func (m *GetFirstMsgID) Size() (size int)
func (*GetFirstMsgID) Unmarshal ¶
func (m *GetFirstMsgID) Unmarshal(b []byte) error
type GetFirstMsgIDReply ¶
type GetFirstMsgIDReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
FirstMsgID uint16 `binapi:"u16,name=first_msg_id" json:"first_msg_id,omitempty"`
}
GetFirstMsgIDReply defines 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
func (*GetFirstMsgIDReply) Reset ¶
func (m *GetFirstMsgIDReply) Reset()
func (*GetFirstMsgIDReply) Size ¶
func (m *GetFirstMsgIDReply) Size() (size int)
func (*GetFirstMsgIDReply) Unmarshal ¶
func (m *GetFirstMsgIDReply) Unmarshal(b []byte) error
type MemclntCreate ¶
type MemclntCreate struct {
CtxQuota int32 `binapi:"i32,name=ctx_quota" json:"ctx_quota,omitempty"`
InputQueue uint64 `binapi:"u64,name=input_queue" json:"input_queue,omitempty"`
Name string `binapi:"string[64],name=name" json:"name,omitempty"`
APIVersions []uint32 `binapi:"u32[8],name=api_versions" json:"api_versions,omitempty"`
}
MemclntCreate defines 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
func (*MemclntCreate) Reset ¶
func (m *MemclntCreate) Reset()
func (*MemclntCreate) Size ¶
func (m *MemclntCreate) Size() (size int)
func (*MemclntCreate) Unmarshal ¶
func (m *MemclntCreate) Unmarshal(b []byte) error
type MemclntCreateReply ¶
type MemclntCreateReply struct {
Response int32 `binapi:"i32,name=response" json:"response,omitempty"`
Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"`
Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
MessageTable uint64 `binapi:"u64,name=message_table" json:"message_table,omitempty"`
}
MemclntCreateReply defines 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
func (*MemclntCreateReply) Reset ¶
func (m *MemclntCreateReply) Reset()
func (*MemclntCreateReply) Size ¶
func (m *MemclntCreateReply) Size() (size int)
func (*MemclntCreateReply) Unmarshal ¶
func (m *MemclntCreateReply) Unmarshal(b []byte) error
type MemclntDelete ¶
type MemclntDelete struct {
Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"`
DoCleanup bool `binapi:"bool,name=do_cleanup" json:"do_cleanup,omitempty"`
}
MemclntDelete defines 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
func (*MemclntDelete) Reset ¶
func (m *MemclntDelete) Reset()
func (*MemclntDelete) Size ¶
func (m *MemclntDelete) Size() (size int)
func (*MemclntDelete) Unmarshal ¶
func (m *MemclntDelete) Unmarshal(b []byte) error
type MemclntDeleteReply ¶
type MemclntDeleteReply struct {
Response int32 `binapi:"i32,name=response" json:"response,omitempty"`
Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"`
}
MemclntDeleteReply defines 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
func (*MemclntDeleteReply) Reset ¶
func (m *MemclntDeleteReply) Reset()
func (*MemclntDeleteReply) Size ¶
func (m *MemclntDeleteReply) Size() (size int)
func (*MemclntDeleteReply) Unmarshal ¶
func (m *MemclntDeleteReply) Unmarshal(b []byte) error
type MemclntKeepalive ¶
type MemclntKeepalive struct{}
MemclntKeepalive defines 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
func (*MemclntKeepalive) Reset ¶
func (m *MemclntKeepalive) Reset()
func (*MemclntKeepalive) Size ¶
func (m *MemclntKeepalive) Size() (size int)
func (*MemclntKeepalive) Unmarshal ¶
func (m *MemclntKeepalive) Unmarshal(b []byte) error
type MemclntKeepaliveReply ¶
type MemclntKeepaliveReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
MemclntKeepaliveReply defines 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
func (*MemclntKeepaliveReply) Marshal ¶
func (m *MemclntKeepaliveReply) Marshal(b []byte) ([]byte, error)
func (*MemclntKeepaliveReply) Reset ¶
func (m *MemclntKeepaliveReply) Reset()
func (*MemclntKeepaliveReply) Size ¶
func (m *MemclntKeepaliveReply) Size() (size int)
func (*MemclntKeepaliveReply) Unmarshal ¶
func (m *MemclntKeepaliveReply) Unmarshal(b []byte) error
type MemclntReadTimeout ¶
type MemclntReadTimeout struct {
Dummy uint8 `binapi:"u8,name=dummy" json:"dummy,omitempty"`
}
MemclntReadTimeout defines 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
func (*MemclntReadTimeout) Reset ¶
func (m *MemclntReadTimeout) Reset()
func (*MemclntReadTimeout) Size ¶
func (m *MemclntReadTimeout) Size() (size int)
func (*MemclntReadTimeout) Unmarshal ¶
func (m *MemclntReadTimeout) Unmarshal(b []byte) error
type MemclntRxThreadSuspend ¶
type MemclntRxThreadSuspend struct {
Dummy uint8 `binapi:"u8,name=dummy" json:"dummy,omitempty"`
}
MemclntRxThreadSuspend defines 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
func (*MemclntRxThreadSuspend) Marshal ¶
func (m *MemclntRxThreadSuspend) Marshal(b []byte) ([]byte, error)
func (*MemclntRxThreadSuspend) Reset ¶
func (m *MemclntRxThreadSuspend) Reset()
func (*MemclntRxThreadSuspend) Size ¶
func (m *MemclntRxThreadSuspend) Size() (size int)
func (*MemclntRxThreadSuspend) Unmarshal ¶
func (m *MemclntRxThreadSuspend) Unmarshal(b []byte) error
type MessageTableEntry ¶
type MessageTableEntry struct {
Index uint16 `binapi:"u16,name=index" json:"index,omitempty"`
Name string `binapi:"string[64],name=name" json:"name,omitempty"`
}
MessageTableEntry defines type 'message_table_entry'.
type ModuleVersion ¶
type ModuleVersion struct {
Major uint32 `binapi:"u32,name=major" json:"major,omitempty"`
Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"`
Patch uint32 `binapi:"u32,name=patch" json:"patch,omitempty"`
Name string `binapi:"string[64],name=name" json:"name,omitempty"`
}
ModuleVersion defines type 'module_version'.
type RPCCall ¶
type RPCCall struct {
Function uint64 `binapi:"u64,name=function" json:"function,omitempty"`
Multicast uint8 `binapi:"u8,name=multicast" json:"multicast,omitempty"`
NeedBarrierSync uint8 `binapi:"u8,name=need_barrier_sync" json:"need_barrier_sync,omitempty"`
SendReply uint8 `binapi:"u8,name=send_reply" json:"send_reply,omitempty"`
DataLen uint32 `binapi:"u32,name=data_len" json:"-"`
Data []byte `binapi:"u8[data_len],name=data" json:"data,omitempty"`
}
RPCCall defines message 'rpc_call'.
func (*RPCCall) GetCrcString ¶
func (*RPCCall) GetMessageName ¶
func (*RPCCall) GetMessageType ¶
func (*RPCCall) GetMessageType() api.MessageType
type RPCCallReply ¶
type RPCCallReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
RPCCallReply defines 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
func (*RPCCallReply) Reset ¶
func (m *RPCCallReply) Reset()
func (*RPCCallReply) Size ¶
func (m *RPCCallReply) Size() (size int)
func (*RPCCallReply) Unmarshal ¶
func (m *RPCCallReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
APIVersions(ctx context.Context, in *APIVersions) (*APIVersionsReply, error)
ControlPing(ctx context.Context, in *ControlPing) (*ControlPingReply, 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 defines RPC service memclnt.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RxThreadExit ¶
type RxThreadExit struct {
Dummy uint8 `binapi:"u8,name=dummy" json:"dummy,omitempty"`
}
RxThreadExit defines 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
func (*RxThreadExit) Reset ¶
func (m *RxThreadExit) Reset()
func (*RxThreadExit) Size ¶
func (m *RxThreadExit) Size() (size int)
func (*RxThreadExit) Unmarshal ¶
func (m *RxThreadExit) Unmarshal(b []byte) error
type SockInitShm ¶
type SockInitShm struct {
RequestedSize uint32 `binapi:"u32,name=requested_size" json:"requested_size,omitempty"`
Nitems uint8 `binapi:"u8,name=nitems" json:"-"`
Configs []uint64 `binapi:"u64[nitems],name=configs" json:"configs,omitempty"`
}
SockInitShm defines 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
func (*SockInitShm) Reset ¶
func (m *SockInitShm) Reset()
func (*SockInitShm) Size ¶
func (m *SockInitShm) Size() (size int)
func (*SockInitShm) Unmarshal ¶
func (m *SockInitShm) Unmarshal(b []byte) error
type SockInitShmReply ¶
type SockInitShmReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SockInitShmReply defines 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
func (*SockInitShmReply) Reset ¶
func (m *SockInitShmReply) Reset()
func (*SockInitShmReply) Size ¶
func (m *SockInitShmReply) Size() (size int)
func (*SockInitShmReply) Unmarshal ¶
func (m *SockInitShmReply) Unmarshal(b []byte) error
type SockclntCreate ¶
type SockclntCreate struct {
Name string `binapi:"string[64],name=name" json:"name,omitempty"`
}
SockclntCreate defines 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
func (*SockclntCreate) Reset ¶
func (m *SockclntCreate) Reset()
func (*SockclntCreate) Size ¶
func (m *SockclntCreate) Size() (size int)
func (*SockclntCreate) Unmarshal ¶
func (m *SockclntCreate) Unmarshal(b []byte) error
type SockclntCreateReply ¶
type SockclntCreateReply struct {
Response int32 `binapi:"i32,name=response" json:"response,omitempty"`
Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
Count uint16 `binapi:"u16,name=count" json:"-"`
MessageTable []MessageTableEntry `binapi:"message_table_entry[count],name=message_table" json:"message_table,omitempty"`
}
SockclntCreateReply defines 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
func (*SockclntCreateReply) Marshal ¶
func (m *SockclntCreateReply) Marshal(b []byte) ([]byte, error)
func (*SockclntCreateReply) Reset ¶
func (m *SockclntCreateReply) Reset()
func (*SockclntCreateReply) Size ¶
func (m *SockclntCreateReply) Size() (size int)
func (*SockclntCreateReply) Unmarshal ¶
func (m *SockclntCreateReply) Unmarshal(b []byte) error
type SockclntDelete ¶
type SockclntDelete struct {
Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
}
SockclntDelete defines 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
func (*SockclntDelete) Reset ¶
func (m *SockclntDelete) Reset()
func (*SockclntDelete) Size ¶
func (m *SockclntDelete) Size() (size int)
func (*SockclntDelete) Unmarshal ¶
func (m *SockclntDelete) Unmarshal(b []byte) error
type SockclntDeleteReply ¶
type SockclntDeleteReply struct {
Response int32 `binapi:"i32,name=response" json:"response,omitempty"`
}
SockclntDeleteReply defines 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
func (*SockclntDeleteReply) Marshal ¶
func (m *SockclntDeleteReply) Marshal(b []byte) ([]byte, error)
func (*SockclntDeleteReply) Reset ¶
func (m *SockclntDeleteReply) Reset()
func (*SockclntDeleteReply) Size ¶
func (m *SockclntDeleteReply) Size() (size int)
func (*SockclntDeleteReply) Unmarshal ¶
func (m *SockclntDeleteReply) Unmarshal(b []byte) error
type TracePluginMsgIds ¶
type TracePluginMsgIds struct {
PluginName string `binapi:"string[128],name=plugin_name" json:"plugin_name,omitempty"`
FirstMsgID uint16 `binapi:"u16,name=first_msg_id" json:"first_msg_id,omitempty"`
LastMsgID uint16 `binapi:"u16,name=last_msg_id" json:"last_msg_id,omitempty"`
}
TracePluginMsgIds defines 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
func (*TracePluginMsgIds) Reset ¶
func (m *TracePluginMsgIds) Reset()
func (*TracePluginMsgIds) Size ¶
func (m *TracePluginMsgIds) Size() (size int)
func (*TracePluginMsgIds) Unmarshal ¶
func (m *TracePluginMsgIds) Unmarshal(b []byte) error