Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / gtpu.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     "messages": [
79         [
80             "gtpu_add_del_tunnel",
81             [
82                 "u16",
83                 "_vl_msg_id"
84             ],
85             [
86                 "u32",
87                 "client_index"
88             ],
89             [
90                 "u32",
91                 "context"
92             ],
93             [
94                 "bool",
95                 "is_add"
96             ],
97             [
98                 "vl_api_address_t",
99                 "src_address"
100             ],
101             [
102                 "vl_api_address_t",
103                 "dst_address"
104             ],
105             [
106                 "vl_api_interface_index_t",
107                 "mcast_sw_if_index"
108             ],
109             [
110                 "u32",
111                 "encap_vrf_id"
112             ],
113             [
114                 "u32",
115                 "decap_next_index"
116             ],
117             [
118                 "u32",
119                 "teid"
120             ],
121             {
122                 "crc": "0x9a26a51c"
123             }
124         ],
125         [
126             "gtpu_add_del_tunnel_reply",
127             [
128                 "u16",
129                 "_vl_msg_id"
130             ],
131             [
132                 "u32",
133                 "context"
134             ],
135             [
136                 "i32",
137                 "retval"
138             ],
139             [
140                 "vl_api_interface_index_t",
141                 "sw_if_index"
142             ],
143             {
144                 "crc": "0x5383d31f"
145             }
146         ],
147         [
148             "gtpu_tunnel_dump",
149             [
150                 "u16",
151                 "_vl_msg_id"
152             ],
153             [
154                 "u32",
155                 "client_index"
156             ],
157             [
158                 "u32",
159                 "context"
160             ],
161             [
162                 "vl_api_interface_index_t",
163                 "sw_if_index"
164             ],
165             {
166                 "crc": "0xf9e6675e"
167             }
168         ],
169         [
170             "gtpu_tunnel_details",
171             [
172                 "u16",
173                 "_vl_msg_id"
174             ],
175             [
176                 "u32",
177                 "context"
178             ],
179             [
180                 "vl_api_interface_index_t",
181                 "sw_if_index"
182             ],
183             [
184                 "vl_api_address_t",
185                 "src_address"
186             ],
187             [
188                 "vl_api_address_t",
189                 "dst_address"
190             ],
191             [
192                 "vl_api_interface_index_t",
193                 "mcast_sw_if_index"
194             ],
195             [
196                 "u32",
197                 "encap_vrf_id"
198             ],
199             [
200                 "u32",
201                 "decap_next_index"
202             ],
203             [
204                 "u32",
205                 "teid"
206             ],
207             {
208                 "crc": "0xa4d81a09"
209             }
210         ],
211         [
212             "sw_interface_set_gtpu_bypass",
213             [
214                 "u16",
215                 "_vl_msg_id"
216             ],
217             [
218                 "u32",
219                 "client_index"
220             ],
221             [
222                 "u32",
223                 "context"
224             ],
225             [
226                 "vl_api_interface_index_t",
227                 "sw_if_index"
228             ],
229             [
230                 "bool",
231                 "is_ipv6"
232             ],
233             [
234                 "bool",
235                 "enable"
236             ],
237             {
238                 "crc": "0x65247409"
239             }
240         ],
241         [
242             "sw_interface_set_gtpu_bypass_reply",
243             [
244                 "u16",
245                 "_vl_msg_id"
246             ],
247             [
248                 "u32",
249                 "context"
250             ],
251             [
252                 "i32",
253                 "retval"
254             ],
255             {
256                 "crc": "0xe8d4e804"
257             }
258         ]
259     ],
260     "unions": [
261         [
262             "address_union",
263             [
264                 "vl_api_ip4_address_t",
265                 "ip4"
266             ],
267             [
268                 "vl_api_ip6_address_t",
269                 "ip6"
270             ]
271         ]
272     ],
273     "enums": [
274         [
275             "if_status_flags",
276             [
277                 "IF_STATUS_API_FLAG_ADMIN_UP",
278                 1
279             ],
280             [
281                 "IF_STATUS_API_FLAG_LINK_UP",
282                 2
283             ],
284             {
285                 "enumtype": "u32"
286             }
287         ],
288         [
289             "mtu_proto",
290             [
291                 "MTU_PROTO_API_L3",
292                 1
293             ],
294             [
295                 "MTU_PROTO_API_IP4",
296                 2
297             ],
298             [
299                 "MTU_PROTO_API_IP6",
300                 3
301             ],
302             [
303                 "MTU_PROTO_API_MPLS",
304                 4
305             ],
306             [
307                 "MTU_PROTO_API_N",
308                 5
309             ],
310             {
311                 "enumtype": "u32"
312             }
313         ],
314         [
315             "link_duplex",
316             [
317                 "LINK_DUPLEX_API_UNKNOWN",
318                 0
319             ],
320             [
321                 "LINK_DUPLEX_API_HALF",
322                 1
323             ],
324             [
325                 "LINK_DUPLEX_API_FULL",
326                 2
327             ],
328             {
329                 "enumtype": "u32"
330             }
331         ],
332         [
333             "sub_if_flags",
334             [
335                 "SUB_IF_API_FLAG_NO_TAGS",
336                 1
337             ],
338             [
339                 "SUB_IF_API_FLAG_ONE_TAG",
340                 2
341             ],
342             [
343                 "SUB_IF_API_FLAG_TWO_TAGS",
344                 4
345             ],
346             [
347                 "SUB_IF_API_FLAG_DOT1AD",
348                 8
349             ],
350             [
351                 "SUB_IF_API_FLAG_EXACT_MATCH",
352                 16
353             ],
354             [
355                 "SUB_IF_API_FLAG_DEFAULT",
356                 32
357             ],
358             [
359                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
360                 64
361             ],
362             [
363                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
364                 128
365             ],
366             [
367                 "SUB_IF_API_FLAG_MASK_VNET",
368                 254
369             ],
370             [
371                 "SUB_IF_API_FLAG_DOT1AH",
372                 256
373             ],
374             {
375                 "enumtype": "u32"
376             }
377         ],
378         [
379             "rx_mode",
380             [
381                 "RX_MODE_API_UNKNOWN",
382                 0
383             ],
384             [
385                 "RX_MODE_API_POLLING",
386                 1
387             ],
388             [
389                 "RX_MODE_API_INTERRUPT",
390                 2
391             ],
392             [
393                 "RX_MODE_API_ADAPTIVE",
394                 3
395             ],
396             [
397                 "RX_MODE_API_DEFAULT",
398                 4
399             ],
400             {
401                 "enumtype": "u32"
402             }
403         ],
404         [
405             "if_type",
406             [
407                 "IF_API_TYPE_HARDWARE",
408                 1
409             ],
410             [
411                 "IF_API_TYPE_SUB",
412                 2
413             ],
414             [
415                 "IF_API_TYPE_P2P",
416                 3
417             ],
418             [
419                 "IF_API_TYPE_PIPE",
420                 4
421             ],
422             {
423                 "enumtype": "u32"
424             }
425         ],
426         [
427             "address_family",
428             [
429                 "ADDRESS_IP4",
430                 0
431             ],
432             [
433                 "ADDRESS_IP6",
434                 1
435             ],
436             {
437                 "enumtype": "u32"
438             }
439         ],
440         [
441             "ip_ecn",
442             [
443                 "IP_API_ECN_NONE",
444                 0
445             ],
446             [
447                 "IP_API_ECN_ECT0",
448                 1
449             ],
450             [
451                 "IP_API_ECN_ECT1",
452                 2
453             ],
454             [
455                 "IP_API_ECN_CE",
456                 3
457             ],
458             {
459                 "enumtype": "u8"
460             }
461         ],
462         [
463             "ip_dscp",
464             [
465                 "IP_API_DSCP_CS0",
466                 0
467             ],
468             [
469                 "IP_API_DSCP_CS1",
470                 8
471             ],
472             [
473                 "IP_API_DSCP_AF11",
474                 10
475             ],
476             [
477                 "IP_API_DSCP_AF12",
478                 12
479             ],
480             [
481                 "IP_API_DSCP_AF13",
482                 14
483             ],
484             [
485                 "IP_API_DSCP_CS2",
486                 16
487             ],
488             [
489                 "IP_API_DSCP_AF21",
490                 18
491             ],
492             [
493                 "IP_API_DSCP_AF22",
494                 20
495             ],
496             [
497                 "IP_API_DSCP_AF23",
498                 22
499             ],
500             [
501                 "IP_API_DSCP_CS3",
502                 24
503             ],
504             [
505                 "IP_API_DSCP_AF31",
506                 26
507             ],
508             [
509                 "IP_API_DSCP_AF32",
510                 28
511             ],
512             [
513                 "IP_API_DSCP_AF33",
514                 30
515             ],
516             [
517                 "IP_API_DSCP_CS4",
518                 32
519             ],
520             [
521                 "IP_API_DSCP_AF41",
522                 34
523             ],
524             [
525                 "IP_API_DSCP_AF42",
526                 36
527             ],
528             [
529                 "IP_API_DSCP_AF43",
530                 38
531             ],
532             [
533                 "IP_API_DSCP_CS5",
534                 40
535             ],
536             [
537                 "IP_API_DSCP_EF",
538                 46
539             ],
540             [
541                 "IP_API_DSCP_CS6",
542                 48
543             ],
544             [
545                 "IP_API_DSCP_CS7",
546                 50
547             ],
548             {
549                 "enumtype": "u8"
550             }
551         ],
552         [
553             "ip_proto",
554             [
555                 "IP_API_PROTO_HOPOPT",
556                 0
557             ],
558             [
559                 "IP_API_PROTO_ICMP",
560                 1
561             ],
562             [
563                 "IP_API_PROTO_IGMP",
564                 2
565             ],
566             [
567                 "IP_API_PROTO_TCP",
568                 6
569             ],
570             [
571                 "IP_API_PROTO_UDP",
572                 17
573             ],
574             [
575                 "IP_API_PROTO_GRE",
576                 47
577             ],
578             [
579                 "IP_API_PROTO_AH",
580                 50
581             ],
582             [
583                 "IP_API_PROTO_ESP",
584                 51
585             ],
586             [
587                 "IP_API_PROTO_EIGRP",
588                 88
589             ],
590             [
591                 "IP_API_PROTO_OSPF",
592                 89
593             ],
594             [
595                 "IP_API_PROTO_SCTP",
596                 132
597             ],
598             [
599                 "IP_API_PROTO_RESERVED",
600                 255
601             ],
602             {
603                 "enumtype": "u32"
604             }
605         ]
606     ],
607     "services": {
608         "gtpu_add_del_tunnel": {
609             "reply": "gtpu_add_del_tunnel_reply"
610         },
611         "gtpu_tunnel_dump": {
612             "reply": "gtpu_tunnel_details",
613             "stream": true
614         },
615         "sw_interface_set_gtpu_bypass": {
616             "reply": "sw_interface_set_gtpu_bypass_reply"
617         }
618     },
619     "options": {
620         "version": "2.0.0"
621     },
622     "aliases": {
623         "interface_index": {
624             "type": "u32"
625         },
626         "ip4_address": {
627             "type": "u8",
628             "length": 4
629         },
630         "ip6_address": {
631             "type": "u8",
632             "length": 16
633         },
634         "address_with_prefix": {
635             "type": "vl_api_prefix_t"
636         },
637         "ip4_address_with_prefix": {
638             "type": "vl_api_ip4_prefix_t"
639         },
640         "ip6_address_with_prefix": {
641             "type": "vl_api_ip6_prefix_t"
642         }
643     },
644     "vl_api_version": "0x6305cc01"
645 }