Documentation ¶
Overview ¶
Code generated by govpp binapi-generator DO NOT EDIT. Package memif represents the VPP binary API of the 'memif' VPP module. Generated from '/usr/share/vpp/api/memif.api.json'
Index ¶
- Variables
- func NewMemifCreate() api.Message
- func NewMemifCreateReply() api.Message
- func NewMemifDelete() api.Message
- func NewMemifDeleteReply() api.Message
- func NewMemifDetails() api.Message
- func NewMemifDump() api.Message
- func NewMemifSocketFilenameAddDel() api.Message
- func NewMemifSocketFilenameAddDelReply() api.Message
- func NewMemifSocketFilenameDetails() api.Message
- func NewMemifSocketFilenameDump() api.Message
- type MemifCreate
- type MemifCreateReply
- type MemifDelete
- type MemifDeleteReply
- type MemifDetails
- type MemifDump
- type MemifSocketFilenameAddDel
- type MemifSocketFilenameAddDelReply
- type MemifSocketFilenameDetails
- type MemifSocketFilenameDump
Constants ¶
This section is empty.
Variables ¶
var Consts = map[string]reflect.Value{}
var Functions = map[string]reflect.Value{ "NewMemifCreate": reflect.ValueOf(NewMemifCreate), "NewMemifCreateReply": reflect.ValueOf(NewMemifCreateReply), "NewMemifDelete": reflect.ValueOf(NewMemifDelete), "NewMemifDeleteReply": reflect.ValueOf(NewMemifDeleteReply), "NewMemifDetails": reflect.ValueOf(NewMemifDetails), "NewMemifDump": reflect.ValueOf(NewMemifDump), "NewMemifSocketFilenameAddDel": reflect.ValueOf(NewMemifSocketFilenameAddDel), "NewMemifSocketFilenameAddDelReply": reflect.ValueOf(NewMemifSocketFilenameAddDelReply), "NewMemifSocketFilenameDetails": reflect.ValueOf(NewMemifSocketFilenameDetails), "NewMemifSocketFilenameDump": reflect.ValueOf(NewMemifSocketFilenameDump), }
var Types = map[string]reflect.Type{ "MemifCreate": reflect.TypeOf((*MemifCreate)(nil)).Elem(), "MemifCreateReply": reflect.TypeOf((*MemifCreateReply)(nil)).Elem(), "MemifDelete": reflect.TypeOf((*MemifDelete)(nil)).Elem(), "MemifDeleteReply": reflect.TypeOf((*MemifDeleteReply)(nil)).Elem(), "MemifDetails": reflect.TypeOf((*MemifDetails)(nil)).Elem(), "MemifDump": reflect.TypeOf((*MemifDump)(nil)).Elem(), "MemifSocketFilenameAddDel": reflect.TypeOf((*MemifSocketFilenameAddDel)(nil)).Elem(), "MemifSocketFilenameAddDelReply": reflect.TypeOf((*MemifSocketFilenameAddDelReply)(nil)).Elem(), "MemifSocketFilenameDetails": reflect.TypeOf((*MemifSocketFilenameDetails)(nil)).Elem(), "MemifSocketFilenameDump": reflect.TypeOf((*MemifSocketFilenameDump)(nil)).Elem(), }
var Variables = map[string]reflect.Value{}
Functions ¶
func NewMemifCreate ¶
func NewMemifCreateReply ¶
func NewMemifDelete ¶
func NewMemifDeleteReply ¶
func NewMemifDetails ¶
func NewMemifDump ¶
Types ¶
type MemifCreate ¶
type MemifCreate struct { Role uint8 Mode uint8 RxQueues uint8 TxQueues uint8 ID uint32 SocketID uint32 Secret []byte `struc:"[24]byte"` RingSize uint32 BufferSize uint16 HwAddr []byte `struc:"[6]byte"` }
MemifCreate represents the VPP binary API message 'memif_create'. Generated from '/usr/share/vpp/api/memif.api.json', line 74:
"memif_create", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "role" ], [ "u8", "mode" ], [ "u8", "rx_queues" ], [ "u8", "tx_queues" ], [ "u32", "id" ], [ "u32", "socket_id" ], [ "u8", "secret", 24 ], [ "u32", "ring_size" ], [ "u16", "buffer_size" ], [ "u8", "hw_addr", 6 ], { "crc": "0x6597cdb2" }
func (*MemifCreate) GetCrcString ¶
func (*MemifCreate) GetCrcString() string
func (*MemifCreate) GetMessageName ¶
func (*MemifCreate) GetMessageName() string
func (*MemifCreate) GetMessageType ¶
func (*MemifCreate) GetMessageType() api.MessageType
type MemifCreateReply ¶
MemifCreateReply represents the VPP binary API message 'memif_create_reply'. Generated from '/usr/share/vpp/api/memif.api.json', line 134:
"memif_create_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u32", "sw_if_index" ], { "crc": "0xfda5941f" }
func (*MemifCreateReply) GetCrcString ¶
func (*MemifCreateReply) GetCrcString() string
func (*MemifCreateReply) GetMessageName ¶
func (*MemifCreateReply) GetMessageName() string
func (*MemifCreateReply) GetMessageType ¶
func (*MemifCreateReply) GetMessageType() api.MessageType
type MemifDelete ¶
type MemifDelete struct {
SwIfIndex uint32
}
MemifDelete represents the VPP binary API message 'memif_delete'. Generated from '/usr/share/vpp/api/memif.api.json', line 156:
"memif_delete", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "sw_if_index" ], { "crc": "0x529cb13f" }
func (*MemifDelete) GetCrcString ¶
func (*MemifDelete) GetCrcString() string
func (*MemifDelete) GetMessageName ¶
func (*MemifDelete) GetMessageName() string
func (*MemifDelete) GetMessageType ¶
func (*MemifDelete) GetMessageType() api.MessageType
type MemifDeleteReply ¶
type MemifDeleteReply struct {
Retval int32
}
MemifDeleteReply represents the VPP binary API message 'memif_delete_reply'. Generated from '/usr/share/vpp/api/memif.api.json', line 178:
"memif_delete_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*MemifDeleteReply) GetCrcString ¶
func (*MemifDeleteReply) GetCrcString() string
func (*MemifDeleteReply) GetMessageName ¶
func (*MemifDeleteReply) GetMessageName() string
func (*MemifDeleteReply) GetMessageType ¶
func (*MemifDeleteReply) GetMessageType() api.MessageType
type MemifDetails ¶
type MemifDetails struct { SwIfIndex uint32 IfName []byte `struc:"[64]byte"` HwAddr []byte `struc:"[6]byte"` ID uint32 Role uint8 Mode uint8 SocketID uint32 RingSize uint32 BufferSize uint16 AdminUpDown uint8 LinkUpDown uint8 }
MemifDetails represents the VPP binary API message 'memif_details'. Generated from '/usr/share/vpp/api/memif.api.json', line 237:
"memif_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u32", "sw_if_index" ], [ "u8", "if_name", 64 ], [ "u8", "hw_addr", 6 ], [ "u32", "id" ], [ "u8", "role" ], [ "u8", "mode" ], [ "u32", "socket_id" ], [ "u32", "ring_size" ], [ "u16", "buffer_size" ], [ "u8", "admin_up_down" ], [ "u8", "link_up_down" ], { "crc": "0x4f5a3397" }
func (*MemifDetails) GetCrcString ¶
func (*MemifDetails) GetCrcString() string
func (*MemifDetails) GetMessageName ¶
func (*MemifDetails) GetMessageName() string
func (*MemifDetails) GetMessageType ¶
func (*MemifDetails) GetMessageType() api.MessageType
type MemifDump ¶
type MemifDump struct { }
MemifDump represents the VPP binary API message 'memif_dump'. Generated from '/usr/share/vpp/api/memif.api.json', line 297:
"memif_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
func (*MemifDump) GetCrcString ¶
func (*MemifDump) GetMessageName ¶
func (*MemifDump) GetMessageType ¶
func (*MemifDump) GetMessageType() api.MessageType
type MemifSocketFilenameAddDel ¶
type MemifSocketFilenameAddDel struct { IsAdd uint8 SocketID uint32 SocketFilename []byte `struc:"[128]byte"` }
MemifSocketFilenameAddDel represents the VPP binary API message 'memif_socket_filename_add_del'. Generated from '/usr/share/vpp/api/memif.api.json', line 25:
"memif_socket_filename_add_del", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "u32", "socket_id" ], [ "u8", "socket_filename", 128 ], { "crc": "0x30e3929d" }
func (*MemifSocketFilenameAddDel) GetCrcString ¶
func (*MemifSocketFilenameAddDel) GetCrcString() string
func (*MemifSocketFilenameAddDel) GetMessageName ¶
func (*MemifSocketFilenameAddDel) GetMessageName() string
func (*MemifSocketFilenameAddDel) GetMessageType ¶
func (*MemifSocketFilenameAddDel) GetMessageType() api.MessageType
type MemifSocketFilenameAddDelReply ¶
type MemifSocketFilenameAddDelReply struct {
Retval int32
}
MemifSocketFilenameAddDelReply represents the VPP binary API message 'memif_socket_filename_add_del_reply'. Generated from '/usr/share/vpp/api/memif.api.json', line 56:
"memif_socket_filename_add_del_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*MemifSocketFilenameAddDelReply) GetCrcString ¶
func (*MemifSocketFilenameAddDelReply) GetCrcString() string
func (*MemifSocketFilenameAddDelReply) GetMessageName ¶
func (*MemifSocketFilenameAddDelReply) GetMessageName() string
func (*MemifSocketFilenameAddDelReply) GetMessageType ¶
func (*MemifSocketFilenameAddDelReply) GetMessageType() api.MessageType
type MemifSocketFilenameDetails ¶
type MemifSocketFilenameDetails struct { SocketID uint32 SocketFilename []byte `struc:"[128]byte"` }
MemifSocketFilenameDetails represents the VPP binary API message 'memif_socket_filename_details'. Generated from '/usr/share/vpp/api/memif.api.json', line 196:
"memif_socket_filename_details", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "u32", "socket_id" ], [ "u8", "socket_filename", 128 ], { "crc": "0xe347e32f" }
func (*MemifSocketFilenameDetails) GetCrcString ¶
func (*MemifSocketFilenameDetails) GetCrcString() string
func (*MemifSocketFilenameDetails) GetMessageName ¶
func (*MemifSocketFilenameDetails) GetMessageName() string
func (*MemifSocketFilenameDetails) GetMessageType ¶
func (*MemifSocketFilenameDetails) GetMessageType() api.MessageType
type MemifSocketFilenameDump ¶
type MemifSocketFilenameDump struct { }
MemifSocketFilenameDump represents the VPP binary API message 'memif_socket_filename_dump'. Generated from '/usr/share/vpp/api/memif.api.json', line 219:
"memif_socket_filename_dump", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], { "crc": "0x51077d14" }
func (*MemifSocketFilenameDump) GetCrcString ¶
func (*MemifSocketFilenameDump) GetCrcString() string
func (*MemifSocketFilenameDump) GetMessageName ¶
func (*MemifSocketFilenameDump) GetMessageName() string
func (*MemifSocketFilenameDump) GetMessageType ¶
func (*MemifSocketFilenameDump) GetMessageType() api.MessageType