1 // Code generated by govpp binapi-generator DO NOT EDIT.
2 // Package memif represents the VPP binary API of the 'memif' VPP module.
3 // Generated from '../../bin_api/memif.api.json'
6 import "git.fd.io/govpp.git/api"
8 // VlApiVersion contains version of the API.
9 const VlAPIVersion = 0x824c4ae0
11 // MemifCreate represents the VPP binary API message 'memif_create'.
12 // Generated from '../../bin_api/memif.api.json', line 24:
71 // "crc": "0x3551c914"
74 type MemifCreate struct {
80 SocketFilename []byte `struc:"[128]byte"`
81 Secret []byte `struc:"[24]byte"`
84 HwAddr []byte `struc:"[6]byte"`
87 func (*MemifCreate) GetMessageName() string {
90 func (*MemifCreate) GetMessageType() api.MessageType {
91 return api.RequestMessage
93 func (*MemifCreate) GetCrcString() string {
96 func NewMemifCreate() api.Message {
100 // MemifCreateReply represents the VPP binary API message 'memif_create_reply'.
101 // Generated from '../../bin_api/memif.api.json', line 85:
103 // "memif_create_reply",
121 // "crc": "0xfda5941f"
124 type MemifCreateReply struct {
129 func (*MemifCreateReply) GetMessageName() string {
130 return "memif_create_reply"
132 func (*MemifCreateReply) GetMessageType() api.MessageType {
133 return api.ReplyMessage
135 func (*MemifCreateReply) GetCrcString() string {
138 func NewMemifCreateReply() api.Message {
139 return &MemifCreateReply{}
142 // MemifDelete represents the VPP binary API message 'memif_delete'.
143 // Generated from '../../bin_api/memif.api.json', line 107:
163 // "crc": "0x529cb13f"
166 type MemifDelete struct {
170 func (*MemifDelete) GetMessageName() string {
171 return "memif_delete"
173 func (*MemifDelete) GetMessageType() api.MessageType {
174 return api.RequestMessage
176 func (*MemifDelete) GetCrcString() string {
179 func NewMemifDelete() api.Message {
180 return &MemifDelete{}
183 // MemifDeleteReply represents the VPP binary API message 'memif_delete_reply'.
184 // Generated from '../../bin_api/memif.api.json', line 129:
186 // "memif_delete_reply",
200 // "crc": "0xe8d4e804"
203 type MemifDeleteReply struct {
207 func (*MemifDeleteReply) GetMessageName() string {
208 return "memif_delete_reply"
210 func (*MemifDeleteReply) GetMessageType() api.MessageType {
211 return api.ReplyMessage
213 func (*MemifDeleteReply) GetCrcString() string {
216 func NewMemifDeleteReply() api.Message {
217 return &MemifDeleteReply{}
220 // MemifDetails represents the VPP binary API message 'memif_details'.
221 // Generated from '../../bin_api/memif.api.json', line 147:
260 // "socket_filename",
280 // "crc": "0x0e1da928"
283 type MemifDetails struct {
285 IfName []byte `struc:"[64]byte"`
286 HwAddr []byte `struc:"[6]byte"`
290 SocketFilename []byte `struc:"[128]byte"`
297 func (*MemifDetails) GetMessageName() string {
298 return "memif_details"
300 func (*MemifDetails) GetMessageType() api.MessageType {
301 return api.ReplyMessage
303 func (*MemifDetails) GetCrcString() string {
306 func NewMemifDetails() api.Message {
307 return &MemifDetails{}
310 // MemifDump represents the VPP binary API message 'memif_dump'.
311 // Generated from '../../bin_api/memif.api.json', line 208:
327 // "crc": "0x51077d14"
330 type MemifDump struct {
333 func (*MemifDump) GetMessageName() string {
336 func (*MemifDump) GetMessageType() api.MessageType {
337 return api.RequestMessage
339 func (*MemifDump) GetCrcString() string {
342 func NewMemifDump() api.Message {