Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / igmp.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             "igmp_group",
79             [
80                 "vl_api_filter_mode_t",
81                 "filter"
82             ],
83             [
84                 "u8",
85                 "n_srcs"
86             ],
87             [
88                 "vl_api_interface_index_t",
89                 "sw_if_index"
90             ],
91             [
92                 "vl_api_ip4_address_t",
93                 "gaddr"
94             ],
95             [
96                 "vl_api_ip4_address_t",
97                 "saddrs",
98                 0,
99                 "n_srcs"
100             ]
101         ],
102         [
103             "group_prefix",
104             [
105                 "vl_api_group_prefix_type_t",
106                 "type"
107             ],
108             [
109                 "vl_api_prefix_t",
110                 "prefix"
111             ]
112         ]
113     ],
114     "messages": [
115         [
116             "igmp_listen",
117             [
118                 "u16",
119                 "_vl_msg_id"
120             ],
121             [
122                 "u32",
123                 "client_index"
124             ],
125             [
126                 "u32",
127                 "context"
128             ],
129             [
130                 "vl_api_igmp_group_t",
131                 "group"
132             ],
133             {
134                 "crc": "0x3f93a51a"
135             }
136         ],
137         [
138             "igmp_listen_reply",
139             [
140                 "u16",
141                 "_vl_msg_id"
142             ],
143             [
144                 "u32",
145                 "context"
146             ],
147             [
148                 "i32",
149                 "retval"
150             ],
151             {
152                 "crc": "0xe8d4e804"
153             }
154         ],
155         [
156             "igmp_enable_disable",
157             [
158                 "u16",
159                 "_vl_msg_id"
160             ],
161             [
162                 "u32",
163                 "client_index"
164             ],
165             [
166                 "u32",
167                 "context"
168             ],
169             [
170                 "bool",
171                 "enable"
172             ],
173             [
174                 "u8",
175                 "mode"
176             ],
177             [
178                 "vl_api_interface_index_t",
179                 "sw_if_index"
180             ],
181             {
182                 "crc": "0xb1edfb96"
183             }
184         ],
185         [
186             "igmp_enable_disable_reply",
187             [
188                 "u16",
189                 "_vl_msg_id"
190             ],
191             [
192                 "u32",
193                 "context"
194             ],
195             [
196                 "i32",
197                 "retval"
198             ],
199             {
200                 "crc": "0xe8d4e804"
201             }
202         ],
203         [
204             "igmp_proxy_device_add_del",
205             [
206                 "u16",
207                 "_vl_msg_id"
208             ],
209             [
210                 "u32",
211                 "client_index"
212             ],
213             [
214                 "u32",
215                 "context"
216             ],
217             [
218                 "u8",
219                 "add"
220             ],
221             [
222                 "u32",
223                 "vrf_id"
224             ],
225             [
226                 "vl_api_interface_index_t",
227                 "sw_if_index"
228             ],
229             {
230                 "crc": "0x0b9be9ce"
231             }
232         ],
233         [
234             "igmp_proxy_device_add_del_reply",
235             [
236                 "u16",
237                 "_vl_msg_id"
238             ],
239             [
240                 "u32",
241                 "context"
242             ],
243             [
244                 "i32",
245                 "retval"
246             ],
247             {
248                 "crc": "0xe8d4e804"
249             }
250         ],
251         [
252             "igmp_proxy_device_add_del_interface",
253             [
254                 "u16",
255                 "_vl_msg_id"
256             ],
257             [
258                 "u32",
259                 "client_index"
260             ],
261             [
262                 "u32",
263                 "context"
264             ],
265             [
266                 "bool",
267                 "add"
268             ],
269             [
270                 "u32",
271                 "vrf_id"
272             ],
273             [
274                 "vl_api_interface_index_t",
275                 "sw_if_index"
276             ],
277             {
278                 "crc": "0x1a9ec24a"
279             }
280         ],
281         [
282             "igmp_proxy_device_add_del_interface_reply",
283             [
284                 "u16",
285                 "_vl_msg_id"
286             ],
287             [
288                 "u32",
289                 "context"
290             ],
291             [
292                 "i32",
293                 "retval"
294             ],
295             {
296                 "crc": "0xe8d4e804"
297             }
298         ],
299         [
300             "igmp_dump",
301             [
302                 "u16",
303                 "_vl_msg_id"
304             ],
305             [
306                 "u32",
307                 "client_index"
308             ],
309             [
310                 "u32",
311                 "context"
312             ],
313             [
314                 "vl_api_interface_index_t",
315                 "sw_if_index"
316             ],
317             {
318                 "crc": "0xf9e6675e"
319             }
320         ],
321         [
322             "igmp_details",
323             [
324                 "u16",
325                 "_vl_msg_id"
326             ],
327             [
328                 "u32",
329                 "context"
330             ],
331             [
332                 "vl_api_interface_index_t",
333                 "sw_if_index"
334             ],
335             [
336                 "vl_api_ip4_address_t",
337                 "saddr"
338             ],
339             [
340                 "vl_api_ip4_address_t",
341                 "gaddr"
342             ],
343             {
344                 "crc": "0x52f12a89"
345             }
346         ],
347         [
348             "igmp_clear_interface",
349             [
350                 "u16",
351                 "_vl_msg_id"
352             ],
353             [
354                 "u32",
355                 "client_index"
356             ],
357             [
358                 "u32",
359                 "context"
360             ],
361             [
362                 "vl_api_interface_index_t",
363                 "sw_if_index"
364             ],
365             {
366                 "crc": "0xf9e6675e"
367             }
368         ],
369         [
370             "igmp_clear_interface_reply",
371             [
372                 "u16",
373                 "_vl_msg_id"
374             ],
375             [
376                 "u32",
377                 "context"
378             ],
379             [
380                 "i32",
381                 "retval"
382             ],
383             {
384                 "crc": "0xe8d4e804"
385             }
386         ],
387         [
388             "want_igmp_events",
389             [
390                 "u16",
391                 "_vl_msg_id"
392             ],
393             [
394                 "u32",
395                 "client_index"
396             ],
397             [
398                 "u32",
399                 "context"
400             ],
401             [
402                 "u32",
403                 "enable"
404             ],
405             [
406                 "u32",
407                 "pid"
408             ],
409             {
410                 "crc": "0xcfaccc1f"
411             }
412         ],
413         [
414             "want_igmp_events_reply",
415             [
416                 "u16",
417                 "_vl_msg_id"
418             ],
419             [
420                 "u32",
421                 "context"
422             ],
423             [
424                 "i32",
425                 "retval"
426             ],
427             {
428                 "crc": "0xe8d4e804"
429             }
430         ],
431         [
432             "igmp_event",
433             [
434                 "u16",
435                 "_vl_msg_id"
436             ],
437             [
438                 "vl_api_interface_index_t",
439                 "sw_if_index"
440             ],
441             [
442                 "vl_api_filter_mode_t",
443                 "filter"
444             ],
445             [
446                 "vl_api_ip4_address_t",
447                 "saddr"
448             ],
449             [
450                 "vl_api_ip4_address_t",
451                 "gaddr"
452             ],
453             {
454                 "crc": "0xd7696eaf"
455             }
456         ],
457         [
458             "igmp_group_prefix_set",
459             [
460                 "u16",
461                 "_vl_msg_id"
462             ],
463             [
464                 "u32",
465                 "client_index"
466             ],
467             [
468                 "u32",
469                 "context"
470             ],
471             [
472                 "vl_api_group_prefix_t",
473                 "gp"
474             ],
475             {
476                 "crc": "0xd4f20ac5"
477             }
478         ],
479         [
480             "igmp_group_prefix_set_reply",
481             [
482                 "u16",
483                 "_vl_msg_id"
484             ],
485             [
486                 "u32",
487                 "context"
488             ],
489             [
490                 "i32",
491                 "retval"
492             ],
493             {
494                 "crc": "0xe8d4e804"
495             }
496         ],
497         [
498             "igmp_group_prefix_dump",
499             [
500                 "u16",
501                 "_vl_msg_id"
502             ],
503             [
504                 "u32",
505                 "client_index"
506             ],
507             [
508                 "u32",
509                 "context"
510             ],
511             {
512                 "crc": "0x51077d14"
513             }
514         ],
515         [
516             "igmp_group_prefix_details",
517             [
518                 "u16",
519                 "_vl_msg_id"
520             ],
521             [
522                 "u32",
523                 "context"
524             ],
525             [
526                 "vl_api_group_prefix_t",
527                 "gp"
528             ],
529             {
530                 "crc": "0xc3b3c526"
531             }
532         ]
533     ],
534     "unions": [
535         [
536             "address_union",
537             [
538                 "vl_api_ip4_address_t",
539                 "ip4"
540             ],
541             [
542                 "vl_api_ip6_address_t",
543                 "ip6"
544             ]
545         ]
546     ],
547     "enums": [
548         [
549             "address_family",
550             [
551                 "ADDRESS_IP4",
552                 0
553             ],
554             [
555                 "ADDRESS_IP6",
556                 1
557             ],
558             {
559                 "enumtype": "u32"
560             }
561         ],
562         [
563             "ip_ecn",
564             [
565                 "IP_API_ECN_NONE",
566                 0
567             ],
568             [
569                 "IP_API_ECN_ECT0",
570                 1
571             ],
572             [
573                 "IP_API_ECN_ECT1",
574                 2
575             ],
576             [
577                 "IP_API_ECN_CE",
578                 3
579             ],
580             {
581                 "enumtype": "u8"
582             }
583         ],
584         [
585             "ip_dscp",
586             [
587                 "IP_API_DSCP_CS0",
588                 0
589             ],
590             [
591                 "IP_API_DSCP_CS1",
592                 8
593             ],
594             [
595                 "IP_API_DSCP_AF11",
596                 10
597             ],
598             [
599                 "IP_API_DSCP_AF12",
600                 12
601             ],
602             [
603                 "IP_API_DSCP_AF13",
604                 14
605             ],
606             [
607                 "IP_API_DSCP_CS2",
608                 16
609             ],
610             [
611                 "IP_API_DSCP_AF21",
612                 18
613             ],
614             [
615                 "IP_API_DSCP_AF22",
616                 20
617             ],
618             [
619                 "IP_API_DSCP_AF23",
620                 22
621             ],
622             [
623                 "IP_API_DSCP_CS3",
624                 24
625             ],
626             [
627                 "IP_API_DSCP_AF31",
628                 26
629             ],
630             [
631                 "IP_API_DSCP_AF32",
632                 28
633             ],
634             [
635                 "IP_API_DSCP_AF33",
636                 30
637             ],
638             [
639                 "IP_API_DSCP_CS4",
640                 32
641             ],
642             [
643                 "IP_API_DSCP_AF41",
644                 34
645             ],
646             [
647                 "IP_API_DSCP_AF42",
648                 36
649             ],
650             [
651                 "IP_API_DSCP_AF43",
652                 38
653             ],
654             [
655                 "IP_API_DSCP_CS5",
656                 40
657             ],
658             [
659                 "IP_API_DSCP_EF",
660                 46
661             ],
662             [
663                 "IP_API_DSCP_CS6",
664                 48
665             ],
666             [
667                 "IP_API_DSCP_CS7",
668                 50
669             ],
670             {
671                 "enumtype": "u8"
672             }
673         ],
674         [
675             "ip_proto",
676             [
677                 "IP_API_PROTO_HOPOPT",
678                 0
679             ],
680             [
681                 "IP_API_PROTO_ICMP",
682                 1
683             ],
684             [
685                 "IP_API_PROTO_IGMP",
686                 2
687             ],
688             [
689                 "IP_API_PROTO_TCP",
690                 6
691             ],
692             [
693                 "IP_API_PROTO_UDP",
694                 17
695             ],
696             [
697                 "IP_API_PROTO_GRE",
698                 47
699             ],
700             [
701                 "IP_API_PROTO_AH",
702                 50
703             ],
704             [
705                 "IP_API_PROTO_ESP",
706                 51
707             ],
708             [
709                 "IP_API_PROTO_EIGRP",
710                 88
711             ],
712             [
713                 "IP_API_PROTO_OSPF",
714                 89
715             ],
716             [
717                 "IP_API_PROTO_SCTP",
718                 132
719             ],
720             [
721                 "IP_API_PROTO_RESERVED",
722                 255
723             ],
724             {
725                 "enumtype": "u32"
726             }
727         ],
728         [
729             "if_status_flags",
730             [
731                 "IF_STATUS_API_FLAG_ADMIN_UP",
732                 1
733             ],
734             [
735                 "IF_STATUS_API_FLAG_LINK_UP",
736                 2
737             ],
738             {
739                 "enumtype": "u32"
740             }
741         ],
742         [
743             "mtu_proto",
744             [
745                 "MTU_PROTO_API_L3",
746                 1
747             ],
748             [
749                 "MTU_PROTO_API_IP4",
750                 2
751             ],
752             [
753                 "MTU_PROTO_API_IP6",
754                 3
755             ],
756             [
757                 "MTU_PROTO_API_MPLS",
758                 4
759             ],
760             [
761                 "MTU_PROTO_API_N",
762                 5
763             ],
764             {
765                 "enumtype": "u32"
766             }
767         ],
768         [
769             "link_duplex",
770             [
771                 "LINK_DUPLEX_API_UNKNOWN",
772                 0
773             ],
774             [
775                 "LINK_DUPLEX_API_HALF",
776                 1
777             ],
778             [
779                 "LINK_DUPLEX_API_FULL",
780                 2
781             ],
782             {
783                 "enumtype": "u32"
784             }
785         ],
786         [
787             "sub_if_flags",
788             [
789                 "SUB_IF_API_FLAG_NO_TAGS",
790                 1
791             ],
792             [
793                 "SUB_IF_API_FLAG_ONE_TAG",
794                 2
795             ],
796             [
797                 "SUB_IF_API_FLAG_TWO_TAGS",
798                 4
799             ],
800             [
801                 "SUB_IF_API_FLAG_DOT1AD",
802                 8
803             ],
804             [
805                 "SUB_IF_API_FLAG_EXACT_MATCH",
806                 16
807             ],
808             [
809                 "SUB_IF_API_FLAG_DEFAULT",
810                 32
811             ],
812             [
813                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
814                 64
815             ],
816             [
817                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
818                 128
819             ],
820             [
821                 "SUB_IF_API_FLAG_MASK_VNET",
822                 254
823             ],
824             [
825                 "SUB_IF_API_FLAG_DOT1AH",
826                 256
827             ],
828             {
829                 "enumtype": "u32"
830             }
831         ],
832         [
833             "rx_mode",
834             [
835                 "RX_MODE_API_UNKNOWN",
836                 0
837             ],
838             [
839                 "RX_MODE_API_POLLING",
840                 1
841             ],
842             [
843                 "RX_MODE_API_INTERRUPT",
844                 2
845             ],
846             [
847                 "RX_MODE_API_ADAPTIVE",
848                 3
849             ],
850             [
851                 "RX_MODE_API_DEFAULT",
852                 4
853             ],
854             {
855                 "enumtype": "u32"
856             }
857         ],
858         [
859             "if_type",
860             [
861                 "IF_API_TYPE_HARDWARE",
862                 1
863             ],
864             [
865                 "IF_API_TYPE_SUB",
866                 2
867             ],
868             [
869                 "IF_API_TYPE_P2P",
870                 3
871             ],
872             [
873                 "IF_API_TYPE_PIPE",
874                 4
875             ],
876             {
877                 "enumtype": "u32"
878             }
879         ],
880         [
881             "filter_mode",
882             [
883                 "EXCLUDE",
884                 0
885             ],
886             [
887                 "INCLUDE",
888                 1
889             ],
890             {
891                 "enumtype": "u32"
892             }
893         ],
894         [
895             "group_prefix_type",
896             [
897                 "ASM",
898                 0
899             ],
900             [
901                 "SSM",
902                 1
903             ],
904             {
905                 "enumtype": "u32"
906             }
907         ]
908     ],
909     "services": {
910         "want_igmp_events": {
911             "reply": "want_igmp_events_reply",
912             "events": [
913                 "igmp_event"
914             ]
915         },
916         "igmp_listen": {
917             "reply": "igmp_listen_reply"
918         },
919         "igmp_enable_disable": {
920             "reply": "igmp_enable_disable_reply"
921         },
922         "igmp_proxy_device_add_del": {
923             "reply": "igmp_proxy_device_add_del_reply"
924         },
925         "igmp_proxy_device_add_del_interface": {
926             "reply": "igmp_proxy_device_add_del_interface_reply"
927         },
928         "igmp_dump": {
929             "reply": "igmp_details",
930             "stream": true
931         },
932         "igmp_clear_interface": {
933             "reply": "igmp_clear_interface_reply"
934         },
935         "igmp_group_prefix_set": {
936             "reply": "igmp_group_prefix_set_reply"
937         },
938         "igmp_group_prefix_dump": {
939             "reply": "igmp_group_prefix_details",
940             "stream": true
941         }
942     },
943     "options": {
944         "version": "1.0.0"
945     },
946     "aliases": {
947         "ip4_address": {
948             "type": "u8",
949             "length": 4
950         },
951         "ip6_address": {
952             "type": "u8",
953             "length": 16
954         },
955         "address_with_prefix": {
956             "type": "vl_api_prefix_t"
957         },
958         "ip4_address_with_prefix": {
959             "type": "vl_api_ip4_prefix_t"
960         },
961         "ip6_address_with_prefix": {
962             "type": "vl_api_ip6_prefix_t"
963         },
964         "interface_index": {
965             "type": "u32"
966         }
967     },
968     "vl_api_version": "0xfd1fef7b"
969 }