Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / ipsec.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             "key",
79             [
80                 "u8",
81                 "length"
82             ],
83             [
84                 "u8",
85                 "data",
86                 128
87             ]
88         ],
89         [
90             "ipsec_sad_entry",
91             [
92                 "u32",
93                 "sad_id"
94             ],
95             [
96                 "u32",
97                 "spi"
98             ],
99             [
100                 "vl_api_ipsec_proto_t",
101                 "protocol"
102             ],
103             [
104                 "vl_api_ipsec_crypto_alg_t",
105                 "crypto_algorithm"
106             ],
107             [
108                 "vl_api_key_t",
109                 "crypto_key"
110             ],
111             [
112                 "vl_api_ipsec_integ_alg_t",
113                 "integrity_algorithm"
114             ],
115             [
116                 "vl_api_key_t",
117                 "integrity_key"
118             ],
119             [
120                 "vl_api_ipsec_sad_flags_t",
121                 "flags"
122             ],
123             [
124                 "vl_api_address_t",
125                 "tunnel_src"
126             ],
127             [
128                 "vl_api_address_t",
129                 "tunnel_dst"
130             ],
131             [
132                 "u32",
133                 "tx_table_id"
134             ],
135             [
136                 "u32",
137                 "salt"
138             ]
139         ],
140         [
141             "ipsec_spd_entry",
142             [
143                 "u32",
144                 "spd_id"
145             ],
146             [
147                 "i32",
148                 "priority"
149             ],
150             [
151                 "u8",
152                 "is_outbound"
153             ],
154             [
155                 "u32",
156                 "sa_id"
157             ],
158             [
159                 "vl_api_ipsec_spd_action_t",
160                 "policy"
161             ],
162             [
163                 "u8",
164                 "protocol"
165             ],
166             [
167                 "vl_api_address_t",
168                 "remote_address_start"
169             ],
170             [
171                 "vl_api_address_t",
172                 "remote_address_stop"
173             ],
174             [
175                 "vl_api_address_t",
176                 "local_address_start"
177             ],
178             [
179                 "vl_api_address_t",
180                 "local_address_stop"
181             ],
182             [
183                 "u16",
184                 "remote_port_start"
185             ],
186             [
187                 "u16",
188                 "remote_port_stop"
189             ],
190             [
191                 "u16",
192                 "local_port_start"
193             ],
194             [
195                 "u16",
196                 "local_port_stop"
197             ]
198         ],
199         [
200             "ipsec_tunnel_protect",
201             [
202                 "vl_api_interface_index_t",
203                 "sw_if_index"
204             ],
205             [
206                 "u32",
207                 "sa_out"
208             ],
209             [
210                 "u8",
211                 "n_sa_in"
212             ],
213             [
214                 "u32",
215                 "sa_in",
216                 0,
217                 "n_sa_in"
218             ]
219         ]
220     ],
221     "messages": [
222         [
223             "ipsec_spd_add_del",
224             [
225                 "u16",
226                 "_vl_msg_id"
227             ],
228             [
229                 "u32",
230                 "client_index"
231             ],
232             [
233                 "u32",
234                 "context"
235             ],
236             [
237                 "u8",
238                 "is_add"
239             ],
240             [
241                 "u32",
242                 "spd_id"
243             ],
244             {
245                 "crc": "0x9ffdf5da"
246             }
247         ],
248         [
249             "ipsec_spd_add_del_reply",
250             [
251                 "u16",
252                 "_vl_msg_id"
253             ],
254             [
255                 "u32",
256                 "context"
257             ],
258             [
259                 "i32",
260                 "retval"
261             ],
262             {
263                 "crc": "0xe8d4e804"
264             }
265         ],
266         [
267             "ipsec_interface_add_del_spd",
268             [
269                 "u16",
270                 "_vl_msg_id"
271             ],
272             [
273                 "u32",
274                 "client_index"
275             ],
276             [
277                 "u32",
278                 "context"
279             ],
280             [
281                 "u8",
282                 "is_add"
283             ],
284             [
285                 "u32",
286                 "sw_if_index"
287             ],
288             [
289                 "u32",
290                 "spd_id"
291             ],
292             {
293                 "crc": "0x1e3b8286"
294             }
295         ],
296         [
297             "ipsec_interface_add_del_spd_reply",
298             [
299                 "u16",
300                 "_vl_msg_id"
301             ],
302             [
303                 "u32",
304                 "context"
305             ],
306             [
307                 "i32",
308                 "retval"
309             ],
310             {
311                 "crc": "0xe8d4e804"
312             }
313         ],
314         [
315             "ipsec_spd_entry_add_del",
316             [
317                 "u16",
318                 "_vl_msg_id"
319             ],
320             [
321                 "u32",
322                 "client_index"
323             ],
324             [
325                 "u32",
326                 "context"
327             ],
328             [
329                 "u8",
330                 "is_add"
331             ],
332             [
333                 "vl_api_ipsec_spd_entry_t",
334                 "entry"
335             ],
336             {
337                 "crc": "0xdb217840"
338             }
339         ],
340         [
341             "ipsec_spd_entry_add_del_reply",
342             [
343                 "u16",
344                 "_vl_msg_id"
345             ],
346             [
347                 "u32",
348                 "context"
349             ],
350             [
351                 "i32",
352                 "retval"
353             ],
354             [
355                 "u32",
356                 "stat_index"
357             ],
358             {
359                 "crc": "0x9ffac24b"
360             }
361         ],
362         [
363             "ipsec_spds_dump",
364             [
365                 "u16",
366                 "_vl_msg_id"
367             ],
368             [
369                 "u32",
370                 "client_index"
371             ],
372             [
373                 "u32",
374                 "context"
375             ],
376             {
377                 "crc": "0x51077d14"
378             }
379         ],
380         [
381             "ipsec_spds_details",
382             [
383                 "u16",
384                 "_vl_msg_id"
385             ],
386             [
387                 "u32",
388                 "context"
389             ],
390             [
391                 "u32",
392                 "spd_id"
393             ],
394             [
395                 "u32",
396                 "npolicies"
397             ],
398             {
399                 "crc": "0xa04bb254"
400             }
401         ],
402         [
403             "ipsec_spd_dump",
404             [
405                 "u16",
406                 "_vl_msg_id"
407             ],
408             [
409                 "u32",
410                 "client_index"
411             ],
412             [
413                 "u32",
414                 "context"
415             ],
416             [
417                 "u32",
418                 "spd_id"
419             ],
420             [
421                 "u32",
422                 "sa_id"
423             ],
424             {
425                 "crc": "0xafefbf7d"
426             }
427         ],
428         [
429             "ipsec_spd_details",
430             [
431                 "u16",
432                 "_vl_msg_id"
433             ],
434             [
435                 "u32",
436                 "context"
437             ],
438             [
439                 "vl_api_ipsec_spd_entry_t",
440                 "entry"
441             ],
442             {
443                 "crc": "0x021e2c20"
444             }
445         ],
446         [
447             "ipsec_sad_entry_add_del",
448             [
449                 "u16",
450                 "_vl_msg_id"
451             ],
452             [
453                 "u32",
454                 "client_index"
455             ],
456             [
457                 "u32",
458                 "context"
459             ],
460             [
461                 "u8",
462                 "is_add"
463             ],
464             [
465                 "vl_api_ipsec_sad_entry_t",
466                 "entry"
467             ],
468             {
469                 "crc": "0xa25ab61e"
470             }
471         ],
472         [
473             "ipsec_sad_entry_add_del_reply",
474             [
475                 "u16",
476                 "_vl_msg_id"
477             ],
478             [
479                 "u32",
480                 "context"
481             ],
482             [
483                 "i32",
484                 "retval"
485             ],
486             [
487                 "u32",
488                 "stat_index"
489             ],
490             {
491                 "crc": "0x9ffac24b"
492             }
493         ],
494         [
495             "ipsec_tunnel_protect_update",
496             [
497                 "u16",
498                 "_vl_msg_id"
499             ],
500             [
501                 "u32",
502                 "client_index"
503             ],
504             [
505                 "u32",
506                 "context"
507             ],
508             [
509                 "vl_api_ipsec_tunnel_protect_t",
510                 "tunnel"
511             ],
512             {
513                 "crc": "0xeccbc177"
514             }
515         ],
516         [
517             "ipsec_tunnel_protect_update_reply",
518             [
519                 "u16",
520                 "_vl_msg_id"
521             ],
522             [
523                 "u32",
524                 "context"
525             ],
526             [
527                 "i32",
528                 "retval"
529             ],
530             {
531                 "crc": "0xe8d4e804"
532             }
533         ],
534         [
535             "ipsec_tunnel_protect_del",
536             [
537                 "u16",
538                 "_vl_msg_id"
539             ],
540             [
541                 "u32",
542                 "client_index"
543             ],
544             [
545                 "u32",
546                 "context"
547             ],
548             [
549                 "vl_api_interface_index_t",
550                 "sw_if_index"
551             ],
552             {
553                 "crc": "0xf9e6675e"
554             }
555         ],
556         [
557             "ipsec_tunnel_protect_del_reply",
558             [
559                 "u16",
560                 "_vl_msg_id"
561             ],
562             [
563                 "u32",
564                 "context"
565             ],
566             [
567                 "i32",
568                 "retval"
569             ],
570             {
571                 "crc": "0xe8d4e804"
572             }
573         ],
574         [
575             "ipsec_tunnel_protect_dump",
576             [
577                 "u16",
578                 "_vl_msg_id"
579             ],
580             [
581                 "u32",
582                 "client_index"
583             ],
584             [
585                 "u32",
586                 "context"
587             ],
588             [
589                 "vl_api_interface_index_t",
590                 "sw_if_index"
591             ],
592             {
593                 "crc": "0xf9e6675e"
594             }
595         ],
596         [
597             "ipsec_tunnel_protect_details",
598             [
599                 "u16",
600                 "_vl_msg_id"
601             ],
602             [
603                 "u32",
604                 "context"
605             ],
606             [
607                 "vl_api_ipsec_tunnel_protect_t",
608                 "tun"
609             ],
610             {
611                 "crc": "0x7520eefe"
612             }
613         ],
614         [
615             "ipsec_spd_interface_dump",
616             [
617                 "u16",
618                 "_vl_msg_id"
619             ],
620             [
621                 "u32",
622                 "client_index"
623             ],
624             [
625                 "u32",
626                 "context"
627             ],
628             [
629                 "u32",
630                 "spd_index"
631             ],
632             [
633                 "u8",
634                 "spd_index_valid"
635             ],
636             {
637                 "crc": "0x8971de19"
638             }
639         ],
640         [
641             "ipsec_spd_interface_details",
642             [
643                 "u16",
644                 "_vl_msg_id"
645             ],
646             [
647                 "u32",
648                 "context"
649             ],
650             [
651                 "u32",
652                 "spd_index"
653             ],
654             [
655                 "u32",
656                 "sw_if_index"
657             ],
658             {
659                 "crc": "0x2c54296d"
660             }
661         ],
662         [
663             "ipsec_tunnel_if_add_del",
664             [
665                 "u16",
666                 "_vl_msg_id"
667             ],
668             [
669                 "u32",
670                 "client_index"
671             ],
672             [
673                 "u32",
674                 "context"
675             ],
676             [
677                 "u8",
678                 "is_add"
679             ],
680             [
681                 "u8",
682                 "esn"
683             ],
684             [
685                 "u8",
686                 "anti_replay"
687             ],
688             [
689                 "vl_api_address_t",
690                 "local_ip"
691             ],
692             [
693                 "vl_api_address_t",
694                 "remote_ip"
695             ],
696             [
697                 "u32",
698                 "local_spi"
699             ],
700             [
701                 "u32",
702                 "remote_spi"
703             ],
704             [
705                 "u8",
706                 "crypto_alg"
707             ],
708             [
709                 "u8",
710                 "local_crypto_key_len"
711             ],
712             [
713                 "u8",
714                 "local_crypto_key",
715                 128
716             ],
717             [
718                 "u8",
719                 "remote_crypto_key_len"
720             ],
721             [
722                 "u8",
723                 "remote_crypto_key",
724                 128
725             ],
726             [
727                 "u8",
728                 "integ_alg"
729             ],
730             [
731                 "u8",
732                 "local_integ_key_len"
733             ],
734             [
735                 "u8",
736                 "local_integ_key",
737                 128
738             ],
739             [
740                 "u8",
741                 "remote_integ_key_len"
742             ],
743             [
744                 "u8",
745                 "remote_integ_key",
746                 128
747             ],
748             [
749                 "u8",
750                 "renumber"
751             ],
752             [
753                 "u32",
754                 "show_instance"
755             ],
756             [
757                 "u8",
758                 "udp_encap"
759             ],
760             [
761                 "u32",
762                 "tx_table_id"
763             ],
764             [
765                 "u32",
766                 "salt"
767             ],
768             {
769                 "crc": "0xd5a98274"
770             }
771         ],
772         [
773             "ipsec_tunnel_if_add_del_reply",
774             [
775                 "u16",
776                 "_vl_msg_id"
777             ],
778             [
779                 "u32",
780                 "context"
781             ],
782             [
783                 "i32",
784                 "retval"
785             ],
786             [
787                 "u32",
788                 "sw_if_index"
789             ],
790             {
791                 "crc": "0xfda5941f"
792             }
793         ],
794         [
795             "ipsec_sa_dump",
796             [
797                 "u16",
798                 "_vl_msg_id"
799             ],
800             [
801                 "u32",
802                 "client_index"
803             ],
804             [
805                 "u32",
806                 "context"
807             ],
808             [
809                 "u32",
810                 "sa_id"
811             ],
812             {
813                 "crc": "0x2076c2f4"
814             }
815         ],
816         [
817             "ipsec_sa_details",
818             [
819                 "u16",
820                 "_vl_msg_id"
821             ],
822             [
823                 "u32",
824                 "context"
825             ],
826             [
827                 "vl_api_ipsec_sad_entry_t",
828                 "entry"
829             ],
830             [
831                 "u32",
832                 "sw_if_index"
833             ],
834             [
835                 "u32",
836                 "salt"
837             ],
838             [
839                 "u64",
840                 "seq_outbound"
841             ],
842             [
843                 "u64",
844                 "last_seq_inbound"
845             ],
846             [
847                 "u64",
848                 "replay_window"
849             ],
850             [
851                 "u64",
852                 "total_data_size"
853             ],
854             {
855                 "crc": "0x9c8d829a"
856             }
857         ],
858         [
859             "ipsec_tunnel_if_set_sa",
860             [
861                 "u16",
862                 "_vl_msg_id"
863             ],
864             [
865                 "u32",
866                 "client_index"
867             ],
868             [
869                 "u32",
870                 "context"
871             ],
872             [
873                 "u32",
874                 "sw_if_index"
875             ],
876             [
877                 "u32",
878                 "sa_id"
879             ],
880             [
881                 "u8",
882                 "is_outbound"
883             ],
884             {
885                 "crc": "0x6ab567f2"
886             }
887         ],
888         [
889             "ipsec_tunnel_if_set_sa_reply",
890             [
891                 "u16",
892                 "_vl_msg_id"
893             ],
894             [
895                 "u32",
896                 "context"
897             ],
898             [
899                 "i32",
900                 "retval"
901             ],
902             {
903                 "crc": "0xe8d4e804"
904             }
905         ],
906         [
907             "ipsec_backend_dump",
908             [
909                 "u16",
910                 "_vl_msg_id"
911             ],
912             [
913                 "u32",
914                 "client_index"
915             ],
916             [
917                 "u32",
918                 "context"
919             ],
920             {
921                 "crc": "0x51077d14"
922             }
923         ],
924         [
925             "ipsec_backend_details",
926             [
927                 "u16",
928                 "_vl_msg_id"
929             ],
930             [
931                 "u32",
932                 "context"
933             ],
934             [
935                 "u8",
936                 "name",
937                 128
938             ],
939             [
940                 "vl_api_ipsec_proto_t",
941                 "protocol"
942             ],
943             [
944                 "u8",
945                 "index"
946             ],
947             [
948                 "u8",
949                 "active"
950             ],
951             {
952                 "crc": "0x7700751c"
953             }
954         ],
955         [
956             "ipsec_select_backend",
957             [
958                 "u16",
959                 "_vl_msg_id"
960             ],
961             [
962                 "u32",
963                 "client_index"
964             ],
965             [
966                 "u32",
967                 "context"
968             ],
969             [
970                 "vl_api_ipsec_proto_t",
971                 "protocol"
972             ],
973             [
974                 "u8",
975                 "index"
976             ],
977             {
978                 "crc": "0x4fd24836"
979             }
980         ],
981         [
982             "ipsec_select_backend_reply",
983             [
984                 "u16",
985                 "_vl_msg_id"
986             ],
987             [
988                 "u32",
989                 "context"
990             ],
991             [
992                 "i32",
993                 "retval"
994             ],
995             {
996                 "crc": "0xe8d4e804"
997             }
998         ]
999     ],
1000     "unions": [
1001         [
1002             "address_union",
1003             [
1004                 "vl_api_ip4_address_t",
1005                 "ip4"
1006             ],
1007             [
1008                 "vl_api_ip6_address_t",
1009                 "ip6"
1010             ]
1011         ]
1012     ],
1013     "enums": [
1014         [
1015             "address_family",
1016             [
1017                 "ADDRESS_IP4",
1018                 0
1019             ],
1020             [
1021                 "ADDRESS_IP6",
1022                 1
1023             ],
1024             {
1025                 "enumtype": "u32"
1026             }
1027         ],
1028         [
1029             "ip_ecn",
1030             [
1031                 "IP_API_ECN_NONE",
1032                 0
1033             ],
1034             [
1035                 "IP_API_ECN_ECT0",
1036                 1
1037             ],
1038             [
1039                 "IP_API_ECN_ECT1",
1040                 2
1041             ],
1042             [
1043                 "IP_API_ECN_CE",
1044                 3
1045             ],
1046             {
1047                 "enumtype": "u8"
1048             }
1049         ],
1050         [
1051             "ip_dscp",
1052             [
1053                 "IP_API_DSCP_CS0",
1054                 0
1055             ],
1056             [
1057                 "IP_API_DSCP_CS1",
1058                 8
1059             ],
1060             [
1061                 "IP_API_DSCP_AF11",
1062                 10
1063             ],
1064             [
1065                 "IP_API_DSCP_AF12",
1066                 12
1067             ],
1068             [
1069                 "IP_API_DSCP_AF13",
1070                 14
1071             ],
1072             [
1073                 "IP_API_DSCP_CS2",
1074                 16
1075             ],
1076             [
1077                 "IP_API_DSCP_AF21",
1078                 18
1079             ],
1080             [
1081                 "IP_API_DSCP_AF22",
1082                 20
1083             ],
1084             [
1085                 "IP_API_DSCP_AF23",
1086                 22
1087             ],
1088             [
1089                 "IP_API_DSCP_CS3",
1090                 24
1091             ],
1092             [
1093                 "IP_API_DSCP_AF31",
1094                 26
1095             ],
1096             [
1097                 "IP_API_DSCP_AF32",
1098                 28
1099             ],
1100             [
1101                 "IP_API_DSCP_AF33",
1102                 30
1103             ],
1104             [
1105                 "IP_API_DSCP_CS4",
1106                 32
1107             ],
1108             [
1109                 "IP_API_DSCP_AF41",
1110                 34
1111             ],
1112             [
1113                 "IP_API_DSCP_AF42",
1114                 36
1115             ],
1116             [
1117                 "IP_API_DSCP_AF43",
1118                 38
1119             ],
1120             [
1121                 "IP_API_DSCP_CS5",
1122                 40
1123             ],
1124             [
1125                 "IP_API_DSCP_EF",
1126                 46
1127             ],
1128             [
1129                 "IP_API_DSCP_CS6",
1130                 48
1131             ],
1132             [
1133                 "IP_API_DSCP_CS7",
1134                 50
1135             ],
1136             {
1137                 "enumtype": "u8"
1138             }
1139         ],
1140         [
1141             "ip_proto",
1142             [
1143                 "IP_API_PROTO_HOPOPT",
1144                 0
1145             ],
1146             [
1147                 "IP_API_PROTO_ICMP",
1148                 1
1149             ],
1150             [
1151                 "IP_API_PROTO_IGMP",
1152                 2
1153             ],
1154             [
1155                 "IP_API_PROTO_TCP",
1156                 6
1157             ],
1158             [
1159                 "IP_API_PROTO_UDP",
1160                 17
1161             ],
1162             [
1163                 "IP_API_PROTO_GRE",
1164                 47
1165             ],
1166             [
1167                 "IP_API_PROTO_AH",
1168                 50
1169             ],
1170             [
1171                 "IP_API_PROTO_ESP",
1172                 51
1173             ],
1174             [
1175                 "IP_API_PROTO_EIGRP",
1176                 88
1177             ],
1178             [
1179                 "IP_API_PROTO_OSPF",
1180                 89
1181             ],
1182             [
1183                 "IP_API_PROTO_SCTP",
1184                 132
1185             ],
1186             [
1187                 "IP_API_PROTO_RESERVED",
1188                 255
1189             ],
1190             {
1191                 "enumtype": "u32"
1192             }
1193         ],
1194         [
1195             "ipsec_crypto_alg",
1196             [
1197                 "IPSEC_API_CRYPTO_ALG_NONE",
1198                 0
1199             ],
1200             [
1201                 "IPSEC_API_CRYPTO_ALG_AES_CBC_128",
1202                 1
1203             ],
1204             [
1205                 "IPSEC_API_CRYPTO_ALG_AES_CBC_192",
1206                 2
1207             ],
1208             [
1209                 "IPSEC_API_CRYPTO_ALG_AES_CBC_256",
1210                 3
1211             ],
1212             [
1213                 "IPSEC_API_CRYPTO_ALG_AES_CTR_128",
1214                 4
1215             ],
1216             [
1217                 "IPSEC_API_CRYPTO_ALG_AES_CTR_192",
1218                 5
1219             ],
1220             [
1221                 "IPSEC_API_CRYPTO_ALG_AES_CTR_256",
1222                 6
1223             ],
1224             [
1225                 "IPSEC_API_CRYPTO_ALG_AES_GCM_128",
1226                 7
1227             ],
1228             [
1229                 "IPSEC_API_CRYPTO_ALG_AES_GCM_192",
1230                 8
1231             ],
1232             [
1233                 "IPSEC_API_CRYPTO_ALG_AES_GCM_256",
1234                 9
1235             ],
1236             [
1237                 "IPSEC_API_CRYPTO_ALG_DES_CBC",
1238                 10
1239             ],
1240             [
1241                 "IPSEC_API_CRYPTO_ALG_3DES_CBC",
1242                 11
1243             ],
1244             {
1245                 "enumtype": "u32"
1246             }
1247         ],
1248         [
1249             "ipsec_integ_alg",
1250             [
1251                 "IPSEC_API_INTEG_ALG_NONE",
1252                 0
1253             ],
1254             [
1255                 "IPSEC_API_INTEG_ALG_MD5_96",
1256                 1
1257             ],
1258             [
1259                 "IPSEC_API_INTEG_ALG_SHA1_96",
1260                 2
1261             ],
1262             [
1263                 "IPSEC_API_INTEG_ALG_SHA_256_96",
1264                 3
1265             ],
1266             [
1267                 "IPSEC_API_INTEG_ALG_SHA_256_128",
1268                 4
1269             ],
1270             [
1271                 "IPSEC_API_INTEG_ALG_SHA_384_192",
1272                 5
1273             ],
1274             [
1275                 "IPSEC_API_INTEG_ALG_SHA_512_256",
1276                 6
1277             ],
1278             {
1279                 "enumtype": "u32"
1280             }
1281         ],
1282         [
1283             "ipsec_sad_flags",
1284             [
1285                 "IPSEC_API_SAD_FLAG_NONE",
1286                 0
1287             ],
1288             [
1289                 "IPSEC_API_SAD_FLAG_USE_ESN",
1290                 1
1291             ],
1292             [
1293                 "IPSEC_API_SAD_FLAG_USE_ANTI_REPLAY",
1294                 2
1295             ],
1296             [
1297                 "IPSEC_API_SAD_FLAG_IS_TUNNEL",
1298                 4
1299             ],
1300             [
1301                 "IPSEC_API_SAD_FLAG_IS_TUNNEL_V6",
1302                 8
1303             ],
1304             [
1305                 "IPSEC_API_SAD_FLAG_UDP_ENCAP",
1306                 16
1307             ],
1308             {
1309                 "enumtype": "u32"
1310             }
1311         ],
1312         [
1313             "ipsec_proto",
1314             [
1315                 "IPSEC_API_PROTO_ESP",
1316                 1
1317             ],
1318             [
1319                 "IPSEC_API_PROTO_AH",
1320                 2
1321             ],
1322             {
1323                 "enumtype": "u32"
1324             }
1325         ],
1326         [
1327             "if_status_flags",
1328             [
1329                 "IF_STATUS_API_FLAG_ADMIN_UP",
1330                 1
1331             ],
1332             [
1333                 "IF_STATUS_API_FLAG_LINK_UP",
1334                 2
1335             ],
1336             {
1337                 "enumtype": "u32"
1338             }
1339         ],
1340         [
1341             "mtu_proto",
1342             [
1343                 "MTU_PROTO_API_L3",
1344                 1
1345             ],
1346             [
1347                 "MTU_PROTO_API_IP4",
1348                 2
1349             ],
1350             [
1351                 "MTU_PROTO_API_IP6",
1352                 3
1353             ],
1354             [
1355                 "MTU_PROTO_API_MPLS",
1356                 4
1357             ],
1358             [
1359                 "MTU_PROTO_API_N",
1360                 5
1361             ],
1362             {
1363                 "enumtype": "u32"
1364             }
1365         ],
1366         [
1367             "link_duplex",
1368             [
1369                 "LINK_DUPLEX_API_UNKNOWN",
1370                 0
1371             ],
1372             [
1373                 "LINK_DUPLEX_API_HALF",
1374                 1
1375             ],
1376             [
1377                 "LINK_DUPLEX_API_FULL",
1378                 2
1379             ],
1380             {
1381                 "enumtype": "u32"
1382             }
1383         ],
1384         [
1385             "sub_if_flags",
1386             [
1387                 "SUB_IF_API_FLAG_NO_TAGS",
1388                 1
1389             ],
1390             [
1391                 "SUB_IF_API_FLAG_ONE_TAG",
1392                 2
1393             ],
1394             [
1395                 "SUB_IF_API_FLAG_TWO_TAGS",
1396                 4
1397             ],
1398             [
1399                 "SUB_IF_API_FLAG_DOT1AD",
1400                 8
1401             ],
1402             [
1403                 "SUB_IF_API_FLAG_EXACT_MATCH",
1404                 16
1405             ],
1406             [
1407                 "SUB_IF_API_FLAG_DEFAULT",
1408                 32
1409             ],
1410             [
1411                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
1412                 64
1413             ],
1414             [
1415                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
1416                 128
1417             ],
1418             [
1419                 "SUB_IF_API_FLAG_MASK_VNET",
1420                 254
1421             ],
1422             [
1423                 "SUB_IF_API_FLAG_DOT1AH",
1424                 256
1425             ],
1426             {
1427                 "enumtype": "u32"
1428             }
1429         ],
1430         [
1431             "rx_mode",
1432             [
1433                 "RX_MODE_API_UNKNOWN",
1434                 0
1435             ],
1436             [
1437                 "RX_MODE_API_POLLING",
1438                 1
1439             ],
1440             [
1441                 "RX_MODE_API_INTERRUPT",
1442                 2
1443             ],
1444             [
1445                 "RX_MODE_API_ADAPTIVE",
1446                 3
1447             ],
1448             [
1449                 "RX_MODE_API_DEFAULT",
1450                 4
1451             ],
1452             {
1453                 "enumtype": "u32"
1454             }
1455         ],
1456         [
1457             "if_type",
1458             [
1459                 "IF_API_TYPE_HARDWARE",
1460                 1
1461             ],
1462             [
1463                 "IF_API_TYPE_SUB",
1464                 2
1465             ],
1466             [
1467                 "IF_API_TYPE_P2P",
1468                 3
1469             ],
1470             [
1471                 "IF_API_TYPE_PIPE",
1472                 4
1473             ],
1474             {
1475                 "enumtype": "u32"
1476             }
1477         ],
1478         [
1479             "ipsec_spd_action",
1480             [
1481                 "IPSEC_API_SPD_ACTION_BYPASS",
1482                 0
1483             ],
1484             [
1485                 "IPSEC_API_SPD_ACTION_DISCARD",
1486                 1
1487             ],
1488             [
1489                 "IPSEC_API_SPD_ACTION_RESOLVE",
1490                 2
1491             ],
1492             [
1493                 "IPSEC_API_SPD_ACTION_PROTECT",
1494                 3
1495             ],
1496             {
1497                 "enumtype": "u32"
1498             }
1499         ]
1500     ],
1501     "services": {
1502         "ipsec_spd_add_del": {
1503             "reply": "ipsec_spd_add_del_reply"
1504         },
1505         "ipsec_interface_add_del_spd": {
1506             "reply": "ipsec_interface_add_del_spd_reply"
1507         },
1508         "ipsec_spd_entry_add_del": {
1509             "reply": "ipsec_spd_entry_add_del_reply"
1510         },
1511         "ipsec_spds_dump": {
1512             "reply": "ipsec_spds_details",
1513             "stream": true
1514         },
1515         "ipsec_spd_dump": {
1516             "reply": "ipsec_spd_details",
1517             "stream": true
1518         },
1519         "ipsec_sad_entry_add_del": {
1520             "reply": "ipsec_sad_entry_add_del_reply"
1521         },
1522         "ipsec_tunnel_protect_update": {
1523             "reply": "ipsec_tunnel_protect_update_reply"
1524         },
1525         "ipsec_tunnel_protect_del": {
1526             "reply": "ipsec_tunnel_protect_del_reply"
1527         },
1528         "ipsec_tunnel_protect_dump": {
1529             "reply": "ipsec_tunnel_protect_details",
1530             "stream": true
1531         },
1532         "ipsec_spd_interface_dump": {
1533             "reply": "ipsec_spd_interface_details",
1534             "stream": true
1535         },
1536         "ipsec_tunnel_if_add_del": {
1537             "reply": "ipsec_tunnel_if_add_del_reply"
1538         },
1539         "ipsec_sa_dump": {
1540             "reply": "ipsec_sa_details",
1541             "stream": true
1542         },
1543         "ipsec_tunnel_if_set_sa": {
1544             "reply": "ipsec_tunnel_if_set_sa_reply"
1545         },
1546         "ipsec_backend_dump": {
1547             "reply": "ipsec_backend_details",
1548             "stream": true
1549         },
1550         "ipsec_select_backend": {
1551             "reply": "ipsec_select_backend_reply"
1552         }
1553     },
1554     "options": {
1555         "version": "3.0.0"
1556     },
1557     "aliases": {
1558         "ip4_address": {
1559             "type": "u8",
1560             "length": 4
1561         },
1562         "ip6_address": {
1563             "type": "u8",
1564             "length": 16
1565         },
1566         "address_with_prefix": {
1567             "type": "vl_api_prefix_t"
1568         },
1569         "ip4_address_with_prefix": {
1570             "type": "vl_api_ip4_prefix_t"
1571         },
1572         "ip6_address_with_prefix": {
1573             "type": "vl_api_ip6_prefix_t"
1574         },
1575         "interface_index": {
1576             "type": "u32"
1577         }
1578     },
1579     "vl_api_version": "0x5a59fef9"
1580 }