Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / memif.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "memif_socket_filename_add_del",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "bool",
20                 "is_add"
21             ],
22             [
23                 "u32",
24                 "socket_id"
25             ],
26             [
27                 "string",
28                 "socket_filename",
29                 108
30             ],
31             {
32                 "crc": "0xa2ce1a10"
33             }
34         ],
35         [
36             "memif_socket_filename_add_del_reply",
37             [
38                 "u16",
39                 "_vl_msg_id"
40             ],
41             [
42                 "u32",
43                 "context"
44             ],
45             [
46                 "i32",
47                 "retval"
48             ],
49             {
50                 "crc": "0xe8d4e804"
51             }
52         ],
53         [
54             "memif_create",
55             [
56                 "u16",
57                 "_vl_msg_id"
58             ],
59             [
60                 "u32",
61                 "client_index"
62             ],
63             [
64                 "u32",
65                 "context"
66             ],
67             [
68                 "vl_api_memif_role_t",
69                 "role"
70             ],
71             [
72                 "vl_api_memif_mode_t",
73                 "mode"
74             ],
75             [
76                 "u8",
77                 "rx_queues"
78             ],
79             [
80                 "u8",
81                 "tx_queues"
82             ],
83             [
84                 "u32",
85                 "id"
86             ],
87             [
88                 "u32",
89                 "socket_id"
90             ],
91             [
92                 "u32",
93                 "ring_size"
94             ],
95             [
96                 "u16",
97                 "buffer_size"
98             ],
99             [
100                 "bool",
101                 "no_zero_copy"
102             ],
103             [
104                 "vl_api_mac_address_t",
105                 "hw_addr"
106             ],
107             [
108                 "string",
109                 "secret",
110                 24
111             ],
112             {
113                 "crc": "0xb1b25061"
114             }
115         ],
116         [
117             "memif_create_reply",
118             [
119                 "u16",
120                 "_vl_msg_id"
121             ],
122             [
123                 "u32",
124                 "context"
125             ],
126             [
127                 "i32",
128                 "retval"
129             ],
130             [
131                 "vl_api_interface_index_t",
132                 "sw_if_index"
133             ],
134             {
135                 "crc": "0x5383d31f"
136             }
137         ],
138         [
139             "memif_delete",
140             [
141                 "u16",
142                 "_vl_msg_id"
143             ],
144             [
145                 "u32",
146                 "client_index"
147             ],
148             [
149                 "u32",
150                 "context"
151             ],
152             [
153                 "vl_api_interface_index_t",
154                 "sw_if_index"
155             ],
156             {
157                 "crc": "0xf9e6675e"
158             }
159         ],
160         [
161             "memif_delete_reply",
162             [
163                 "u16",
164                 "_vl_msg_id"
165             ],
166             [
167                 "u32",
168                 "context"
169             ],
170             [
171                 "i32",
172                 "retval"
173             ],
174             {
175                 "crc": "0xe8d4e804"
176             }
177         ],
178         [
179             "memif_socket_filename_details",
180             [
181                 "u16",
182                 "_vl_msg_id"
183             ],
184             [
185                 "u32",
186                 "context"
187             ],
188             [
189                 "u32",
190                 "socket_id"
191             ],
192             [
193                 "string",
194                 "socket_filename",
195                 108
196             ],
197             {
198                 "crc": "0x7ff326f7"
199             }
200         ],
201         [
202             "memif_socket_filename_dump",
203             [
204                 "u16",
205                 "_vl_msg_id"
206             ],
207             [
208                 "u32",
209                 "client_index"
210             ],
211             [
212                 "u32",
213                 "context"
214             ],
215             {
216                 "crc": "0x51077d14"
217             }
218         ],
219         [
220             "memif_details",
221             [
222                 "u16",
223                 "_vl_msg_id"
224             ],
225             [
226                 "u32",
227                 "context"
228             ],
229             [
230                 "vl_api_interface_index_t",
231                 "sw_if_index"
232             ],
233             [
234                 "vl_api_mac_address_t",
235                 "hw_addr"
236             ],
237             [
238                 "u32",
239                 "id"
240             ],
241             [
242                 "vl_api_memif_role_t",
243                 "role"
244             ],
245             [
246                 "vl_api_memif_mode_t",
247                 "mode"
248             ],
249             [
250                 "bool",
251                 "zero_copy"
252             ],
253             [
254                 "u32",
255                 "socket_id"
256             ],
257             [
258                 "u32",
259                 "ring_size"
260             ],
261             [
262                 "u16",
263                 "buffer_size"
264             ],
265             [
266                 "vl_api_if_status_flags_t",
267                 "flags"
268             ],
269             [
270                 "string",
271                 "if_name",
272                 64
273             ],
274             {
275                 "crc": "0xd0382c4c"
276             }
277         ],
278         [
279             "memif_dump",
280             [
281                 "u16",
282                 "_vl_msg_id"
283             ],
284             [
285                 "u32",
286                 "client_index"
287             ],
288             [
289                 "u32",
290                 "context"
291             ],
292             {
293                 "crc": "0x51077d14"
294             }
295         ]
296     ],
297     "unions": [],
298     "enums": [
299         [
300             "if_status_flags",
301             [
302                 "IF_STATUS_API_FLAG_ADMIN_UP",
303                 1
304             ],
305             [
306                 "IF_STATUS_API_FLAG_LINK_UP",
307                 2
308             ],
309             {
310                 "enumtype": "u32"
311             }
312         ],
313         [
314             "mtu_proto",
315             [
316                 "MTU_PROTO_API_L3",
317                 1
318             ],
319             [
320                 "MTU_PROTO_API_IP4",
321                 2
322             ],
323             [
324                 "MTU_PROTO_API_IP6",
325                 3
326             ],
327             [
328                 "MTU_PROTO_API_MPLS",
329                 4
330             ],
331             [
332                 "MTU_PROTO_API_N",
333                 5
334             ],
335             {
336                 "enumtype": "u32"
337             }
338         ],
339         [
340             "link_duplex",
341             [
342                 "LINK_DUPLEX_API_UNKNOWN",
343                 0
344             ],
345             [
346                 "LINK_DUPLEX_API_HALF",
347                 1
348             ],
349             [
350                 "LINK_DUPLEX_API_FULL",
351                 2
352             ],
353             {
354                 "enumtype": "u32"
355             }
356         ],
357         [
358             "sub_if_flags",
359             [
360                 "SUB_IF_API_FLAG_NO_TAGS",
361                 1
362             ],
363             [
364                 "SUB_IF_API_FLAG_ONE_TAG",
365                 2
366             ],
367             [
368                 "SUB_IF_API_FLAG_TWO_TAGS",
369                 4
370             ],
371             [
372                 "SUB_IF_API_FLAG_DOT1AD",
373                 8
374             ],
375             [
376                 "SUB_IF_API_FLAG_EXACT_MATCH",
377                 16
378             ],
379             [
380                 "SUB_IF_API_FLAG_DEFAULT",
381                 32
382             ],
383             [
384                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
385                 64
386             ],
387             [
388                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
389                 128
390             ],
391             [
392                 "SUB_IF_API_FLAG_MASK_VNET",
393                 254
394             ],
395             [
396                 "SUB_IF_API_FLAG_DOT1AH",
397                 256
398             ],
399             {
400                 "enumtype": "u32"
401             }
402         ],
403         [
404             "rx_mode",
405             [
406                 "RX_MODE_API_UNKNOWN",
407                 0
408             ],
409             [
410                 "RX_MODE_API_POLLING",
411                 1
412             ],
413             [
414                 "RX_MODE_API_INTERRUPT",
415                 2
416             ],
417             [
418                 "RX_MODE_API_ADAPTIVE",
419                 3
420             ],
421             [
422                 "RX_MODE_API_DEFAULT",
423                 4
424             ],
425             {
426                 "enumtype": "u32"
427             }
428         ],
429         [
430             "if_type",
431             [
432                 "IF_API_TYPE_HARDWARE",
433                 1
434             ],
435             [
436                 "IF_API_TYPE_SUB",
437                 2
438             ],
439             [
440                 "IF_API_TYPE_P2P",
441                 3
442             ],
443             [
444                 "IF_API_TYPE_PIPE",
445                 4
446             ],
447             {
448                 "enumtype": "u32"
449             }
450         ],
451         [
452             "memif_role",
453             [
454                 "MEMIF_ROLE_API_MASTER",
455                 0
456             ],
457             [
458                 "MEMIF_ROLE_API_SLAVE",
459                 1
460             ],
461             {
462                 "enumtype": "u32"
463             }
464         ],
465         [
466             "memif_mode",
467             [
468                 "MEMIF_MODE_API_ETHERNET",
469                 0
470             ],
471             [
472                 "MEMIF_MODE_API_IP",
473                 1
474             ],
475             [
476                 "MEMIF_MODE_API_PUNT_INJECT",
477                 2
478             ],
479             {
480                 "enumtype": "u32"
481             }
482         ]
483     ],
484     "services": {
485         "memif_socket_filename_add_del": {
486             "reply": "memif_socket_filename_add_del_reply"
487         },
488         "memif_create": {
489             "reply": "memif_create_reply"
490         },
491         "memif_delete": {
492             "reply": "memif_delete_reply"
493         },
494         "memif_socket_filename_dump": {
495             "reply": "memif_socket_filename_details",
496             "stream": true
497         },
498         "memif_dump": {
499             "reply": "memif_details",
500             "stream": true
501         }
502     },
503     "options": {
504         "version": "3.0.0"
505     },
506     "aliases": {
507         "interface_index": {
508             "type": "u32"
509         },
510         "mac_address": {
511             "type": "u8",
512             "length": 6
513         }
514     },
515     "vl_api_version": "0x88dc56c9"
516 }