aboutsummaryrefslogtreecommitdiffstats
path: root/examples/binapi/ip/ip.ba.go
blob: f02cc9e0062e5d08e0c9d99e93b3c5a4d9c7e5f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// source: /usr/share/vpp/api/core/ip.api.json

/*
Package ip is a generated VPP binary API for 'ip' module.

It consists of:
	 15 enums
	  7 aliases
	 14 types
	  1 union
	 60 messages
	 30 services
*/
package ip

import (
	"bytes"
	"context"
	"io"
	"strconv"

	api "git.fd.io/govpp.git/api"
	struc "github.com/lunixbochs/struc"

	ethernet_types "git.fd.io/govpp.git/examples/binapi/ethernet_types"
	interface_types "git.fd.io/govpp.git/examples/binapi/interface_types"
	ip_types "git.fd.io/govpp.git/examples/binapi/ip_types"
)

const (
	// ModuleName is the name of this module.
	ModuleName = "ip"
	// APIVersion is the API version of this module.
	APIVersion = "3.0.1"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xfc3fea46
)

type AddressFamily = ip_types.AddressFamily

// FibPathFlags represents VPP binary API enum 'fib_path_flags'.
type FibPathFlags uint32

const (
	FIB_API_PATH_FLAG_NONE                 FibPathFlags = 0
	FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED FibPathFlags = 1
	FIB_API_PATH_FLAG_RESOLVE_VIA_HOST     FibPathFlags = 2
	FIB_API_PATH_FLAG_POP_PW_CW            FibPathFlags = 4
)

var FibPathFlags_name = map[uint32]string{
	0: "FIB_API_PATH_FLAG_NONE",
	1: "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED",
	2: "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST",
	4: "FIB_API_PATH_FLAG_POP_PW_CW",
}

var FibPathFlags_value = map[string]uint32{
	"FIB_API_PATH_FLAG_NONE":                 0,
	"FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED": 1,
	"FIB_API_PATH_FLAG_RESOLVE_VIA_HOST":     2,
	"FIB_API_PATH_FLAG_POP_PW_CW":            4,
}

func (x FibPathFlags) String() string {
	s, ok := FibPathFlags_name[uint32(x)]
	if ok {
		return s
	}
	return strconv.Itoa(int(x))
}

// FibPathNhProto represents VPP binary API enum 'fib_path_nh_proto'.
type FibPathNhProto uint32

const (
	FIB_API_PATH_NH_PROTO_IP4      FibPathNhProto = 0
	FIB_API_PATH_NH_PROTO_IP6      FibPathNhProto = 1
	FIB_API_PATH_NH_PROTO_MPLS     FibPathNhProto = 2
	FIB_API_PATH_NH_PROTO_ETHERNET FibPathNhProto = 3
	FIB_API_PATH_NH_PROTO_BIER     FibPathNhProto = 4
)

var FibPathNhProto_name = map[uint32]string{
	0: "FIB_API_PATH_NH_PROTO_IP4",
	1: "FIB_API_PATH_NH_PROTO_IP6",
	2: "FIB_API_PATH_NH_PROTO_MPLS",
	3: "FIB_API_PATH_NH_PROTO_ETHERNET",
	4: "FIB_API_PATH_NH_PROTO_BIER",
}

var FibPathNhProto_value = map[string]uint32{
	"FIB_API_PATH_NH_PROTO_IP4":      0,
	"FIB_API_PATH_NH_PROTO_IP6":      1,
	"FIB_API_PATH_NH_PROTO_MPLS":     2,
	"FIB_API_PATH_NH_PROTO_ETHERNET": 3,
	"FIB_API_PATH_NH_PROTO_BIER":     4,
}

func (x FibPathNhProto) String() string {
	s, ok := FibPathNhProto_name[uint32(x)]
	if ok {
		return s
	}
	return strconv.Itoa(int(x))
}

// FibPathType represents VPP binary API enum 'fib_path_type'.
type FibPathType uint32

const (
	FIB_API_PATH_TYPE_NORMAL        FibPathType = 0
	FIB_API_PATH_TYPE_LOCAL         FibPathType = 1
	FIB_API_PATH_TYPE_DROP          FibPathType = 2
	FIB_API_PATH_TYPE_UDP_ENCAP     FibPathType = 3
	FIB_API_PATH_TYPE_BIER_IMP      FibPathType = 4
	FIB_API_PATH_TYPE_ICMP_UNREACH  FibPathType = 5
	FIB_API_PATH_TYPE_ICMP_PROHIBIT FibPathType = 6
	FIB_API_PATH_TYPE_SOURCE_LOOKUP FibPathType = 7
	FIB_API_PATH_TYPE_DVR           FibPathType = 8
	FIB_API_PATH_TYPE_INTERFACE_RX  FibPathType = 9
	FIB_API_PATH_TYPE_CLASSIFY      FibPathType = 10
)

var FibPathType_name = map[uint32]string{
	0:  "FIB_API_PATH_TYPE_NORMAL",
	1:  "FIB_API_PATH_TYPE_LOCAL",
	2:  "FIB_API_PATH_TYPE_DROP",
	3:  "FIB_API_PATH_TYPE_UDP_ENCAP",
	4:  "FIB_API_PATH_TYPE_BIER_IMP",
	5:  "FIB_API_PATH_TYPE_ICMP_UNREACH",
	6:  "FIB_API_PATH_TYPE_ICMP_PROHIBIT",
	7:  "FIB_API_PATH_TYPE_SOURCE_LOOKUP",
	8:  "FIB_API_PATH_TYPE_DVR",
	9:  "FIB_API_PATH_TYPE_INTERFACE_RX",
	10: "FIB_API_PATH_TYPE_CLASSIFY",
}

var FibPathType_value = map[string]uint32{
	"FIB_API_PATH_TYPE_NORMAL":        0,
	"FIB_API_PATH_TYPE_LOCAL":         1,
	"FIB_API_PATH_TYPE_DROP":          2,
	"FIB_API_PATH_TYPE_UDP_ENCAP":     3,
	"FIB_API_PATH_TYPE_BIER_IMP":      4,
	"FIB_API_PATH_TYPE_ICMP_UNREACH":  5,
	"FIB_API_PATH_TYPE_ICMP_PROHIBIT": 6,
	"FIB_API_PATH_TYPE_SOURCE_LOOKUP": 7,
	"FIB_API_PATH_TYPE_DVR":           8,
	"FIB_API_PATH_TYPE_INTERFACE_RX":  9,
	"FIB_API_PATH_TYPE_CLASSIFY":      10,
}

func (x FibPathType) String() string {
	s, ok := FibPathType_name[uint32(x)]
	if ok {
		return s
	}
	return strconv.Itoa(int(x))
}

type IfStatusFlags = interface_types.IfStatusFlags

type IfType = interface_types.IfType

type IPDscp = ip_types.IPDscp

type IPEcn = ip_types.IPEcn

type IPProto = ip_types.IPProto

// IPReassType represents VPP binary API enum 'ip_reass_type'.
type IPReassType uint32

const (
	IP_REASS_TYPE_FULL            IPReassType = 0
	IP_REASS_TYPE_SHALLOW_VIRTUAL IPReassType = 1
)

var IPReassType_name = map[uint32]string{
	0: "IP_REASS_TYPE_FULL",
	1: "IP_REASS_TYPE_SHALLOW_VIRTUAL",
}

var IPReassType_value = map[string]uint32{
	"IP_REASS_TYPE_FULL":            0,
	"IP_REASS_TYPE_SHALLOW_VIRTUAL": 1,
}

func (x IPReassType) String() string {
	s, ok := IPReassType_name[uint32(x)]
	if ok {
		return s
	}
	return strconv.Itoa(int(x))
}

type LinkDuplex = interface_types.LinkDuplex

// MfibItfFlags represents VPP binary API enum 'mfib_itf_flags'.
type MfibItfFlags uint32

const (
	MFIB_API_ITF_FLAG_NONE           MfibItfFlags = 0
	MFIB_API_ITF_FLAG_NEGATE_SIGNAL  MfibItfFlags = 1
	MFIB_API_ITF_FLAG_ACCEPT         MfibItfFlags = 2
	MFIB_API_ITF_FLAG_FORWARD        MfibItfFlags = 4
	MFIB_API_ITF_FLAG_SIGNAL_PRESENT MfibItfFlags = 8
	MFIB_API_ITF_FLAG_DONT_PRESERVE  MfibItfFlags = 16
)

var MfibItfFlags_name = map[uint32]string{
	0:  "MFIB_API_ITF_FLAG_NONE",
	1:  "MFIB_API_ITF_FLAG_NEGATE_SIGNAL",
	2:  "MFIB_API_ITF_FLAG_ACCEPT",
	4:  "MFIB_API_ITF_FLAG_FORWARD",
	8:  "MFIB_API_ITF_FLAG_SIGNAL_PRESENT",
	16: "MFIB_API_ITF_FLAG_DONT_PRESERVE",
}

var MfibItfFlags_value = map[string]uint32{
	"MFIB_API_ITF_FLAG_NONE":           0,
	"MFIB_API_ITF_FLAG_NEGATE_SIGNAL":  1,
	"MFIB_API_ITF_FLAG_ACCEPT":         2,
	"MFIB_API_ITF_FLAG_FORWARD":        4,
	"MFIB_API_ITF_FLAG_SIGNAL_PRESENT": 8,
	"MFIB_API_ITF_FLAG_DONT_PRESERVE":  16,
}

func (x MfibItfFlags) String() string {
	s, ok := MfibItfFlags_name[uint32(x)]
	if ok {
		return s
	}
	return strconv.Itoa(int(x))
}

type MtuProto = interface_types.MtuProto

type RxMode = interface_types.RxMode

type SubIfFlags = interface_types.SubIfFlags

type AddressWithPrefix = ip_types.AddressWithPrefix

type InterfaceIndex = interface_types.InterfaceIndex

type IP4Address = ip_types.IP4Address

type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix

type IP6Address = ip_types.IP6Address

type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix

type MacAddress = ethernet_types.MacAddress

type Address = ip_types.Address

// FibMplsLabel represents VPP binary API type 'fib_mpls_label'.
type FibMplsLabel struct {
	IsUniform uint8
	Label     uint32
	TTL       uint8
	Exp       uint8
}

func (*FibMplsLabel) GetTypeName() string { return "fib_mpls_label" }

// FibPath represents VPP binary API type 'fib_path'.
type FibPath struct {
	SwIfIndex  uint32
	TableID    uint32
	RpfID      uint32
	Weight     uint8
	Preference uint8
	Type       FibPathType
	Flags      FibPathFlags
	Proto      FibPathNhProto
	Nh         FibPathNh
	NLabels    uint8
	LabelStack []FibMplsLabel `struc:"[16]FibMplsLabel"`
}

func (*FibPath) GetTypeName() string { return "fib_path" }

// FibPathNh represents VPP binary API type 'fib_path_nh'.
type FibPathNh struct {
	Address            AddressUnion
	ViaLabel           uint32
	ObjID              uint32
	ClassifyTableIndex uint32
}

func (*FibPathNh) GetTypeName() string { return "fib_path_nh" }

type IP4Prefix = ip_types.IP4Prefix

type IP6Prefix = ip_types.IP6Prefix

// IPMroute represents VPP binary API type 'ip_mroute'.
type IPMroute struct {
	TableID    uint32
	EntryFlags uint32
	RpfID      uint32
	Prefix     Mprefix
	NPaths     uint8 `struc:"sizeof=Paths"`
	Paths      []MfibPath
}

func (*IPMroute) GetTypeName() string { return "ip_mroute" }

// IPRoute represents VPP binary API type 'ip_route'.
type IPRoute struct {
	TableID    uint32
	StatsIndex uint32
	Prefix     Prefix
	NPaths     uint8 `struc:"sizeof=Paths"`
	Paths      []FibPath
}

func (*IPRoute) GetTypeName() string { return "ip_route" }

// IPTable represents VPP binary API type 'ip_table'.
type IPTable struct {
	TableID uint32
	IsIP6   bool
	Name    string `struc:"[64]byte"`
}

func (*IPTable) GetTypeName() string { return "ip_table" }

// MfibPath represents VPP binary API type 'mfib_path'.
type MfibPath struct {
	ItfFlags MfibItfFlags
	Path     FibPath
}

func (*MfibPath) GetTypeName() string { return "mfib_path" }

type Mprefix = ip_types.Mprefix

type Prefix = ip_types.Prefix

type PrefixMatcher = ip_types.PrefixMatcher

// PuntRedirect represents VPP binary API type 'punt_redirect'.
type PuntRedirect struct {
	RxSwIfIndex InterfaceIndex
	TxSwIfIndex InterfaceIndex
	Nh          Address
}

func (*PuntRedirect) GetTypeName() string { return "punt_redirect" }

type AddressUnion = ip_types.AddressUnion

// IoamDisable represents VPP binary API message 'ioam_disable'.
type IoamDisable struct {
	ID uint16
}

func (m *IoamDisable) Reset()                        { *m = IoamDisable{} }
func (*IoamDisable) GetMessageName() string          { return "ioam_disable" }
func (*IoamDisable) GetCrcString() string            { return "6b16a45e" }
func (*IoamDisable) GetMessageType() api.MessageType { return api.RequestMessage }

// IoamDisableReply represents VPP binary API message 'ioam_disable_reply'.
type IoamDisableReply struct {
	Retval int32
}

func (m *IoamDisableReply) Reset()                        { *m = IoamDisableReply{} }
func (*IoamDisableReply) GetMessageName() string          { return "ioam_disable_reply" }
func (*IoamDisableReply) GetCrcString() string            { return "e8d4e804" }
func (*IoamDisableReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IoamEnable represents VPP binary API message 'ioam_enable'.
type IoamEnable struct {
	ID          uint16
	Seqno       bool
	Analyse     bool
	PotEnable   bool
	TraceEnable bool
	NodeID      uint32
}

func (m *IoamEnable) Reset()                        { *m = IoamEnable{} }
func (*IoamEnable) GetMessageName() string          { return "ioam_enable" }
func (*IoamEnable) GetCrcString() string            { return "51ccd868" }
func (*IoamEnable) GetMessageType() api.MessageType { return api.RequestMessage }

// IoamEnableReply represents VPP binary API message 'ioam_enable_reply'.
type IoamEnableReply struct {
	Retval int32
}

func (m *IoamEnableReply) Reset()                        { *m = IoamEnableReply{} }
func (*IoamEnableReply) GetMessageName() string          { return "ioam_enable_reply" }
func (*IoamEnableReply) GetCrcString() string            { return "e8d4e804" }
func (*IoamEnableReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPAddressDetails represents VPP binary API message 'ip_address_details'.
type IPAddressDetails struct {
	SwIfIndex InterfaceIndex
	Prefix    AddressWithPrefix
}

func (m *IPAddressDetails) Reset()                        { *m = IPAddressDetails{} }
func (*IPAddressDetails) GetMessageName() string          { return "ip_address_details" }
func (*IPAddressDetails) GetCrcString() string            { return "b1199745" }
func (*IPAddressDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPAddressDump represents VPP binary API message 'ip_address_dump'.
type IPAddressDump struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

func (m *IPAddressDump) Reset()                        { *m = IPAddressDump{} }
func (*IPAddressDump) GetMessageName() string          { return "ip_address_dump" }
func (*IPAddressDump) GetCrcString() string            { return "2d033de4" }
func (*IPAddressDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPContainerProxyAddDel represents VPP binary API message 'ip_container_proxy_add_del'.
type IPContainerProxyAddDel struct {
	Pfx       Prefix
	SwIfIndex InterfaceIndex
	IsAdd     bool
}

func (m *IPContainerProxyAddDel) Reset()                        { *m = IPContainerProxyAddDel{} }
func (*IPContainerProxyAddDel) GetMessageName() string          { return "ip_container_proxy_add_del" }
func (*IPContainerProxyAddDel) GetCrcString() string            { return "91189f40" }
func (*IPContainerProxyAddDel) GetMessageType() api.MessageType { return api.RequestMessage }

// IPContainerProxyAddDelReply represents VPP binary API message 'ip_container_proxy_add_del_reply'.
type IPContainerProxyAddDelReply struct {
	Retval int32
}

func (m *IPContainerProxyAddDelReply) Reset() { *m = IPContainerProxyAddDelReply{} }
func (*IPContainerProxyAddDelReply) GetMessageName() string {
	return "ip_container_proxy_add_del_reply"
}
func (*IPContainerProxyAddDelReply) GetCrcString() string            { return "e8d4e804" }
func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPContainerProxyDetails represents VPP binary API message 'ip_container_proxy_details'.
type IPContainerProxyDetails struct {
	SwIfIndex InterfaceIndex
	Prefix    Prefix
}

func (m *IPContainerProxyDetails) Reset()                        { *m = IPContainerProxyDetails{} }
func (*IPContainerProxyDetails) GetMessageName() string          { return "ip_container_proxy_details" }
func (*IPContainerProxyDetails) GetCrcString() string            { return "0ee460e8" }
func (*IPContainerProxyDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPContainerProxyDump represents VPP binary API message 'ip_container_proxy_dump'.
type IPContainerProxyDump struct{}

func (m *IPContainerProxyDump) Reset()                        { *m = IPContainerProxyDump{} }
func (*IPContainerProxyDump) GetMessageName() string          { return "ip_container_proxy_dump" }
func (*IPContainerProxyDump) GetCrcString() string            { return "51077d14" }
func (*IPContainerProxyDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPDetails represents VPP binary API message 'ip_details'.
type IPDetails struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

func (m *IPDetails) Reset()                        { *m = IPDetails{} }
func (*IPDetails) GetMessageName() string          { return "ip_details" }
func (*IPDetails) GetCrcString() string            { return "eb152d07" }
func (*IPDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPDump represents VPP binary API message 'ip_dump'.
type IPDump struct {
	IsIPv6 bool
}

func (m *IPDump) Reset()                        { *m = IPDump{} }
func (*IPDump) GetMessageName() string          { return "ip_dump" }
func (*IPDump) GetCrcString() string            { return "98d231ca" }
func (*IPDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPMrouteAddDel represents VPP binary API message 'ip_mroute_add_del'.
type IPMrouteAddDel struct {
	IsAdd       bool
	IsMultipath bool
	Route       IPMroute
}

func (m *IPMrouteAddDel) Reset()                        { *m = IPMrouteAddDel{} }
func (*IPMrouteAddDel) GetMessageName() string          { return "ip_mroute_add_del" }
func (*IPMrouteAddDel) GetCrcString() string            { return "f6627d17" }
func (*IPMrouteAddDel) GetMessageType() api.MessageType { return api.RequestMessage }

// IPMrouteAddDelReply represents VPP binary API message 'ip_mroute_add_del_reply'.
type IPMrouteAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

func (m *IPMrouteAddDelReply) Reset()                        { *m = IPMrouteAddDelReply{} }
func (*IPMrouteAddDelReply) GetMessageName() string          { return "ip_mroute_add_del_reply" }
func (*IPMrouteAddDelReply) GetCrcString() string            { return "1992deab" }
func (*IPMrouteAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPMrouteDetails represents VPP binary API message 'ip_mroute_details'.
type IPMrouteDetails struct {
	Route IPMroute
}

func (m *IPMrouteDetails) Reset()                        { *m = IPMrouteDetails{} }
func (*IPMrouteDetails) GetMessageName() string          { return "ip_mroute_details" }
func (*IPMrouteDetails) GetCrcString() string            { return "c1cb4b44" }
func (*IPMrouteDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPMrouteDump represents VPP binary API message 'ip_mroute_dump'.
type IPMrouteDump struct {
	Table IPTable
}

func (m *IPMrouteDump) Reset()                        { *m = IPMrouteDump{} }
func (*IPMrouteDump) GetMessageName() string          { return "ip_mroute_dump" }
func (*IPMrouteDump) GetCrcString() string            { return "b9d2e09e" }
func (*IPMrouteDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPMtableDetails represents VPP binary API message 'ip_mtable_details'.
type IPMtableDetails struct {
	Table IPTable
}

func (m *IPMtableDetails) Reset()                        { *m = IPMtableDetails{} }
func (*IPMtableDetails) GetMessageName() string          { return "ip_mtable_details" }
func (*IPMtableDetails) GetCrcString() string            { return "b9d2e09e" }
func (*IPMtableDetails) GetMessageType() api.MessageType { return api.RequestMessage }

// IPMtableDump represents VPP binary API message 'ip_mtable_dump'.
type IPMtableDump struct{}

func (m *IPMtableDump) Reset()                        { *m = IPMtableDump{} }
func (*IPMtableDump) GetMessageName() string          { return "ip_mtable_dump" }
func (*IPMtableDump) GetCrcString() string            { return "51077d14" }
func (*IPMtableDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPPuntPolice represents VPP binary API message 'ip_punt_police'.
type IPPuntPolice struct {
	PolicerIndex uint32
	IsAdd        bool
	IsIP6        bool
}

func (m *IPPuntPolice) Reset()                        { *m = IPPuntPolice{} }
func (*IPPuntPolice) GetMessageName() string          { return "ip_punt_police" }
func (*IPPuntPolice) GetCrcString() string            { return "db867cea" }
func (*IPPuntPolice) GetMessageType() api.MessageType { return api.RequestMessage }

// IPPuntPoliceReply represents VPP binary API message 'ip_punt_police_reply'.
type IPPuntPoliceReply struct {
	Retval int32
}

func (m *IPPuntPoliceReply) Reset()                        { *m = IPPuntPoliceReply{} }
func (*IPPuntPoliceReply) GetMessageName() string          { return "ip_punt_police_reply" }
func (*IPPuntPoliceReply) GetCrcString() string            { return "e8d4e804" }
func (*IPPuntPoliceReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPPuntRedirect represents VPP binary API message 'ip_punt_redirect'.
type IPPuntRedirect struct {
	Punt  PuntRedirect
	IsAdd bool
}

func (m *IPPuntRedirect) Reset()                        { *m = IPPuntRedirect{} }
func (*IPPuntRedirect) GetMessageName() string          { return "ip_punt_redirect" }
func (*IPPuntRedirect) GetCrcString() string            { return "a9a5592c" }
func (*IPPuntRedirect) GetMessageType() api.MessageType { return api.RequestMessage }

// IPPuntRedirectDetails represents VPP binary API message 'ip_punt_redirect_details'.
type IPPuntRedirectDetails struct {
	Punt PuntRedirect
}

func (m *IPPuntRedirectDetails) Reset()                        { *m = IPPuntRedirectDetails{} }
func (*IPPuntRedirectDetails) GetMessageName() string          { return "ip_punt_redirect_details" }
func (*IPPuntRedirectDetails) GetCrcString() string            { return "3924f5d3" }
func (*IPPuntRedirectDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPPuntRedirectDump represents VPP binary API message 'ip_punt_redirect_dump'.
type IPPuntRedirectDump struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

func (m *IPPuntRedirectDump) Reset()                        { *m = IPPuntRedirectDump{} }
func (*IPPuntRedirectDump) GetMessageName() string          { return "ip_punt_redirect_dump" }
func (*IPPuntRedirectDump) GetCrcString() string            { return "2d033de4" }
func (*IPPuntRedirectDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPPuntRedirectReply represents VPP binary API message 'ip_punt_redirect_reply'.
type IPPuntRedirectReply struct {
	Retval int32
}

func (m *IPPuntRedirectReply) Reset()                        { *m = IPPuntRedirectReply{} }
func (*IPPuntRedirectReply) GetMessageName() string          { return "ip_punt_redirect_reply" }
func (*IPPuntRedirectReply) GetCrcString() string            { return "e8d4e804" }
func (*IPPuntRedirectReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPReassemblyEnableDisable represents VPP binary API message 'ip_reassembly_enable_disable'.
type IPReassemblyEnableDisable struct {
	SwIfIndex InterfaceIndex
	EnableIP4 bool
	EnableIP6 bool
	Type      IPReassType
}

func (m *IPReassemblyEnableDisable) Reset()                        { *m = IPReassemblyEnableDisable{} }
func (*IPReassemblyEnableDisable) GetMessageName() string          { return "ip_reassembly_enable_disable" }
func (*IPReassemblyEnableDisable) GetCrcString() string            { return "885c85a6" }
func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType { return api.RequestMessage }

// IPReassemblyEnableDisableReply represents VPP binary API message 'ip_reassembly_enable_disable_reply'.
type IPReassemblyEnableDisableReply struct {
	Retval int32
}

func (m *IPReassemblyEnableDisableReply) Reset() { *m = IPReassemblyEnableDisableReply{} }
func (*IPReassemblyEnableDisableReply) GetMessageName() string {
	return "ip_reassembly_enable_disable_reply"
}
func (*IPReassemblyEnableDisableReply) GetCrcString() string            { return "e8d4e804" }
func (*IPReassemblyEnableDisableReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPReassemblyGet represents VPP binary API message 'ip_reassembly_get'.
type IPReassemblyGet struct {
	IsIP6 bool
	Type  IPReassType
}

func (m *IPReassemblyGet) Reset()                        { *m = IPReassemblyGet{} }
func (*IPReassemblyGet) GetMessageName() string          { return "ip_reassembly_get" }
func (*IPReassemblyGet) GetCrcString() string            { return "ea13ff63" }
func (*IPReassemblyGet) GetMessageType() api.MessageType { return api.RequestMessage }

// IPReassemblyGetReply represents VPP binary API message 'ip_reassembly_get_reply'.
type IPReassemblyGetReply struct {
	Retval               int32
	TimeoutMs            uint32
	MaxReassemblies      uint32
	MaxReassemblyLength  uint32
	ExpireWalkIntervalMs uint32
	IsIP6                bool
}

func (m *IPReassemblyGetReply) Reset()                        { *m = IPReassemblyGetReply{} }
func (*IPReassemblyGetReply) GetMessageName() string          { return "ip_reassembly_get_reply" }
func (*IPReassemblyGetReply) GetCrcString() string            { return "d5eb8d34" }
func (*IPReassemblyGetReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPReassemblySet represents VPP binary API message 'ip_reassembly_set'.
type IPReassemblySet struct {
	TimeoutMs            uint32
	MaxReassemblies      uint32
	MaxReassemblyLength  uint32
	ExpireWalkIntervalMs uint32
	IsIP6                bool
	Type                 IPReassType
}

func (m *IPReassemblySet) Reset()                        { *m = IPReassemblySet{} }
func (*IPReassemblySet) GetMessageName() string          { return "ip_reassembly_set" }
func (*IPReassemblySet) GetCrcString() string            { return "16467d25" }
func (*IPReassemblySet) GetMessageType() api.MessageType { return api.RequestMessage }

// IPReassemblySetReply represents VPP binary API message 'ip_reassembly_set_reply'.
type IPReassemblySetReply struct {
	Retval int32
}

func (m *IPReassemblySetReply) Reset()                        { *m = IPReassemblySetReply{} }
func (*IPReassemblySetReply) GetMessageName() string          { return "ip_reassembly_set_reply" }
func (*IPReassemblySetReply) GetCrcString() string            { return "e8d4e804" }
func (*IPReassemblySetReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPRouteAddDel represents VPP binary API message 'ip_route_add_del'.
type IPRouteAddDel struct {
	IsAdd       bool
	IsMultipath bool
	Route       IPRoute
}

func (m *IPRouteAddDel) Reset()                        { *m = IPRouteAddDel{} }
func (*IPRouteAddDel) GetMessageName() string          { return "ip_route_add_del" }
func (*IPRouteAddDel) GetCrcString() string            { return "c1ff832d" }
func (*IPRouteAddDel) GetMessageType() api.MessageType { return api.RequestMessage }

// IPRouteAddDelReply represents VPP binary API message 'ip_route_add_del_reply'.
type IPRouteAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

func (m *IPRouteAddDelReply) Reset()                        { *m = IPRouteAddDelReply{} }
func (*IPRouteAddDelReply) GetMessageName() string          { return "ip_route_add_del_reply" }
func (*IPRouteAddDelReply) GetCrcString() string            { return "1992deab" }
func (*IPRouteAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPRouteDetails represents VPP binary API message 'ip_route_details'.
type IPRouteDetails struct {
	Route IPRoute
}

func (m *IPRouteDetails) Reset()                        { *m = IPRouteDetails{} }
func (*IPRouteDetails) GetMessageName() string          { return "ip_route_details" }
func (*IPRouteDetails) GetCrcString() string            { return "d1ffaae1" }
func (*IPRouteDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPRouteDump represents VPP binary API message 'ip_route_dump'.
type IPRouteDump struct {
	Table IPTable
}

func (m *IPRouteDump) Reset()                        { *m = IPRouteDump{} }
func (*IPRouteDump) GetMessageName() string          { return "ip_route_dump" }
func (*IPRouteDump) GetCrcString() string            { return "b9d2e09e" }
func (*IPRouteDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPSourceAndPortRangeCheckAddDel represents VPP binary API message 'ip_source_and_port_range_check_add_del'.
type IPSourceAndPortRangeCheckAddDel struct {
	IsAdd          bool
	Prefix         Prefix
	NumberOfRanges uint8
	LowPorts       []uint16 `struc:"[32]uint16"`
	HighPorts      []uint16 `struc:"[32]uint16"`
	VrfID          uint32
}

func (m *IPSourceAndPortRangeCheckAddDel) Reset() { *m = IPSourceAndPortRangeCheckAddDel{} }
func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
	return "ip_source_and_port_range_check_add_del"
}
func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string            { return "8bfc76f2" }
func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType { return api.RequestMessage }

// IPSourceAndPortRangeCheckAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
type IPSourceAndPortRangeCheckAddDelReply struct {
	Retval int32
}

func (m *IPSourceAndPortRangeCheckAddDelReply) Reset() { *m = IPSourceAndPortRangeCheckAddDelReply{} }
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string {
	return "ip_source_and_port_range_check_add_del_reply"
}
func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string { return "e8d4e804" }
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

// IPSourceAndPortRangeCheckInterfaceAddDel represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
type IPSourceAndPortRangeCheckInterfaceAddDel struct {
	IsAdd       bool
	SwIfIndex   InterfaceIndex
	TCPInVrfID  uint32
	TCPOutVrfID uint32
	UDPInVrfID  uint32
	UDPOutVrfID uint32
}

func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Reset() {
	*m = IPSourceAndPortRangeCheckInterfaceAddDel{}
}
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string {
	return "ip_source_and_port_range_check_interface_add_del"
}
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string { return "e1ba8987" }
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
	return api.RequestMessage
}

// IPSourceAndPortRangeCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
	Retval int32
}

func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset() {
	*m = IPSourceAndPortRangeCheckInterfaceAddDelReply{}
}
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string {
	return "ip_source_and_port_range_check_interface_add_del_reply"
}
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string { return "e8d4e804" }
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

// IPSourceCheckInterfaceAddDel represents VPP binary API message 'ip_source_check_interface_add_del'.
type IPSourceCheckInterfaceAddDel struct {
	IsAdd     bool
	Loose     bool
	SwIfIndex InterfaceIndex
}

func (m *IPSourceCheckInterfaceAddDel) Reset() { *m = IPSourceCheckInterfaceAddDel{} }
func (*IPSourceCheckInterfaceAddDel) GetMessageName() string {
	return "ip_source_check_interface_add_del"
}
func (*IPSourceCheckInterfaceAddDel) GetCrcString() string            { return "6612356b" }
func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType { return api.RequestMessage }

// IPSourceCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_check_interface_add_del_reply'.
type IPSourceCheckInterfaceAddDelReply struct {
	Retval int32
}

func (m *IPSourceCheckInterfaceAddDelReply) Reset() { *m = IPSourceCheckInterfaceAddDelReply{} }
func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string {
	return "ip_source_check_interface_add_del_reply"
}
func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string            { return "e8d4e804" }
func (*IPSourceCheckInterfaceAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPTableAddDel represents VPP binary API message 'ip_table_add_del'.
type IPTableAddDel struct {
	IsAdd bool
	Table IPTable
}

func (m *IPTableAddDel) Reset()                        { *m = IPTableAddDel{} }
func (*IPTableAddDel) GetMessageName() string          { return "ip_table_add_del" }
func (*IPTableAddDel) GetCrcString() string            { return "0ffdaec0" }
func (*IPTableAddDel) GetMessageType() api.MessageType { return api.RequestMessage }

// IPTableAddDelReply represents VPP binary API message 'ip_table_add_del_reply'.
type IPTableAddDelReply struct {
	Retval int32
}

func (m *IPTableAddDelReply) Reset()                        { *m = IPTableAddDelReply{} }
func (*IPTableAddDelReply) GetMessageName() string          { return "ip_table_add_del_reply" }
func (*IPTableAddDelReply) GetCrcString() string            { return "e8d4e804" }
func (*IPTableAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPTableDetails represents VPP binary API message 'ip_table_details'.
type IPTableDetails struct {
	Table IPTable
}

func (m *IPTableDetails) Reset()                        { *m = IPTableDetails{} }
func (*IPTableDetails) GetMessageName() string          { return "ip_table_details" }
func (*IPTableDetails) GetCrcString() string            { return "c79fca0f" }
func (*IPTableDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPTableDump represents VPP binary API message 'ip_table_dump'.
type IPTableDump struct{}

func (m *IPTableDump) Reset()                        { *m = IPTableDump{} }
func (*IPTableDump) GetMessageName() string          { return "ip_table_dump" }
func (*IPTableDump) GetCrcString() string            { return "51077d14" }
func (*IPTableDump) GetMessageType() api.MessageType { return api.RequestMessage }

// IPTableFlush represents VPP binary API message 'ip_table_flush'.
type IPTableFlush struct {
	Table IPTable
}

func (m *IPTableFlush) Reset()                        { *m = IPTableFlush{} }
func (*IPTableFlush) GetMessageName() string          { return "ip_table_flush" }
func (*IPTableFlush) GetCrcString() string            { return "b9d2e09e" }
func (*IPTableFlush) GetMessageType() api.MessageType { return api.RequestMessage }

// IPTableFlushReply represents VPP binary API message 'ip_table_flush_reply'.
type IPTableFlushReply struct {
	Retval int32
}

func (m *IPTableFlushReply) Reset()                        { *m = IPTableFlushReply{} }
func (*IPTableFlushReply) GetMessageName() string          { return "ip_table_flush_reply" }
func (*IPTableFlushReply) GetCrcString() string            { return "e8d4e804" }
func (*IPTableFlushReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPTableReplaceBegin represents VPP binary API message 'ip_table_replace_begin'.
type IPTableReplaceBegin struct {
	Table IPTable
}

func (m *IPTableReplaceBegin) Reset()                        { *m = IPTableReplaceBegin{} }
func (*IPTableReplaceBegin) GetMessageName() string          { return "ip_table_replace_begin" }
func (*IPTableReplaceBegin) GetCrcString() string            { return "b9d2e09e" }
func (*IPTableReplaceBegin) GetMessageType() api.MessageType { return api.RequestMessage }

// IPTableReplaceBeginReply represents VPP binary API message 'ip_table_replace_begin_reply'.
type IPTableReplaceBeginReply struct {
	Retval int32
}

func (m *IPTableReplaceBeginReply) Reset()                        { *m = IPTableReplaceBeginReply{} }
func (*IPTableReplaceBeginReply) GetMessageName() string          { return "ip_table_replace_begin_reply" }
func (*IPTableReplaceBeginReply) GetCrcString() string            { return "e8d4e804" }
func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPTableReplaceEnd represents VPP binary API message 'ip_table_replace_end'.
type IPTableReplaceEnd struct {
	Table IPTable
}

func (m *IPTableReplaceEnd) Reset()                        { *m = IPTableReplaceEnd{} }
func (*IPTableReplaceEnd) GetMessageName() string          { return "ip_table_replace_end" }
func (*IPTableReplaceEnd) GetCrcString() string            { return "b9d2e09e" }
func (*IPTableReplaceEnd) GetMessageType() api.MessageType { return api.RequestMessage }

// IPTableReplaceEndReply represents VPP binary API message 'ip_table_replace_end_reply'.
type IPTableReplaceEndReply struct {
	Retval int32
}

func (m *IPTableReplaceEndReply) Reset()                        { *m = IPTableReplaceEndReply{} }
func (*IPTableReplaceEndReply) GetMessageName() string          { return "ip_table_replace_end_reply" }
func (*IPTableReplaceEndReply) GetCrcString() string            { return "e8d4e804" }
func (*IPTableReplaceEndReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPUnnumberedDetails represents VPP binary API message 'ip_unnumbered_details'.
type IPUnnumberedDetails struct {
	SwIfIndex   InterfaceIndex
	IPSwIfIndex InterfaceIndex
}

func (m *IPUnnumberedDetails) Reset()                        { *m = IPUnnumberedDetails{} }
func (*IPUnnumberedDetails) GetMessageName() string          { return "ip_unnumbered_details" }
func (*IPUnnumberedDetails) GetCrcString() string            { return "aa12a483" }
func (*IPUnnumberedDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// IPUnnumberedDump represents VPP binary API message 'ip_unnumbered_dump'.
type IPUnnumberedDump struct {
	SwIfIndex InterfaceIndex
}

func (m *IPUnnumberedDump) Reset()                        { *m = IPUnnumberedDump{} }
func (*IPUnnumberedDump) GetMessageName() string          { return "ip_unnumbered_dump" }
func (*IPUnnumberedDump) GetCrcString() string            { return "f9e6675e" }
func (*IPUnnumberedDump) GetMessageType() api.MessageType { return api.RequestMessage }

// MfibSignalDetails represents VPP binary API message 'mfib_signal_details'.
type MfibSignalDetails struct {
	SwIfIndex    InterfaceIndex
	TableID      uint32
	Prefix       Mprefix
	IPPacketLen  uint16
	IPPacketData []byte `struc:"[256]byte"`
}

func (m *MfibSignalDetails) Reset()                        { *m = MfibSignalDetails{} }
func (*MfibSignalDetails) GetMessageName() string          { return "mfib_signal_details" }
func (*MfibSignalDetails) GetCrcString() string            { return "64398a9a" }
func (*MfibSignalDetails) GetMessageType() api.MessageType { return api.ReplyMessage }

// MfibSignalDump represents VPP binary API message 'mfib_signal_dump'.
type MfibSignalDump struct{}

func (m *MfibSignalDump) Reset()                        { *m = MfibSignalDump{} }
func (*MfibSignalDump) GetMessageName() string          { return "mfib_signal_dump" }
func (*MfibSignalDump) GetCrcString() string            { return "51077d14" }
func (*MfibSignalDump) GetMessageType() api.MessageType { return api.RequestMessage }

// SetIPFlowHash represents VPP binary API message 'set_ip_flow_hash'.
type SetIPFlowHash struct {
	VrfID     uint32
	IsIPv6    bool
	Src       bool
	Dst       bool
	Sport     bool
	Dport     bool
	Proto     bool
	Reverse   bool
	Symmetric bool
}

func (m *SetIPFlowHash) Reset()                        { *m = SetIPFlowHash{} }
func (*SetIPFlowHash) GetMessageName() string          { return "set_ip_flow_hash" }
func (*SetIPFlowHash) GetCrcString() string            { return "084ee09e" }
func (*SetIPFlowHash) GetMessageType() api.MessageType { return api.RequestMessage }

// SetIPFlowHashReply represents VPP binary API message 'set_ip_flow_hash_reply'.
type SetIPFlowHashReply struct {
	Retval int32
}

func (m *SetIPFlowHashReply) Reset()                        { *m = SetIPFlowHashReply{} }
func (*SetIPFlowHashReply) GetMessageName() string          { return "set_ip_flow_hash_reply" }
func (*SetIPFlowHashReply) GetCrcString() string            { return "e8d4e804" }
func (*SetIPFlowHashReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// SwInterfaceIP6EnableDisable represents VPP binary API message 'sw_interface_ip6_enable_disable'.
type SwInterfaceIP6EnableDisable struct {
	SwIfIndex InterfaceIndex
	Enable    bool
}

func (m *SwInterfaceIP6EnableDisable) Reset()                        { *m = SwInterfaceIP6EnableDisable{} }
func (*SwInterfaceIP6EnableDisable) GetMessageName() string          { return "sw_interface_ip6_enable_disable" }
func (*SwInterfaceIP6EnableDisable) GetCrcString() string            { return "ae6cfcfb" }
func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType { return api.RequestMessage }

// SwInterfaceIP6EnableDisableReply represents VPP binary API message 'sw_interface_ip6_enable_disable_reply'.
type SwInterfaceIP6EnableDisableReply struct {
	Retval int32
}

func (m *SwInterfaceIP6EnableDisableReply) Reset() { *m = SwInterfaceIP6EnableDisableReply{} }
func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string {
	return "sw_interface_ip6_enable_disable_reply"
}
func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string            { return "e8d4e804" }
func (*SwInterfaceIP6EnableDisableReply) GetMessageType() api.MessageType { return api.ReplyMessage }

// SwInterfaceIP6SetLinkLocalAddress represents VPP binary API message 'sw_interface_ip6_set_link_local_address'.
type SwInterfaceIP6SetLinkLocalAddress struct {
	SwIfIndex InterfaceIndex
	IP        IP6Address
}

func (m *SwInterfaceIP6SetLinkLocalAddress) Reset() { *m = SwInterfaceIP6SetLinkLocalAddress{} }
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string {
	return "sw_interface_ip6_set_link_local_address"
}
func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string            { return "2931d9fa" }
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType() api.MessageType { return api.RequestMessage }

// SwInterfaceIP6SetLinkLocalAddressReply represents VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'.
type SwInterfaceIP6SetLinkLocalAddressReply struct {
	Retval int32
}

func (m *SwInterfaceIP6SetLinkLocalAddressReply) Reset() {
	*m = SwInterfaceIP6SetLinkLocalAddressReply{}
}
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName() string {
	return "sw_interface_ip6_set_link_local_address_reply"
}
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString() string { return "e8d4e804" }
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func init() {
	api.RegisterMessage((*IoamDisable)(nil), "ip.IoamDisable")
	api.RegisterMessage((*IoamDisableReply)(nil), "ip.IoamDisableReply")
	api.RegisterMessage((*IoamEnable)(nil), "ip.IoamEnable")
	api.RegisterMessage((*IoamEnableReply)(nil), "ip.IoamEnableReply")
	api.RegisterMessage((*IPAddressDetails)(nil), "ip.IPAddressDetails")
	api.RegisterMessage((*IPAddressDump)(nil), "ip.IPAddressDump")
	api.RegisterMessage((*IPContainerProxyAddDel)(nil), "ip.IPContainerProxyAddDel")
	api.RegisterMessage((*IPContainerProxyAddDelReply)(nil), "ip.IPContainerProxyAddDelReply")
	api.RegisterMessage((*IPContainerProxyDetails)(nil), "ip.IPContainerProxyDetails")
	api.RegisterMessage((*IPContainerProxyDump)(nil), "ip.IPContainerProxyDump")
	api.RegisterMessage((*IPDetails)(nil), "ip.IPDetails")
	api.RegisterMessage((*IPDump)(nil), "ip.IPDump")
	api.RegisterMessage((*IPMrouteAddDel)(nil), "ip.IPMrouteAddDel")
	api.RegisterMessage((*IPMrouteAddDelReply)(nil), "ip.IPMrouteAddDelReply")
	api.RegisterMessage((*IPMrouteDetails)(nil), "ip.IPMrouteDetails")
	api.RegisterMessage((*IPMrouteDump)(nil), "ip.IPMrouteDump")
	api.RegisterMessage((*IPMtableDetails)(nil), "ip.IPMtableDetails")
	api.RegisterMessage((*IPMtableDump)(nil), "ip.IPMtableDump")
	api.RegisterMessage((*IPPuntPolice)(nil), "ip.IPPuntPolice")
	api.RegisterMessage((*IPPuntPoliceReply)(nil), "ip.IPPuntPoliceReply")
	api.RegisterMessage((*IPPuntRedirect)(nil), "ip.IPPuntRedirect")
	api.RegisterMessage((*IPPuntRedirectDetails)(nil), "ip.IPPuntRedirectDetails")
	api.RegisterMessage((*IPPuntRedirectDump)(nil), "ip.IPPuntRedirectDump")
	api.RegisterMessage((*IPPuntRedirectReply)(nil), "ip.IPPuntRedirectReply")
	api.RegisterMessage((*IPReassemblyEnableDisable)(nil), "ip.IPReassemblyEnableDisable")
	api.RegisterMessage((*IPReassemblyEnableDisableReply)(nil), "ip.IPReassemblyEnableDisableReply")
	api.RegisterMessage((*IPReassemblyGet)(nil), "ip.IPReassemblyGet")
	api.RegisterMessage((*IPReassemblyGetReply)(nil), "ip.IPReassemblyGetReply")
	api.RegisterMessage((*IPReassemblySet)(nil), "ip.IPReassemblySet")
	api.RegisterMessage((*IPReassemblySetReply)(nil), "ip.IPReassemblySetReply")
	api.RegisterMessage((*IPRouteAddDel)(nil), "ip.IPRouteAddDel")
	api.RegisterMessage((*IPRouteAddDelReply)(nil), "ip.IPRouteAddDelReply")
	api.RegisterMessage((*IPRouteDetails)(nil), "ip.IPRouteDetails")
	api.RegisterMessage((*IPRouteDump)(nil), "ip.IPRouteDump")
	api.RegisterMessage((*IPSourceAndPortRangeCheckAddDel)(nil), "ip.IPSourceAndPortRangeCheckAddDel")
	api.RegisterMessage((*IPSourceAndPortRangeCheckAddDelReply)(nil), "ip.IPSourceAndPortRangeCheckAddDelReply")
	api.RegisterMessage((*IPSourceAndPortRangeCheckInterfaceAddDel)(nil), "ip.IPSourceAndPortRangeCheckInterfaceAddDel")
	api.RegisterMessage((*IPSourceAndPortRangeCheckInterfaceAddDelReply)(nil), "ip.IPSourceAndPortRangeCheckInterfaceAddDelReply")
	api.RegisterMessage((*IPSourceCheckInterfaceAddDel)(nil), "ip.IPSourceCheckInterfaceAddDel")
	api.RegisterMessage((*IPSourceCheckInterfaceAddDelReply)(nil), "ip.IPSourceCheckInterfaceAddDelReply")
	api.RegisterMessage((*IPTableAddDel)(nil), "ip.IPTableAddDel")
	api.RegisterMessage((*IPTableAddDelReply)(nil), "ip.IPTableAddDelReply")
	api.RegisterMessage((*IPTableDetails)(nil), "ip.IPTableDetails")
	api.RegisterMessage((*IPTableDump)(nil), "ip.IPTableDump")
	api.RegisterMessage((*IPTableFlush)(nil), "ip.IPTableFlush")
	api.RegisterMessage((*IPTableFlushReply)(nil), "ip.IPTableFlushReply")
	api.RegisterMessage((*IPTableReplaceBegin)(nil), "ip.IPTableReplaceBegin")
	api.RegisterMessage((*IPTableReplaceBeginReply)(nil), "ip.IPTableReplaceBeginReply")
	api.RegisterMessage((*IPTableReplaceEnd)(nil), "ip.IPTableReplaceEnd")
	api.RegisterMessage((*IPTableReplaceEndReply)(nil), "ip.IPTableReplaceEndReply")
	api.RegisterMessage((*IPUnnumberedDetails)(nil), "ip.IPUnnumberedDetails")
	api.RegisterMessage((*IPUnnumberedDump)(nil), "ip.IPUnnumberedDump")
	api.RegisterMessage((*MfibSignalDetails)(nil), "ip.MfibSignalDetails")
	api.RegisterMessage((*MfibSignalDump)(nil), "ip.MfibSignalDump")
	api.RegisterMessage((*SetIPFlowHash)(nil), "ip.SetIPFlowHash")
	api.RegisterMessage((*SetIPFlowHashReply)(nil), "ip.SetIPFlowHashReply")
	api.RegisterMessage((*SwInterfaceIP6EnableDisable)(nil), "ip.SwInterfaceIP6EnableDisable")
	api.RegisterMessage((*SwInterfaceIP6EnableDisableReply)(nil), "ip.SwInterfaceIP6EnableDisableReply")
	api.RegisterMessage((*SwInterfaceIP6SetLinkLocalAddress)(nil), "ip.SwInterfaceIP6SetLinkLocalAddress")
	api.RegisterMessage((*SwInterfaceIP6SetLinkLocalAddressReply)(nil), "ip.SwInterfaceIP6SetLinkLocalAddressReply")
}

// Messages returns list of all messages in this module.
func AllMessages() []api.Message {
	return []api.Message{
		(*IoamDisable)(nil),
		(*IoamDisableReply)(nil),
		(*IoamEnable)(nil),
		(*IoamEnableReply)(nil),
		(*IPAddressDetails)(nil),
		(*IPAddressDump)(nil),
		(*IPContainerProxyAddDel)(nil),
		(*IPContainerProxyAddDelReply)(nil),
		(*IPContainerProxyDetails)(nil),
		(*IPContainerProxyDump)(nil),
		(*IPDetails)(nil),
		(*IPDump)(nil),
		(*IPMrouteAddDel)(nil),
		(*IPMrouteAddDelReply)(nil),
		(*IPMrouteDetails)(nil),
		(*IPMrouteDump)(nil),
		(*IPMtableDetails)(nil),
		(*IPMtableDump)(nil),
		(*IPPuntPolice)(nil),
		(*IPPuntPoliceReply)(nil),
		(*IPPuntRedirect)(nil),
		(*IPPuntRedirectDetails)(nil),
		(*IPPuntRedirectDump)(nil),
		(*IPPuntRedirectReply)(nil),
		(*IPReassemblyEnableDisable)(nil),
		(*IPReassemblyEnableDisableReply)(nil),
		(*IPReassemblyGet)(nil),
		(*IPReassemblyGetReply)(nil),
		(*IPReassemblySet)(nil),
		(*IPReassemblySetReply)(nil),
		(*IPRouteAddDel)(nil),
		(*IPRouteAddDelReply)(nil),
		(*IPRouteDetails)(nil),
		(*IPRouteDump)(nil),
		(*IPSourceAndPortRangeCheckAddDel)(nil),
		(*IPSourceAndPortRangeCheckAddDelReply)(nil),
		(*IPSourceAndPortRangeCheckInterfaceAddDel)(nil),
		(*IPSourceAndPortRangeCheckInterfaceAddDelReply)(nil),
		(*IPSourceCheckInterfaceAddDel)(nil),
		(*IPSourceCheckInterfaceAddDelReply)(nil),
		(*IPTableAddDel)(nil),
		(*IPTableAddDelReply)(nil),
		(*IPTableDetails)(nil),
		(*IPTableDump)(nil),
		(*IPTableFlush)(nil),
		(*IPTableFlushReply)(nil),
		(*IPTableReplaceBegin)(nil),
		(*IPTableReplaceBeginReply)(nil),
		(*IPTableReplaceEnd)(nil),
		(*IPTableReplaceEndReply)(nil),
		(*IPUnnumberedDetails)(nil),
		(*IPUnnumberedDump)(nil),
		(*MfibSignalDetails)(nil),
		(*MfibSignalDump)(nil),
		(*SetIPFlowHash)(nil),
		(*SetIPFlowHashReply)(nil),
		(*SwInterfaceIP6EnableDisable)(nil),
		(*SwInterfaceIP6EnableDisableReply)(nil),
		(*SwInterfaceIP6SetLinkLocalAddress)(nil),
		(*SwInterfaceIP6SetLinkLocalAddressReply)(nil),
	}
}

// RPCService represents RPC service API for ip module.
type RPCService interface {
	DumpIPAddress(ctx context.Context, in *IPAddressDump) (RPCService_DumpIPAddressClient, error)
	DumpIPContainerProxy(ctx context.Context, in *IPContainerProxyDump) (RPCService_DumpIPContainerProxyClient, error)
	DumpIP(ctx context.Context, in *IPDump) (RPCService_DumpIPClient, error)
	DumpIPMroute(ctx context.Context, in *IPMrouteDump) (RPCService_DumpIPMrouteClient, error)
	DumpIPMtable(ctx context.Context, in *IPMtableDump) (RPCService_DumpIPMtableClient, error)
	DumpIPPuntRedirect(ctx context.Context, in *IPPuntRedirectDump) (RPCService_DumpIPPuntRedirectClient, error)
	DumpIPRoute(ctx context.Context, in *IPRouteDump) (RPCService_DumpIPRouteClient, error)
	DumpIPTable(ctx context.Context, in *IPTableDump) (RPCService_DumpIPTableClient, error)
	DumpIPUnnumbered(ctx context.Context, in *IPUnnumberedDump) (RPCService_DumpIPUnnumberedClient, error)
	DumpMfibSignal(ctx context.Context, in *MfibSignalDump) (RPCService_DumpMfibSignalClient, error)
	IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
	IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
	IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
	IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error)
	IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error)
	IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error)
	IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error)
	IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error)
	IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error)
	IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error)
	IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
	IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
	IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error)
	IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error)
	IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error)
	IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error)
	IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error)
	SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error)
	SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error)
	SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error)
}

type serviceClient struct {
	ch api.Channel
}

func NewServiceClient(ch api.Channel) RPCService {
	return &serviceClient{ch}
}

func (c *serviceClient) DumpIPAddress(ctx context.Context, in *IPAddressDump) (RPCService_DumpIPAddressClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPAddressClient{stream}
	return x, nil
}

type RPCService_DumpIPAddressClient interface {
	Recv() (*IPAddressDetails, error)
}

type serviceClient_DumpIPAddressClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPAddressClient) Recv() (*IPAddressDetails, error) {
	m := new(IPAddressDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPContainerProxy(ctx context.Context, in *IPContainerProxyDump) (RPCService_DumpIPContainerProxyClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPContainerProxyClient{stream}
	return x, nil
}

type RPCService_DumpIPContainerProxyClient interface {
	Recv() (*IPContainerProxyDetails, error)
}

type serviceClient_DumpIPContainerProxyClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPContainerProxyClient) Recv() (*IPContainerProxyDetails, error) {
	m := new(IPContainerProxyDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIP(ctx context.Context, in *IPDump) (RPCService_DumpIPClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPClient{stream}
	return x, nil
}

type RPCService_DumpIPClient interface {
	Recv() (*IPDetails, error)
}

type serviceClient_DumpIPClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPClient) Recv() (*IPDetails, error) {
	m := new(IPDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPMroute(ctx context.Context, in *IPMrouteDump) (RPCService_DumpIPMrouteClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPMrouteClient{stream}
	return x, nil
}

type RPCService_DumpIPMrouteClient interface {
	Recv() (*IPMrouteDetails, error)
}

type serviceClient_DumpIPMrouteClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPMrouteClient) Recv() (*IPMrouteDetails, error) {
	m := new(IPMrouteDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPMtable(ctx context.Context, in *IPMtableDump) (RPCService_DumpIPMtableClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPMtableClient{stream}
	return x, nil
}

type RPCService_DumpIPMtableClient interface {
	Recv() (*IPMtableDetails, error)
}

type serviceClient_DumpIPMtableClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPMtableClient) Recv() (*IPMtableDetails, error) {
	m := new(IPMtableDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPPuntRedirect(ctx context.Context, in *IPPuntRedirectDump) (RPCService_DumpIPPuntRedirectClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPPuntRedirectClient{stream}
	return x, nil
}

type RPCService_DumpIPPuntRedirectClient interface {
	Recv() (*IPPuntRedirectDetails, error)
}

type serviceClient_DumpIPPuntRedirectClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPPuntRedirectClient) Recv() (*IPPuntRedirectDetails, error) {
	m := new(IPPuntRedirectDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPRoute(ctx context.Context, in *IPRouteDump) (RPCService_DumpIPRouteClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPRouteClient{stream}
	return x, nil
}

type RPCService_DumpIPRouteClient interface {
	Recv() (*IPRouteDetails, error)
}

type serviceClient_DumpIPRouteClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPRouteClient) Recv() (*IPRouteDetails, error) {
	m := new(IPRouteDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPTable(ctx context.Context, in *IPTableDump) (RPCService_DumpIPTableClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPTableClient{stream}
	return x, nil
}

type RPCService_DumpIPTableClient interface {
	Recv() (*IPTableDetails, error)
}

type serviceClient_DumpIPTableClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPTableClient) Recv() (*IPTableDetails, error) {
	m := new(IPTableDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpIPUnnumbered(ctx context.Context, in *IPUnnumberedDump) (RPCService_DumpIPUnnumberedClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpIPUnnumberedClient{stream}
	return x, nil
}

type RPCService_DumpIPUnnumberedClient interface {
	Recv() (*IPUnnumberedDetails, error)
}

type serviceClient_DumpIPUnnumberedClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpIPUnnumberedClient) Recv() (*IPUnnumberedDetails, error) {
	m := new(IPUnnumberedDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) DumpMfibSignal(ctx context.Context, in *MfibSignalDump) (RPCService_DumpMfibSignalClient, error) {
	stream := c.ch.SendMultiRequest(in)
	x := &serviceClient_DumpMfibSignalClient{stream}
	return x, nil
}

type RPCService_DumpMfibSignalClient interface {
	Recv() (*MfibSignalDetails, error)
}

type serviceClient_DumpMfibSignalClient struct {
	api.MultiRequestCtx
}

func (c *serviceClient_DumpMfibSignalClient) Recv() (*MfibSignalDetails, error) {
	m := new(MfibSignalDetails)
	stop, err := c.MultiRequestCtx.ReceiveReply(m)
	if err != nil {
		return nil, err
	}
	if stop {
		return nil, io.EOF
	}
	return m, nil
}

func (c *serviceClient) IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error) {
	out := new(IoamDisableReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error) {
	out := new(IoamEnableReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error) {
	out := new(IPContainerProxyAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error) {
	out := new(IPMrouteAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error) {
	out := new(IPPuntPoliceReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error) {
	out := new(IPPuntRedirectReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error) {
	out := new(IPReassemblyEnableDisableReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error) {
	out := new(IPReassemblyGetReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error) {
	out := new(IPReassemblySetReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error) {
	out := new(IPRouteAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error) {
	out := new(IPSourceAndPortRangeCheckAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error) {
	out := new(IPSourceAndPortRangeCheckInterfaceAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error) {
	out := new(IPSourceCheckInterfaceAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error) {
	out := new(IPTableAddDelReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error) {
	out := new(IPTableFlushReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error) {
	out := new(IPTableReplaceBeginReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error) {
	out := new(IPTableReplaceEndReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error) {
	out := new(SetIPFlowHashReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error) {
	out := new(SwInterfaceIP6EnableDisableReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *serviceClient) SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error) {
	out := new(SwInterfaceIP6SetLinkLocalAddressReply)
	err := c.ch.SendRequest(in).ReceiveReply(out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// This is a compile-time assertion to ensure that this generated file
// is compatible with the GoVPP api package it is being compiled against.
// A compilation error at this line likely means your copy of the
// GoVPP api package needs to be updated.
const _ = api.GoVppAPIPackageIsVersion1 // please upgrade the GoVPP api package

// Reference imports to suppress errors if they are not otherwise used.
var _ = api.RegisterMessage
var _ = bytes.NewBuffer
var _ = context.Background
var _ = io.Copy
var _ = strconv.Itoa
var _ = struc.Pack