Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / nhrp.api.json
1 {
2     "types": [
3         [
4             "address",
5             [
6                 "vl_api_address_family_t",
7                 "af"
8             ],
9             [
10                 "vl_api_address_union_t",
11                 "un"
12             ]
13         ],
14         [
15             "prefix",
16             [
17                 "vl_api_address_t",
18                 "address"
19             ],
20             [
21                 "u8",
22                 "len"
23             ]
24         ],
25         [
26             "mprefix",
27             [
28                 "vl_api_address_family_t",
29                 "af"
30             ],
31             [
32                 "u16",
33                 "grp_address_length"
34             ],
35             [
36                 "vl_api_address_union_t",
37                 "grp_address"
38             ],
39             [
40                 "vl_api_address_union_t",
41                 "src_address"
42             ]
43         ],
44         [
45             "ip6_prefix",
46             [
47                 "vl_api_ip6_address_t",
48                 "address"
49             ],
50             [
51                 "u8",
52                 "len"
53             ]
54         ],
55         [
56             "ip4_prefix",
57             [
58                 "vl_api_ip4_address_t",
59                 "address"
60             ],
61             [
62                 "u8",
63                 "len"
64             ]
65         ],
66         [
67             "prefix_matcher",
68             [
69                 "u8",
70                 "le"
71             ],
72             [
73                 "u8",
74                 "ge"
75             ]
76         ],
77         [
78             "nhrp_entry",
79             [
80                 "vl_api_interface_index_t",
81                 "sw_if_index"
82             ],
83             [
84                 "vl_api_address_t",
85                 "peer"
86             ],
87             [
88                 "vl_api_address_t",
89                 "nh"
90             ],
91             [
92                 "u32",
93                 "nh_table_id"
94             ]
95         ]
96     ],
97     "messages": [
98         [
99             "nhrp_entry_add_del",
100             [
101                 "u16",
102                 "_vl_msg_id"
103             ],
104             [
105                 "u32",
106                 "client_index"
107             ],
108             [
109                 "u32",
110                 "context"
111             ],
112             [
113                 "u8",
114                 "is_add"
115             ],
116             [
117                 "vl_api_nhrp_entry_t",
118                 "entry"
119             ],
120             {
121                 "crc": "0x5a47c531"
122             }
123         ],
124         [
125             "nhrp_entry_add_del_reply",
126             [
127                 "u16",
128                 "_vl_msg_id"
129             ],
130             [
131                 "u32",
132                 "context"
133             ],
134             [
135                 "i32",
136                 "retval"
137             ],
138             {
139                 "crc": "0xe8d4e804"
140             }
141         ],
142         [
143             "nhrp_dump",
144             [
145                 "u16",
146                 "_vl_msg_id"
147             ],
148             [
149                 "u32",
150                 "client_index"
151             ],
152             [
153                 "u32",
154                 "context"
155             ],
156             {
157                 "crc": "0x51077d14"
158             }
159         ],
160         [
161             "nhrp_details",
162             [
163                 "u16",
164                 "_vl_msg_id"
165             ],
166             [
167                 "u32",
168                 "context"
169             ],
170             [
171                 "vl_api_nhrp_entry_t",
172                 "entry"
173             ],
174             {
175                 "crc": "0xe351c50a"
176             }
177         ]
178     ],
179     "unions": [
180         [
181             "address_union",
182             [
183                 "vl_api_ip4_address_t",
184                 "ip4"
185             ],
186             [
187                 "vl_api_ip6_address_t",
188                 "ip6"
189             ]
190         ]
191     ],
192     "enums": [
193         [
194             "address_family",
195             [
196                 "ADDRESS_IP4",
197                 0
198             ],
199             [
200                 "ADDRESS_IP6",
201                 1
202             ],
203             {
204                 "enumtype": "u32"
205             }
206         ],
207         [
208             "ip_ecn",
209             [
210                 "IP_API_ECN_NONE",
211                 0
212             ],
213             [
214                 "IP_API_ECN_ECT0",
215                 1
216             ],
217             [
218                 "IP_API_ECN_ECT1",
219                 2
220             ],
221             [
222                 "IP_API_ECN_CE",
223                 3
224             ],
225             {
226                 "enumtype": "u8"
227             }
228         ],
229         [
230             "ip_dscp",
231             [
232                 "IP_API_DSCP_CS0",
233                 0
234             ],
235             [
236                 "IP_API_DSCP_CS1",
237                 8
238             ],
239             [
240                 "IP_API_DSCP_AF11",
241                 10
242             ],
243             [
244                 "IP_API_DSCP_AF12",
245                 12
246             ],
247             [
248                 "IP_API_DSCP_AF13",
249                 14
250             ],
251             [
252                 "IP_API_DSCP_CS2",
253                 16
254             ],
255             [
256                 "IP_API_DSCP_AF21",
257                 18
258             ],
259             [
260                 "IP_API_DSCP_AF22",
261                 20
262             ],
263             [
264                 "IP_API_DSCP_AF23",
265                 22
266             ],
267             [
268                 "IP_API_DSCP_CS3",
269                 24
270             ],
271             [
272                 "IP_API_DSCP_AF31",
273                 26
274             ],
275             [
276                 "IP_API_DSCP_AF32",
277                 28
278             ],
279             [
280                 "IP_API_DSCP_AF33",
281                 30
282             ],
283             [
284                 "IP_API_DSCP_CS4",
285                 32
286             ],
287             [
288                 "IP_API_DSCP_AF41",
289                 34
290             ],
291             [
292                 "IP_API_DSCP_AF42",
293                 36
294             ],
295             [
296                 "IP_API_DSCP_AF43",
297                 38
298             ],
299             [
300                 "IP_API_DSCP_CS5",
301                 40
302             ],
303             [
304                 "IP_API_DSCP_EF",
305                 46
306             ],
307             [
308                 "IP_API_DSCP_CS6",
309                 48
310             ],
311             [
312                 "IP_API_DSCP_CS7",
313                 50
314             ],
315             {
316                 "enumtype": "u8"
317             }
318         ],
319         [
320             "ip_proto",
321             [
322                 "IP_API_PROTO_HOPOPT",
323                 0
324             ],
325             [
326                 "IP_API_PROTO_ICMP",
327                 1
328             ],
329             [
330                 "IP_API_PROTO_IGMP",
331                 2
332             ],
333             [
334                 "IP_API_PROTO_TCP",
335                 6
336             ],
337             [
338                 "IP_API_PROTO_UDP",
339                 17
340             ],
341             [
342                 "IP_API_PROTO_GRE",
343                 47
344             ],
345             [
346                 "IP_API_PROTO_AH",
347                 50
348             ],
349             [
350                 "IP_API_PROTO_ESP",
351                 51
352             ],
353             [
354                 "IP_API_PROTO_EIGRP",
355                 88
356             ],
357             [
358                 "IP_API_PROTO_OSPF",
359                 89
360             ],
361             [
362                 "IP_API_PROTO_SCTP",
363                 132
364             ],
365             [
366                 "IP_API_PROTO_RESERVED",
367                 255
368             ],
369             {
370                 "enumtype": "u32"
371             }
372         ],
373         [
374             "if_status_flags",
375             [
376                 "IF_STATUS_API_FLAG_ADMIN_UP",
377                 1
378             ],
379             [
380                 "IF_STATUS_API_FLAG_LINK_UP",
381                 2
382             ],
383             {
384                 "enumtype": "u32"
385             }
386         ],
387         [
388             "mtu_proto",
389             [
390                 "MTU_PROTO_API_L3",
391                 1
392             ],
393             [
394                 "MTU_PROTO_API_IP4",
395                 2
396             ],
397             [
398                 "MTU_PROTO_API_IP6",
399                 3
400             ],
401             [
402                 "MTU_PROTO_API_MPLS",
403                 4
404             ],
405             [
406                 "MTU_PROTO_API_N",
407                 5
408             ],
409             {
410                 "enumtype": "u32"
411             }
412         ],
413         [
414             "link_duplex",
415             [
416                 "LINK_DUPLEX_API_UNKNOWN",
417                 0
418             ],
419             [
420                 "LINK_DUPLEX_API_HALF",
421                 1
422             ],
423             [
424                 "LINK_DUPLEX_API_FULL",
425                 2
426             ],
427             {
428                 "enumtype": "u32"
429             }
430         ],
431         [
432             "sub_if_flags",
433             [
434                 "SUB_IF_API_FLAG_NO_TAGS",
435                 1
436             ],
437             [
438                 "SUB_IF_API_FLAG_ONE_TAG",
439                 2
440             ],
441             [
442                 "SUB_IF_API_FLAG_TWO_TAGS",
443                 4
444             ],
445             [
446                 "SUB_IF_API_FLAG_DOT1AD",
447                 8
448             ],
449             [
450                 "SUB_IF_API_FLAG_EXACT_MATCH",
451                 16
452             ],
453             [
454                 "SUB_IF_API_FLAG_DEFAULT",
455                 32
456             ],
457             [
458                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
459                 64
460             ],
461             [
462                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
463                 128
464             ],
465             [
466                 "SUB_IF_API_FLAG_MASK_VNET",
467                 254
468             ],
469             [
470                 "SUB_IF_API_FLAG_DOT1AH",
471                 256
472             ],
473             {
474                 "enumtype": "u32"
475             }
476         ],
477         [
478             "rx_mode",
479             [
480                 "RX_MODE_API_UNKNOWN",
481                 0
482             ],
483             [
484                 "RX_MODE_API_POLLING",
485                 1
486             ],
487             [
488                 "RX_MODE_API_INTERRUPT",
489                 2
490             ],
491             [
492                 "RX_MODE_API_ADAPTIVE",
493                 3
494             ],
495             [
496                 "RX_MODE_API_DEFAULT",
497                 4
498             ],
499             {
500                 "enumtype": "u32"
501             }
502         ],
503         [
504             "if_type",
505             [
506                 "IF_API_TYPE_HARDWARE",
507                 1
508             ],
509             [
510                 "IF_API_TYPE_SUB",
511                 2
512             ],
513             [
514                 "IF_API_TYPE_P2P",
515                 3
516             ],
517             [
518                 "IF_API_TYPE_PIPE",
519                 4
520             ],
521             {
522                 "enumtype": "u32"
523             }
524         ]
525     ],
526     "services": {
527         "nhrp_entry_add_del": {
528             "reply": "nhrp_entry_add_del_reply"
529         },
530         "nhrp_dump": {
531             "reply": "nhrp_details",
532             "stream": true
533         }
534     },
535     "options": {
536         "version": "1.0.0"
537     },
538     "aliases": {
539         "ip4_address": {
540             "type": "u8",
541             "length": 4
542         },
543         "ip6_address": {
544             "type": "u8",
545             "length": 16
546         },
547         "address_with_prefix": {
548             "type": "vl_api_prefix_t"
549         },
550         "ip4_address_with_prefix": {
551             "type": "vl_api_ip4_prefix_t"
552         },
553         "ip6_address_with_prefix": {
554             "type": "vl_api_ip6_prefix_t"
555         },
556         "interface_index": {
557             "type": "u32"
558         }
559     },
560     "vl_api_version": "0xfb0453b2"
561 }