Documentation ¶
Overview ¶
Package memclnt is a generated from VPP binary API module 'memclnt'. It contains following objects: 22 messages 2 types 13 services
Index ¶
- type APIVersions
- type APIVersionsReply
- type GetFirstMsgID
- type GetFirstMsgIDReply
- type MemclntCreate
- type MemclntCreateReply
- type MemclntDelete
- type MemclntDeleteReply
- type MemclntKeepalive
- type MemclntKeepaliveReply
- type MemclntReadTimeout
- type MemclntRxThreadSuspend
- type MessageTableEntry
- type ModuleVersion
- type RPCCall
- type RPCCallReply
- type RxThreadExit
- type Services
- type SockInitShm
- type SockInitShmReply
- type SockclntCreate
- type SockclntCreateReply
- type SockclntDelete
- type SockclntDeleteReply
- type TracePluginMsgIds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersions ¶
type APIVersions struct{}
APIVersions represents VPP binary API message 'api_versions':
"api_versions", 8
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':
"api_versions_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "count" ], [ "vl_api_module_version_t", "api_versions", 0, "count" ], { "crc": "0x90a39195" }
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':
"get_first_msg_id", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "name", 64 ], { "crc": "0x0cb71b0e" }
func (*GetFirstMsgID) GetCrcString ¶
func (*GetFirstMsgID) GetCrcString() string
func (*GetFirstMsgID) GetMessageName ¶
func (*GetFirstMsgID) GetMessageName() string
func (*GetFirstMsgID) GetMessageType ¶
func (*GetFirstMsgID) GetMessageType() api.MessageType
type GetFirstMsgIDReply ¶
GetFirstMsgIDReply represents VPP binary API message 'get_first_msg_id_reply':
"get_first_msg_id_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u16", "first_msg_id" ], { "crc": "0x7d337472" }
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':
"memclnt_create", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "ctx_quota" ], [ "u64", "input_queue" ], [ "u8", "name", 64 ], [ "u32", "api_versions", 8 ], { "crc": "0x6d33c5ea" }
func (*MemclntCreate) GetCrcString ¶
func (*MemclntCreate) GetCrcString() string
func (*MemclntCreate) GetMessageName ¶
func (*MemclntCreate) GetMessageName() string
func (*MemclntCreate) GetMessageType ¶
func (*MemclntCreate) GetMessageType() api.MessageType
type MemclntCreateReply ¶
MemclntCreateReply represents VPP binary API message 'memclnt_create_reply':
"memclnt_create_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "response" ], [ "u64", "handle" ], [ "u32", "index" ], [ "u64", "message_table" ], { "crc": "0x42ec4560" }
func (*MemclntCreateReply) GetCrcString ¶
func (*MemclntCreateReply) GetCrcString() string
func (*MemclntCreateReply) GetMessageName ¶
func (*MemclntCreateReply) GetMessageName() string
func (*MemclntCreateReply) GetMessageType ¶
func (*MemclntCreateReply) GetMessageType() api.MessageType
type MemclntDelete ¶
MemclntDelete represents VPP binary API message 'memclnt_delete':
"memclnt_delete", [ "u16", "_vl_msg_id" ], [ "u32", "index" ], [ "u64", "handle" ], { "crc": "0x73240f13" }
func (*MemclntDelete) GetCrcString ¶
func (*MemclntDelete) GetCrcString() string
func (*MemclntDelete) GetMessageName ¶
func (*MemclntDelete) GetMessageName() string
func (*MemclntDelete) GetMessageType ¶
func (*MemclntDelete) GetMessageType() api.MessageType
type MemclntDeleteReply ¶
MemclntDeleteReply represents VPP binary API message 'memclnt_delete_reply':
"memclnt_delete_reply", [ "u16", "_vl_msg_id" ], [ "i32", "response" ], [ "u64", "handle" ], { "crc": "0x3d3b6312" }
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':
"memclnt_keepalive", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
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':
"memclnt_keepalive_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
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':
"memclnt_read_timeout", [ "u16", "_vl_msg_id" ], [ "u8", "dummy" ], { "crc": "0xc3a3a452" }
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':
"memclnt_rx_thread_suspend", [ "u16", "_vl_msg_id" ], [ "u8", "dummy" ], { "crc": "0xc3a3a452" }
func (*MemclntRxThreadSuspend) GetCrcString ¶
func (*MemclntRxThreadSuspend) GetCrcString() string
func (*MemclntRxThreadSuspend) GetMessageName ¶
func (*MemclntRxThreadSuspend) GetMessageName() string
func (*MemclntRxThreadSuspend) GetMessageType ¶
func (*MemclntRxThreadSuspend) GetMessageType() api.MessageType
type MessageTableEntry ¶
MessageTableEntry represents VPP binary API type 'message_table_entry':
"message_table_entry", [ "u16", "index" ], [ "u8", "name", 64 ], { "crc": "0x913bf1c6" }
func (*MessageTableEntry) GetCrcString ¶
func (*MessageTableEntry) GetCrcString() string
func (*MessageTableEntry) GetTypeName ¶
func (*MessageTableEntry) GetTypeName() string
type ModuleVersion ¶
ModuleVersion represents VPP binary API type 'module_version':
"module_version", [ "u32", "major" ], [ "u32", "minor" ], [ "u32", "patch" ], [ "u8", "name", 64 ], { "crc": "0x4b6da11a" }
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':
"rpc_call", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u64", "function" ], [ "u8", "multicast" ], [ "u8", "need_barrier_sync" ], [ "u8", "send_reply" ], [ "u32", "data_len" ], [ "u8", "data", 0, "data_len" ], { "crc": "0x7e8a2c95" }
func (*RPCCall) GetCrcString ¶
func (*RPCCall) GetMessageName ¶
func (*RPCCall) GetMessageType ¶
func (*RPCCall) GetMessageType() api.MessageType
type RPCCallReply ¶
type RPCCallReply struct {
Retval int32
}
RPCCallReply represents VPP binary API message 'rpc_call_reply':
"rpc_call_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*RPCCallReply) GetCrcString ¶
func (*RPCCallReply) GetCrcString() string
func (*RPCCallReply) GetMessageName ¶
func (*RPCCallReply) GetMessageName() string
func (*RPCCallReply) GetMessageType ¶
func (*RPCCallReply) GetMessageType() api.MessageType
type RxThreadExit ¶
type RxThreadExit struct {
Dummy uint8
}
RxThreadExit represents VPP binary API message 'rx_thread_exit':
"rx_thread_exit", [ "u16", "_vl_msg_id" ], [ "u8", "dummy" ], { "crc": "0xc3a3a452" }
func (*RxThreadExit) GetCrcString ¶
func (*RxThreadExit) GetCrcString() string
func (*RxThreadExit) GetMessageName ¶
func (*RxThreadExit) GetMessageName() string
func (*RxThreadExit) GetMessageType ¶
func (*RxThreadExit) GetMessageType() api.MessageType
type Services ¶
type Services interface { APIVersions(*APIVersions) (*APIVersionsReply, error) GetFirstMsgID(*GetFirstMsgID) (*GetFirstMsgIDReply, error) MemclntCreate(*MemclntCreate) (*MemclntCreateReply, error) MemclntDelete(*MemclntDelete) (*MemclntDeleteReply, error) MemclntKeepalive(*MemclntKeepalive) (*MemclntKeepaliveReply, error) MemclntReadTimeout(*MemclntReadTimeout) error MemclntRxThreadSuspend(*MemclntRxThreadSuspend) error RPCCall(*RPCCall) (*RPCCallReply, error) RxThreadExit(*RxThreadExit) error SockInitShm(*SockInitShm) (*SockInitShmReply, error) SockclntCreate(*SockclntCreate) (*SockclntCreateReply, error) SockclntDelete(*SockclntDelete) (*SockclntDeleteReply, error) TracePluginMsgIds(*TracePluginMsgIds) error }
Services represents VPP binary API services:
"services": { "api_versions": { "reply": "api_versions_reply" }, "memclnt_keepalive": { "reply": "memclnt_keepalive_reply" }, "memclnt_rx_thread_suspend": { "reply": "null" }, "sockclnt_delete": { "reply": "sockclnt_delete_reply" }, "memclnt_create": { "reply": "memclnt_create_reply" }, "get_first_msg_id": { "reply": "get_first_msg_id_reply" }, "memclnt_read_timeout": { "reply": "null" }, "rpc_call": { "reply": "rpc_call_reply" }, "rx_thread_exit": { "reply": "null" }, "sock_init_shm": { "reply": "sock_init_shm_reply" }, "memclnt_delete": { "reply": "memclnt_delete_reply" }, "sockclnt_create": { "reply": "sockclnt_create_reply" }, "trace_plugin_msg_ids": { "reply": "null" } },
type SockInitShm ¶
type SockInitShm struct { RequestedSize uint32 Nitems uint8 `struc:"sizeof=Configs"` Configs []uint64 }
SockInitShm represents VPP binary API message 'sock_init_shm':
"sock_init_shm", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "requested_size" ], [ "u8", "nitems" ], [ "u64", "configs", 0, "nitems" ], { "crc": "0x51646d92" }
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':
"sock_init_shm_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
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':
"sockclnt_create", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u8", "name", 64 ], { "crc": "0xdf2cf94d" }
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':
"sockclnt_create_reply", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "i32", "response" ], [ "u32", "index" ], [ "u16", "count" ], [ "vl_api_message_table_entry_t", "message_table", 0, "count" ], { "crc": "0xa134a8a8" }
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':
"sockclnt_delete", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "index" ], { "crc": "0x8ac76db6" }
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':
"sockclnt_delete_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "response" ], { "crc": "0x8f38b1ee" }
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':
"trace_plugin_msg_ids", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "plugin_name", 128 ], [ "u16", "first_msg_id" ], [ "u16", "last_msg_id" ], { "crc": "0x64af79f9" }
func (*TracePluginMsgIds) GetCrcString ¶
func (*TracePluginMsgIds) GetCrcString() string
func (*TracePluginMsgIds) GetMessageName ¶
func (*TracePluginMsgIds) GetMessageName() string
func (*TracePluginMsgIds) GetMessageType ¶
func (*TracePluginMsgIds) GetMessageType() api.MessageType