1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
2 // source: /usr/share/vpp/api/core/ip.api.json
5 Package ip is a generated VPP binary API for 'ip' module.
20 api "git.fd.io/govpp.git/api"
21 struc "github.com/lunixbochs/struc"
25 ethernet_types "git.fd.io/govpp.git/examples/ethernet_types"
26 interface_types "git.fd.io/govpp.git/examples/interface_types"
27 ip_types "git.fd.io/govpp.git/examples/ip_types"
31 // ModuleName is the name of this module.
33 // APIVersion is the API version of this module.
35 // VersionCrc is the CRC of this module.
36 VersionCrc = 0xfc3fea46
39 type AddressFamily = ip_types.AddressFamily
41 // FibPathFlags represents VPP binary API enum 'fib_path_flags'.
42 type FibPathFlags uint32
45 FIB_API_PATH_FLAG_NONE FibPathFlags = 0
46 FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED FibPathFlags = 1
47 FIB_API_PATH_FLAG_RESOLVE_VIA_HOST FibPathFlags = 2
48 FIB_API_PATH_FLAG_POP_PW_CW FibPathFlags = 4
51 var FibPathFlags_name = map[uint32]string{
52 0: "FIB_API_PATH_FLAG_NONE",
53 1: "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED",
54 2: "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST",
55 4: "FIB_API_PATH_FLAG_POP_PW_CW",
58 var FibPathFlags_value = map[string]uint32{
59 "FIB_API_PATH_FLAG_NONE": 0,
60 "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED": 1,
61 "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST": 2,
62 "FIB_API_PATH_FLAG_POP_PW_CW": 4,
65 func (x FibPathFlags) String() string {
66 s, ok := FibPathFlags_name[uint32(x)]
70 return strconv.Itoa(int(x))
73 // FibPathNhProto represents VPP binary API enum 'fib_path_nh_proto'.
74 type FibPathNhProto uint32
77 FIB_API_PATH_NH_PROTO_IP4 FibPathNhProto = 0
78 FIB_API_PATH_NH_PROTO_IP6 FibPathNhProto = 1
79 FIB_API_PATH_NH_PROTO_MPLS FibPathNhProto = 2
80 FIB_API_PATH_NH_PROTO_ETHERNET FibPathNhProto = 3
81 FIB_API_PATH_NH_PROTO_BIER FibPathNhProto = 4
84 var FibPathNhProto_name = map[uint32]string{
85 0: "FIB_API_PATH_NH_PROTO_IP4",
86 1: "FIB_API_PATH_NH_PROTO_IP6",
87 2: "FIB_API_PATH_NH_PROTO_MPLS",
88 3: "FIB_API_PATH_NH_PROTO_ETHERNET",
89 4: "FIB_API_PATH_NH_PROTO_BIER",
92 var FibPathNhProto_value = map[string]uint32{
93 "FIB_API_PATH_NH_PROTO_IP4": 0,
94 "FIB_API_PATH_NH_PROTO_IP6": 1,
95 "FIB_API_PATH_NH_PROTO_MPLS": 2,
96 "FIB_API_PATH_NH_PROTO_ETHERNET": 3,
97 "FIB_API_PATH_NH_PROTO_BIER": 4,
100 func (x FibPathNhProto) String() string {
101 s, ok := FibPathNhProto_name[uint32(x)]
105 return strconv.Itoa(int(x))
108 // FibPathType represents VPP binary API enum 'fib_path_type'.
109 type FibPathType uint32
112 FIB_API_PATH_TYPE_NORMAL FibPathType = 0
113 FIB_API_PATH_TYPE_LOCAL FibPathType = 1
114 FIB_API_PATH_TYPE_DROP FibPathType = 2
115 FIB_API_PATH_TYPE_UDP_ENCAP FibPathType = 3
116 FIB_API_PATH_TYPE_BIER_IMP FibPathType = 4
117 FIB_API_PATH_TYPE_ICMP_UNREACH FibPathType = 5
118 FIB_API_PATH_TYPE_ICMP_PROHIBIT FibPathType = 6
119 FIB_API_PATH_TYPE_SOURCE_LOOKUP FibPathType = 7
120 FIB_API_PATH_TYPE_DVR FibPathType = 8
121 FIB_API_PATH_TYPE_INTERFACE_RX FibPathType = 9
122 FIB_API_PATH_TYPE_CLASSIFY FibPathType = 10
125 var FibPathType_name = map[uint32]string{
126 0: "FIB_API_PATH_TYPE_NORMAL",
127 1: "FIB_API_PATH_TYPE_LOCAL",
128 2: "FIB_API_PATH_TYPE_DROP",
129 3: "FIB_API_PATH_TYPE_UDP_ENCAP",
130 4: "FIB_API_PATH_TYPE_BIER_IMP",
131 5: "FIB_API_PATH_TYPE_ICMP_UNREACH",
132 6: "FIB_API_PATH_TYPE_ICMP_PROHIBIT",
133 7: "FIB_API_PATH_TYPE_SOURCE_LOOKUP",
134 8: "FIB_API_PATH_TYPE_DVR",
135 9: "FIB_API_PATH_TYPE_INTERFACE_RX",
136 10: "FIB_API_PATH_TYPE_CLASSIFY",
139 var FibPathType_value = map[string]uint32{
140 "FIB_API_PATH_TYPE_NORMAL": 0,
141 "FIB_API_PATH_TYPE_LOCAL": 1,
142 "FIB_API_PATH_TYPE_DROP": 2,
143 "FIB_API_PATH_TYPE_UDP_ENCAP": 3,
144 "FIB_API_PATH_TYPE_BIER_IMP": 4,
145 "FIB_API_PATH_TYPE_ICMP_UNREACH": 5,
146 "FIB_API_PATH_TYPE_ICMP_PROHIBIT": 6,
147 "FIB_API_PATH_TYPE_SOURCE_LOOKUP": 7,
148 "FIB_API_PATH_TYPE_DVR": 8,
149 "FIB_API_PATH_TYPE_INTERFACE_RX": 9,
150 "FIB_API_PATH_TYPE_CLASSIFY": 10,
153 func (x FibPathType) String() string {
154 s, ok := FibPathType_name[uint32(x)]
158 return strconv.Itoa(int(x))
161 type IfStatusFlags = interface_types.IfStatusFlags
163 type IfType = interface_types.IfType
165 type IPDscp = ip_types.IPDscp
167 type IPEcn = ip_types.IPEcn
169 type IPProto = ip_types.IPProto
171 // IPReassType represents VPP binary API enum 'ip_reass_type'.
172 type IPReassType uint32
175 IP_REASS_TYPE_FULL IPReassType = 0
176 IP_REASS_TYPE_SHALLOW_VIRTUAL IPReassType = 1
179 var IPReassType_name = map[uint32]string{
180 0: "IP_REASS_TYPE_FULL",
181 1: "IP_REASS_TYPE_SHALLOW_VIRTUAL",
184 var IPReassType_value = map[string]uint32{
185 "IP_REASS_TYPE_FULL": 0,
186 "IP_REASS_TYPE_SHALLOW_VIRTUAL": 1,
189 func (x IPReassType) String() string {
190 s, ok := IPReassType_name[uint32(x)]
194 return strconv.Itoa(int(x))
197 type LinkDuplex = interface_types.LinkDuplex
199 // MfibItfFlags represents VPP binary API enum 'mfib_itf_flags'.
200 type MfibItfFlags uint32
203 MFIB_API_ITF_FLAG_NONE MfibItfFlags = 0
204 MFIB_API_ITF_FLAG_NEGATE_SIGNAL MfibItfFlags = 1
205 MFIB_API_ITF_FLAG_ACCEPT MfibItfFlags = 2
206 MFIB_API_ITF_FLAG_FORWARD MfibItfFlags = 4
207 MFIB_API_ITF_FLAG_SIGNAL_PRESENT MfibItfFlags = 8
208 MFIB_API_ITF_FLAG_DONT_PRESERVE MfibItfFlags = 16
211 var MfibItfFlags_name = map[uint32]string{
212 0: "MFIB_API_ITF_FLAG_NONE",
213 1: "MFIB_API_ITF_FLAG_NEGATE_SIGNAL",
214 2: "MFIB_API_ITF_FLAG_ACCEPT",
215 4: "MFIB_API_ITF_FLAG_FORWARD",
216 8: "MFIB_API_ITF_FLAG_SIGNAL_PRESENT",
217 16: "MFIB_API_ITF_FLAG_DONT_PRESERVE",
220 var MfibItfFlags_value = map[string]uint32{
221 "MFIB_API_ITF_FLAG_NONE": 0,
222 "MFIB_API_ITF_FLAG_NEGATE_SIGNAL": 1,
223 "MFIB_API_ITF_FLAG_ACCEPT": 2,
224 "MFIB_API_ITF_FLAG_FORWARD": 4,
225 "MFIB_API_ITF_FLAG_SIGNAL_PRESENT": 8,
226 "MFIB_API_ITF_FLAG_DONT_PRESERVE": 16,
229 func (x MfibItfFlags) String() string {
230 s, ok := MfibItfFlags_name[uint32(x)]
234 return strconv.Itoa(int(x))
237 type MtuProto = interface_types.MtuProto
239 type RxMode = interface_types.RxMode
241 type SubIfFlags = interface_types.SubIfFlags
243 type AddressWithPrefix = ip_types.AddressWithPrefix
245 type InterfaceIndex = interface_types.InterfaceIndex
247 type IP4Address = ip_types.IP4Address
249 type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix
251 type IP6Address = ip_types.IP6Address
253 type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix
255 type MacAddress = ethernet_types.MacAddress
257 type Address = ip_types.Address
259 // FibMplsLabel represents VPP binary API type 'fib_mpls_label'.
260 type FibMplsLabel struct {
267 func (*FibMplsLabel) GetTypeName() string { return "fib_mpls_label" }
269 // FibPath represents VPP binary API type 'fib_path'.
270 type FibPath struct {
281 LabelStack []FibMplsLabel `struc:"[16]FibMplsLabel"`
284 func (*FibPath) GetTypeName() string { return "fib_path" }
286 // FibPathNh represents VPP binary API type 'fib_path_nh'.
287 type FibPathNh struct {
291 ClassifyTableIndex uint32
294 func (*FibPathNh) GetTypeName() string { return "fib_path_nh" }
296 type IP4Prefix = ip_types.IP4Prefix
298 type IP6Prefix = ip_types.IP6Prefix
300 // IPMroute represents VPP binary API type 'ip_mroute'.
301 type IPMroute struct {
306 NPaths uint8 `struc:"sizeof=Paths"`
310 func (*IPMroute) GetTypeName() string { return "ip_mroute" }
312 // IPRoute represents VPP binary API type 'ip_route'.
313 type IPRoute struct {
317 NPaths uint8 `struc:"sizeof=Paths"`
321 func (*IPRoute) GetTypeName() string { return "ip_route" }
323 // IPTable represents VPP binary API type 'ip_table'.
324 type IPTable struct {
327 Name string `struc:"[64]byte"`
330 func (*IPTable) GetTypeName() string { return "ip_table" }
332 // MfibPath represents VPP binary API type 'mfib_path'.
333 type MfibPath struct {
334 ItfFlags MfibItfFlags
338 func (*MfibPath) GetTypeName() string { return "mfib_path" }
340 type Mprefix = ip_types.Mprefix
342 type Prefix = ip_types.Prefix
344 type PrefixMatcher = ip_types.PrefixMatcher
346 // PuntRedirect represents VPP binary API type 'punt_redirect'.
347 type PuntRedirect struct {
348 RxSwIfIndex InterfaceIndex
349 TxSwIfIndex InterfaceIndex
353 func (*PuntRedirect) GetTypeName() string { return "punt_redirect" }
355 type AddressUnion = ip_types.AddressUnion
357 // IoamDisable represents VPP binary API message 'ioam_disable'.
358 type IoamDisable struct {
362 func (m *IoamDisable) Reset() { *m = IoamDisable{} }
363 func (*IoamDisable) GetMessageName() string { return "ioam_disable" }
364 func (*IoamDisable) GetCrcString() string { return "6b16a45e" }
365 func (*IoamDisable) GetMessageType() api.MessageType { return api.RequestMessage }
367 // IoamDisableReply represents VPP binary API message 'ioam_disable_reply'.
368 type IoamDisableReply struct {
372 func (m *IoamDisableReply) Reset() { *m = IoamDisableReply{} }
373 func (*IoamDisableReply) GetMessageName() string { return "ioam_disable_reply" }
374 func (*IoamDisableReply) GetCrcString() string { return "e8d4e804" }
375 func (*IoamDisableReply) GetMessageType() api.MessageType { return api.ReplyMessage }
377 // IoamEnable represents VPP binary API message 'ioam_enable'.
378 type IoamEnable struct {
387 func (m *IoamEnable) Reset() { *m = IoamEnable{} }
388 func (*IoamEnable) GetMessageName() string { return "ioam_enable" }
389 func (*IoamEnable) GetCrcString() string { return "51ccd868" }
390 func (*IoamEnable) GetMessageType() api.MessageType { return api.RequestMessage }
392 // IoamEnableReply represents VPP binary API message 'ioam_enable_reply'.
393 type IoamEnableReply struct {
397 func (m *IoamEnableReply) Reset() { *m = IoamEnableReply{} }
398 func (*IoamEnableReply) GetMessageName() string { return "ioam_enable_reply" }
399 func (*IoamEnableReply) GetCrcString() string { return "e8d4e804" }
400 func (*IoamEnableReply) GetMessageType() api.MessageType { return api.ReplyMessage }
402 // IPAddressDetails represents VPP binary API message 'ip_address_details'.
403 type IPAddressDetails struct {
404 SwIfIndex InterfaceIndex
405 Prefix AddressWithPrefix
408 func (m *IPAddressDetails) Reset() { *m = IPAddressDetails{} }
409 func (*IPAddressDetails) GetMessageName() string { return "ip_address_details" }
410 func (*IPAddressDetails) GetCrcString() string { return "b1199745" }
411 func (*IPAddressDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
413 // IPAddressDump represents VPP binary API message 'ip_address_dump'.
414 type IPAddressDump struct {
415 SwIfIndex InterfaceIndex
419 func (m *IPAddressDump) Reset() { *m = IPAddressDump{} }
420 func (*IPAddressDump) GetMessageName() string { return "ip_address_dump" }
421 func (*IPAddressDump) GetCrcString() string { return "2d033de4" }
422 func (*IPAddressDump) GetMessageType() api.MessageType { return api.RequestMessage }
424 // IPContainerProxyAddDel represents VPP binary API message 'ip_container_proxy_add_del'.
425 type IPContainerProxyAddDel struct {
427 SwIfIndex InterfaceIndex
431 func (m *IPContainerProxyAddDel) Reset() { *m = IPContainerProxyAddDel{} }
432 func (*IPContainerProxyAddDel) GetMessageName() string { return "ip_container_proxy_add_del" }
433 func (*IPContainerProxyAddDel) GetCrcString() string { return "91189f40" }
434 func (*IPContainerProxyAddDel) GetMessageType() api.MessageType { return api.RequestMessage }
436 // IPContainerProxyAddDelReply represents VPP binary API message 'ip_container_proxy_add_del_reply'.
437 type IPContainerProxyAddDelReply struct {
441 func (m *IPContainerProxyAddDelReply) Reset() { *m = IPContainerProxyAddDelReply{} }
442 func (*IPContainerProxyAddDelReply) GetMessageName() string {
443 return "ip_container_proxy_add_del_reply"
445 func (*IPContainerProxyAddDelReply) GetCrcString() string { return "e8d4e804" }
446 func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }
448 // IPContainerProxyDetails represents VPP binary API message 'ip_container_proxy_details'.
449 type IPContainerProxyDetails struct {
450 SwIfIndex InterfaceIndex
454 func (m *IPContainerProxyDetails) Reset() { *m = IPContainerProxyDetails{} }
455 func (*IPContainerProxyDetails) GetMessageName() string { return "ip_container_proxy_details" }
456 func (*IPContainerProxyDetails) GetCrcString() string { return "0ee460e8" }
457 func (*IPContainerProxyDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
459 // IPContainerProxyDump represents VPP binary API message 'ip_container_proxy_dump'.
460 type IPContainerProxyDump struct{}
462 func (m *IPContainerProxyDump) Reset() { *m = IPContainerProxyDump{} }
463 func (*IPContainerProxyDump) GetMessageName() string { return "ip_container_proxy_dump" }
464 func (*IPContainerProxyDump) GetCrcString() string { return "51077d14" }
465 func (*IPContainerProxyDump) GetMessageType() api.MessageType { return api.RequestMessage }
467 // IPDetails represents VPP binary API message 'ip_details'.
468 type IPDetails struct {
469 SwIfIndex InterfaceIndex
473 func (m *IPDetails) Reset() { *m = IPDetails{} }
474 func (*IPDetails) GetMessageName() string { return "ip_details" }
475 func (*IPDetails) GetCrcString() string { return "eb152d07" }
476 func (*IPDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
478 // IPDump represents VPP binary API message 'ip_dump'.
483 func (m *IPDump) Reset() { *m = IPDump{} }
484 func (*IPDump) GetMessageName() string { return "ip_dump" }
485 func (*IPDump) GetCrcString() string { return "98d231ca" }
486 func (*IPDump) GetMessageType() api.MessageType { return api.RequestMessage }
488 // IPMrouteAddDel represents VPP binary API message 'ip_mroute_add_del'.
489 type IPMrouteAddDel struct {
495 func (m *IPMrouteAddDel) Reset() { *m = IPMrouteAddDel{} }
496 func (*IPMrouteAddDel) GetMessageName() string { return "ip_mroute_add_del" }
497 func (*IPMrouteAddDel) GetCrcString() string { return "f6627d17" }
498 func (*IPMrouteAddDel) GetMessageType() api.MessageType { return api.RequestMessage }
500 // IPMrouteAddDelReply represents VPP binary API message 'ip_mroute_add_del_reply'.
501 type IPMrouteAddDelReply struct {
506 func (m *IPMrouteAddDelReply) Reset() { *m = IPMrouteAddDelReply{} }
507 func (*IPMrouteAddDelReply) GetMessageName() string { return "ip_mroute_add_del_reply" }
508 func (*IPMrouteAddDelReply) GetCrcString() string { return "1992deab" }
509 func (*IPMrouteAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }
511 // IPMrouteDetails represents VPP binary API message 'ip_mroute_details'.
512 type IPMrouteDetails struct {
516 func (m *IPMrouteDetails) Reset() { *m = IPMrouteDetails{} }
517 func (*IPMrouteDetails) GetMessageName() string { return "ip_mroute_details" }
518 func (*IPMrouteDetails) GetCrcString() string { return "c1cb4b44" }
519 func (*IPMrouteDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
521 // IPMrouteDump represents VPP binary API message 'ip_mroute_dump'.
522 type IPMrouteDump struct {
526 func (m *IPMrouteDump) Reset() { *m = IPMrouteDump{} }
527 func (*IPMrouteDump) GetMessageName() string { return "ip_mroute_dump" }
528 func (*IPMrouteDump) GetCrcString() string { return "b9d2e09e" }
529 func (*IPMrouteDump) GetMessageType() api.MessageType { return api.RequestMessage }
531 // IPMtableDetails represents VPP binary API message 'ip_mtable_details'.
532 type IPMtableDetails struct {
536 func (m *IPMtableDetails) Reset() { *m = IPMtableDetails{} }
537 func (*IPMtableDetails) GetMessageName() string { return "ip_mtable_details" }
538 func (*IPMtableDetails) GetCrcString() string { return "b9d2e09e" }
539 func (*IPMtableDetails) GetMessageType() api.MessageType { return api.RequestMessage }
541 // IPMtableDump represents VPP binary API message 'ip_mtable_dump'.
542 type IPMtableDump struct{}
544 func (m *IPMtableDump) Reset() { *m = IPMtableDump{} }
545 func (*IPMtableDump) GetMessageName() string { return "ip_mtable_dump" }
546 func (*IPMtableDump) GetCrcString() string { return "51077d14" }
547 func (*IPMtableDump) GetMessageType() api.MessageType { return api.RequestMessage }
549 // IPPuntPolice represents VPP binary API message 'ip_punt_police'.
550 type IPPuntPolice struct {
556 func (m *IPPuntPolice) Reset() { *m = IPPuntPolice{} }
557 func (*IPPuntPolice) GetMessageName() string { return "ip_punt_police" }
558 func (*IPPuntPolice) GetCrcString() string { return "db867cea" }
559 func (*IPPuntPolice) GetMessageType() api.MessageType { return api.RequestMessage }
561 // IPPuntPoliceReply represents VPP binary API message 'ip_punt_police_reply'.
562 type IPPuntPoliceReply struct {
566 func (m *IPPuntPoliceReply) Reset() { *m = IPPuntPoliceReply{} }
567 func (*IPPuntPoliceReply) GetMessageName() string { return "ip_punt_police_reply" }
568 func (*IPPuntPoliceReply) GetCrcString() string { return "e8d4e804" }
569 func (*IPPuntPoliceReply) GetMessageType() api.MessageType { return api.ReplyMessage }
571 // IPPuntRedirect represents VPP binary API message 'ip_punt_redirect'.
572 type IPPuntRedirect struct {
577 func (m *IPPuntRedirect) Reset() { *m = IPPuntRedirect{} }
578 func (*IPPuntRedirect) GetMessageName() string { return "ip_punt_redirect" }
579 func (*IPPuntRedirect) GetCrcString() string { return "a9a5592c" }
580 func (*IPPuntRedirect) GetMessageType() api.MessageType { return api.RequestMessage }
582 // IPPuntRedirectDetails represents VPP binary API message 'ip_punt_redirect_details'.
583 type IPPuntRedirectDetails struct {
587 func (m *IPPuntRedirectDetails) Reset() { *m = IPPuntRedirectDetails{} }
588 func (*IPPuntRedirectDetails) GetMessageName() string { return "ip_punt_redirect_details" }
589 func (*IPPuntRedirectDetails) GetCrcString() string { return "3924f5d3" }
590 func (*IPPuntRedirectDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
592 // IPPuntRedirectDump represents VPP binary API message 'ip_punt_redirect_dump'.
593 type IPPuntRedirectDump struct {
594 SwIfIndex InterfaceIndex
598 func (m *IPPuntRedirectDump) Reset() { *m = IPPuntRedirectDump{} }
599 func (*IPPuntRedirectDump) GetMessageName() string { return "ip_punt_redirect_dump" }
600 func (*IPPuntRedirectDump) GetCrcString() string { return "2d033de4" }
601 func (*IPPuntRedirectDump) GetMessageType() api.MessageType { return api.RequestMessage }
603 // IPPuntRedirectReply represents VPP binary API message 'ip_punt_redirect_reply'.
604 type IPPuntRedirectReply struct {
608 func (m *IPPuntRedirectReply) Reset() { *m = IPPuntRedirectReply{} }
609 func (*IPPuntRedirectReply) GetMessageName() string { return "ip_punt_redirect_reply" }
610 func (*IPPuntRedirectReply) GetCrcString() string { return "e8d4e804" }
611 func (*IPPuntRedirectReply) GetMessageType() api.MessageType { return api.ReplyMessage }
613 // IPReassemblyEnableDisable represents VPP binary API message 'ip_reassembly_enable_disable'.
614 type IPReassemblyEnableDisable struct {
615 SwIfIndex InterfaceIndex
621 func (m *IPReassemblyEnableDisable) Reset() { *m = IPReassemblyEnableDisable{} }
622 func (*IPReassemblyEnableDisable) GetMessageName() string { return "ip_reassembly_enable_disable" }
623 func (*IPReassemblyEnableDisable) GetCrcString() string { return "885c85a6" }
624 func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType { return api.RequestMessage }
626 // IPReassemblyEnableDisableReply represents VPP binary API message 'ip_reassembly_enable_disable_reply'.
627 type IPReassemblyEnableDisableReply struct {
631 func (m *IPReassemblyEnableDisableReply) Reset() { *m = IPReassemblyEnableDisableReply{} }
632 func (*IPReassemblyEnableDisableReply) GetMessageName() string {
633 return "ip_reassembly_enable_disable_reply"
635 func (*IPReassemblyEnableDisableReply) GetCrcString() string { return "e8d4e804" }
636 func (*IPReassemblyEnableDisableReply) GetMessageType() api.MessageType { return api.ReplyMessage }
638 // IPReassemblyGet represents VPP binary API message 'ip_reassembly_get'.
639 type IPReassemblyGet struct {
644 func (m *IPReassemblyGet) Reset() { *m = IPReassemblyGet{} }
645 func (*IPReassemblyGet) GetMessageName() string { return "ip_reassembly_get" }
646 func (*IPReassemblyGet) GetCrcString() string { return "ea13ff63" }
647 func (*IPReassemblyGet) GetMessageType() api.MessageType { return api.RequestMessage }
649 // IPReassemblyGetReply represents VPP binary API message 'ip_reassembly_get_reply'.
650 type IPReassemblyGetReply struct {
653 MaxReassemblies uint32
654 MaxReassemblyLength uint32
655 ExpireWalkIntervalMs uint32
659 func (m *IPReassemblyGetReply) Reset() { *m = IPReassemblyGetReply{} }
660 func (*IPReassemblyGetReply) GetMessageName() string { return "ip_reassembly_get_reply" }
661 func (*IPReassemblyGetReply) GetCrcString() string { return "d5eb8d34" }
662 func (*IPReassemblyGetReply) GetMessageType() api.MessageType { return api.ReplyMessage }
664 // IPReassemblySet represents VPP binary API message 'ip_reassembly_set'.
665 type IPReassemblySet struct {
667 MaxReassemblies uint32
668 MaxReassemblyLength uint32
669 ExpireWalkIntervalMs uint32
674 func (m *IPReassemblySet) Reset() { *m = IPReassemblySet{} }
675 func (*IPReassemblySet) GetMessageName() string { return "ip_reassembly_set" }
676 func (*IPReassemblySet) GetCrcString() string { return "16467d25" }
677 func (*IPReassemblySet) GetMessageType() api.MessageType { return api.RequestMessage }
679 // IPReassemblySetReply represents VPP binary API message 'ip_reassembly_set_reply'.
680 type IPReassemblySetReply struct {
684 func (m *IPReassemblySetReply) Reset() { *m = IPReassemblySetReply{} }
685 func (*IPReassemblySetReply) GetMessageName() string { return "ip_reassembly_set_reply" }
686 func (*IPReassemblySetReply) GetCrcString() string { return "e8d4e804" }
687 func (*IPReassemblySetReply) GetMessageType() api.MessageType { return api.ReplyMessage }
689 // IPRouteAddDel represents VPP binary API message 'ip_route_add_del'.
690 type IPRouteAddDel struct {
696 func (m *IPRouteAddDel) Reset() { *m = IPRouteAddDel{} }
697 func (*IPRouteAddDel) GetMessageName() string { return "ip_route_add_del" }
698 func (*IPRouteAddDel) GetCrcString() string { return "c1ff832d" }
699 func (*IPRouteAddDel) GetMessageType() api.MessageType { return api.RequestMessage }
701 // IPRouteAddDelReply represents VPP binary API message 'ip_route_add_del_reply'.
702 type IPRouteAddDelReply struct {
707 func (m *IPRouteAddDelReply) Reset() { *m = IPRouteAddDelReply{} }
708 func (*IPRouteAddDelReply) GetMessageName() string { return "ip_route_add_del_reply" }
709 func (*IPRouteAddDelReply) GetCrcString() string { return "1992deab" }
710 func (*IPRouteAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }
712 // IPRouteDetails represents VPP binary API message 'ip_route_details'.
713 type IPRouteDetails struct {
717 func (m *IPRouteDetails) Reset() { *m = IPRouteDetails{} }
718 func (*IPRouteDetails) GetMessageName() string { return "ip_route_details" }
719 func (*IPRouteDetails) GetCrcString() string { return "d1ffaae1" }
720 func (*IPRouteDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
722 // IPRouteDump represents VPP binary API message 'ip_route_dump'.
723 type IPRouteDump struct {
727 func (m *IPRouteDump) Reset() { *m = IPRouteDump{} }
728 func (*IPRouteDump) GetMessageName() string { return "ip_route_dump" }
729 func (*IPRouteDump) GetCrcString() string { return "b9d2e09e" }
730 func (*IPRouteDump) GetMessageType() api.MessageType { return api.RequestMessage }
732 // IPSourceAndPortRangeCheckAddDel represents VPP binary API message 'ip_source_and_port_range_check_add_del'.
733 type IPSourceAndPortRangeCheckAddDel struct {
737 LowPorts []uint16 `struc:"[32]uint16"`
738 HighPorts []uint16 `struc:"[32]uint16"`
742 func (m *IPSourceAndPortRangeCheckAddDel) Reset() { *m = IPSourceAndPortRangeCheckAddDel{} }
743 func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
744 return "ip_source_and_port_range_check_add_del"
746 func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string { return "8bfc76f2" }
747 func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType { return api.RequestMessage }
749 // IPSourceAndPortRangeCheckAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
750 type IPSourceAndPortRangeCheckAddDelReply struct {
754 func (m *IPSourceAndPortRangeCheckAddDelReply) Reset() { *m = IPSourceAndPortRangeCheckAddDelReply{} }
755 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string {
756 return "ip_source_and_port_range_check_add_del_reply"
758 func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string { return "e8d4e804" }
759 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
760 return api.ReplyMessage
763 // IPSourceAndPortRangeCheckInterfaceAddDel represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
764 type IPSourceAndPortRangeCheckInterfaceAddDel struct {
766 SwIfIndex InterfaceIndex
773 func (m *IPSourceAndPortRangeCheckInterfaceAddDel) Reset() {
774 *m = IPSourceAndPortRangeCheckInterfaceAddDel{}
776 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string {
777 return "ip_source_and_port_range_check_interface_add_del"
779 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string { return "e1ba8987" }
780 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
781 return api.RequestMessage
784 // IPSourceAndPortRangeCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
785 type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
789 func (m *IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset() {
790 *m = IPSourceAndPortRangeCheckInterfaceAddDelReply{}
792 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string {
793 return "ip_source_and_port_range_check_interface_add_del_reply"
795 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string { return "e8d4e804" }
796 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
797 return api.ReplyMessage
800 // IPSourceCheckInterfaceAddDel represents VPP binary API message 'ip_source_check_interface_add_del'.
801 type IPSourceCheckInterfaceAddDel struct {
804 SwIfIndex InterfaceIndex
807 func (m *IPSourceCheckInterfaceAddDel) Reset() { *m = IPSourceCheckInterfaceAddDel{} }
808 func (*IPSourceCheckInterfaceAddDel) GetMessageName() string {
809 return "ip_source_check_interface_add_del"
811 func (*IPSourceCheckInterfaceAddDel) GetCrcString() string { return "6612356b" }
812 func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType { return api.RequestMessage }
814 // IPSourceCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_check_interface_add_del_reply'.
815 type IPSourceCheckInterfaceAddDelReply struct {
819 func (m *IPSourceCheckInterfaceAddDelReply) Reset() { *m = IPSourceCheckInterfaceAddDelReply{} }
820 func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string {
821 return "ip_source_check_interface_add_del_reply"
823 func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string { return "e8d4e804" }
824 func (*IPSourceCheckInterfaceAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }
826 // IPTableAddDel represents VPP binary API message 'ip_table_add_del'.
827 type IPTableAddDel struct {
832 func (m *IPTableAddDel) Reset() { *m = IPTableAddDel{} }
833 func (*IPTableAddDel) GetMessageName() string { return "ip_table_add_del" }
834 func (*IPTableAddDel) GetCrcString() string { return "0ffdaec0" }
835 func (*IPTableAddDel) GetMessageType() api.MessageType { return api.RequestMessage }
837 // IPTableAddDelReply represents VPP binary API message 'ip_table_add_del_reply'.
838 type IPTableAddDelReply struct {
842 func (m *IPTableAddDelReply) Reset() { *m = IPTableAddDelReply{} }
843 func (*IPTableAddDelReply) GetMessageName() string { return "ip_table_add_del_reply" }
844 func (*IPTableAddDelReply) GetCrcString() string { return "e8d4e804" }
845 func (*IPTableAddDelReply) GetMessageType() api.MessageType { return api.ReplyMessage }
847 // IPTableDetails represents VPP binary API message 'ip_table_details'.
848 type IPTableDetails struct {
852 func (m *IPTableDetails) Reset() { *m = IPTableDetails{} }
853 func (*IPTableDetails) GetMessageName() string { return "ip_table_details" }
854 func (*IPTableDetails) GetCrcString() string { return "c79fca0f" }
855 func (*IPTableDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
857 // IPTableDump represents VPP binary API message 'ip_table_dump'.
858 type IPTableDump struct{}
860 func (m *IPTableDump) Reset() { *m = IPTableDump{} }
861 func (*IPTableDump) GetMessageName() string { return "ip_table_dump" }
862 func (*IPTableDump) GetCrcString() string { return "51077d14" }
863 func (*IPTableDump) GetMessageType() api.MessageType { return api.RequestMessage }
865 // IPTableFlush represents VPP binary API message 'ip_table_flush'.
866 type IPTableFlush struct {
870 func (m *IPTableFlush) Reset() { *m = IPTableFlush{} }
871 func (*IPTableFlush) GetMessageName() string { return "ip_table_flush" }
872 func (*IPTableFlush) GetCrcString() string { return "b9d2e09e" }
873 func (*IPTableFlush) GetMessageType() api.MessageType { return api.RequestMessage }
875 // IPTableFlushReply represents VPP binary API message 'ip_table_flush_reply'.
876 type IPTableFlushReply struct {
880 func (m *IPTableFlushReply) Reset() { *m = IPTableFlushReply{} }
881 func (*IPTableFlushReply) GetMessageName() string { return "ip_table_flush_reply" }
882 func (*IPTableFlushReply) GetCrcString() string { return "e8d4e804" }
883 func (*IPTableFlushReply) GetMessageType() api.MessageType { return api.ReplyMessage }
885 // IPTableReplaceBegin represents VPP binary API message 'ip_table_replace_begin'.
886 type IPTableReplaceBegin struct {
890 func (m *IPTableReplaceBegin) Reset() { *m = IPTableReplaceBegin{} }
891 func (*IPTableReplaceBegin) GetMessageName() string { return "ip_table_replace_begin" }
892 func (*IPTableReplaceBegin) GetCrcString() string { return "b9d2e09e" }
893 func (*IPTableReplaceBegin) GetMessageType() api.MessageType { return api.RequestMessage }
895 // IPTableReplaceBeginReply represents VPP binary API message 'ip_table_replace_begin_reply'.
896 type IPTableReplaceBeginReply struct {
900 func (m *IPTableReplaceBeginReply) Reset() { *m = IPTableReplaceBeginReply{} }
901 func (*IPTableReplaceBeginReply) GetMessageName() string { return "ip_table_replace_begin_reply" }
902 func (*IPTableReplaceBeginReply) GetCrcString() string { return "e8d4e804" }
903 func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType { return api.ReplyMessage }
905 // IPTableReplaceEnd represents VPP binary API message 'ip_table_replace_end'.
906 type IPTableReplaceEnd struct {
910 func (m *IPTableReplaceEnd) Reset() { *m = IPTableReplaceEnd{} }
911 func (*IPTableReplaceEnd) GetMessageName() string { return "ip_table_replace_end" }
912 func (*IPTableReplaceEnd) GetCrcString() string { return "b9d2e09e" }
913 func (*IPTableReplaceEnd) GetMessageType() api.MessageType { return api.RequestMessage }
915 // IPTableReplaceEndReply represents VPP binary API message 'ip_table_replace_end_reply'.
916 type IPTableReplaceEndReply struct {
920 func (m *IPTableReplaceEndReply) Reset() { *m = IPTableReplaceEndReply{} }
921 func (*IPTableReplaceEndReply) GetMessageName() string { return "ip_table_replace_end_reply" }
922 func (*IPTableReplaceEndReply) GetCrcString() string { return "e8d4e804" }
923 func (*IPTableReplaceEndReply) GetMessageType() api.MessageType { return api.ReplyMessage }
925 // IPUnnumberedDetails represents VPP binary API message 'ip_unnumbered_details'.
926 type IPUnnumberedDetails struct {
927 SwIfIndex InterfaceIndex
928 IPSwIfIndex InterfaceIndex
931 func (m *IPUnnumberedDetails) Reset() { *m = IPUnnumberedDetails{} }
932 func (*IPUnnumberedDetails) GetMessageName() string { return "ip_unnumbered_details" }
933 func (*IPUnnumberedDetails) GetCrcString() string { return "aa12a483" }
934 func (*IPUnnumberedDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
936 // IPUnnumberedDump represents VPP binary API message 'ip_unnumbered_dump'.
937 type IPUnnumberedDump struct {
938 SwIfIndex InterfaceIndex
941 func (m *IPUnnumberedDump) Reset() { *m = IPUnnumberedDump{} }
942 func (*IPUnnumberedDump) GetMessageName() string { return "ip_unnumbered_dump" }
943 func (*IPUnnumberedDump) GetCrcString() string { return "f9e6675e" }
944 func (*IPUnnumberedDump) GetMessageType() api.MessageType { return api.RequestMessage }
946 // MfibSignalDetails represents VPP binary API message 'mfib_signal_details'.
947 type MfibSignalDetails struct {
948 SwIfIndex InterfaceIndex
952 IPPacketData []byte `struc:"[256]byte"`
955 func (m *MfibSignalDetails) Reset() { *m = MfibSignalDetails{} }
956 func (*MfibSignalDetails) GetMessageName() string { return "mfib_signal_details" }
957 func (*MfibSignalDetails) GetCrcString() string { return "64398a9a" }
958 func (*MfibSignalDetails) GetMessageType() api.MessageType { return api.ReplyMessage }
960 // MfibSignalDump represents VPP binary API message 'mfib_signal_dump'.
961 type MfibSignalDump struct{}
963 func (m *MfibSignalDump) Reset() { *m = MfibSignalDump{} }
964 func (*MfibSignalDump) GetMessageName() string { return "mfib_signal_dump" }
965 func (*MfibSignalDump) GetCrcString() string { return "51077d14" }
966 func (*MfibSignalDump) GetMessageType() api.MessageType { return api.RequestMessage }
968 // SetIPFlowHash represents VPP binary API message 'set_ip_flow_hash'.
969 type SetIPFlowHash struct {
981 func (m *SetIPFlowHash) Reset() { *m = SetIPFlowHash{} }
982 func (*SetIPFlowHash) GetMessageName() string { return "set_ip_flow_hash" }
983 func (*SetIPFlowHash) GetCrcString() string { return "084ee09e" }
984 func (*SetIPFlowHash) GetMessageType() api.MessageType { return api.RequestMessage }
986 // SetIPFlowHashReply represents VPP binary API message 'set_ip_flow_hash_reply'.
987 type SetIPFlowHashReply struct {
991 func (m *SetIPFlowHashReply) Reset() { *m = SetIPFlowHashReply{} }
992 func (*SetIPFlowHashReply) GetMessageName() string { return "set_ip_flow_hash_reply" }
993 func (*SetIPFlowHashReply) GetCrcString() string { return "e8d4e804" }
994 func (*SetIPFlowHashReply) GetMessageType() api.MessageType { return api.ReplyMessage }
996 // SwInterfaceIP6EnableDisable represents VPP binary API message 'sw_interface_ip6_enable_disable'.
997 type SwInterfaceIP6EnableDisable struct {
998 SwIfIndex InterfaceIndex
1002 func (m *SwInterfaceIP6EnableDisable) Reset() { *m = SwInterfaceIP6EnableDisable{} }
1003 func (*SwInterfaceIP6EnableDisable) GetMessageName() string { return "sw_interface_ip6_enable_disable" }
1004 func (*SwInterfaceIP6EnableDisable) GetCrcString() string { return "ae6cfcfb" }
1005 func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType { return api.RequestMessage }
1007 // SwInterfaceIP6EnableDisableReply represents VPP binary API message 'sw_interface_ip6_enable_disable_reply'.
1008 type SwInterfaceIP6EnableDisableReply struct {
1012 func (m *SwInterfaceIP6EnableDisableReply) Reset() { *m = SwInterfaceIP6EnableDisableReply{} }
1013 func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string {
1014 return "sw_interface_ip6_enable_disable_reply"
1016 func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string { return "e8d4e804" }
1017 func (*SwInterfaceIP6EnableDisableReply) GetMessageType() api.MessageType { return api.ReplyMessage }
1019 // SwInterfaceIP6SetLinkLocalAddress represents VPP binary API message 'sw_interface_ip6_set_link_local_address'.
1020 type SwInterfaceIP6SetLinkLocalAddress struct {
1021 SwIfIndex InterfaceIndex
1025 func (m *SwInterfaceIP6SetLinkLocalAddress) Reset() { *m = SwInterfaceIP6SetLinkLocalAddress{} }
1026 func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string {
1027 return "sw_interface_ip6_set_link_local_address"
1029 func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string { return "2931d9fa" }
1030 func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType() api.MessageType { return api.RequestMessage }
1032 // SwInterfaceIP6SetLinkLocalAddressReply represents VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'.
1033 type SwInterfaceIP6SetLinkLocalAddressReply struct {
1037 func (m *SwInterfaceIP6SetLinkLocalAddressReply) Reset() {
1038 *m = SwInterfaceIP6SetLinkLocalAddressReply{}
1040 func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName() string {
1041 return "sw_interface_ip6_set_link_local_address_reply"
1043 func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString() string { return "e8d4e804" }
1044 func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType {
1045 return api.ReplyMessage
1049 api.RegisterMessage((*IoamDisable)(nil), "ip.IoamDisable")
1050 api.RegisterMessage((*IoamDisableReply)(nil), "ip.IoamDisableReply")
1051 api.RegisterMessage((*IoamEnable)(nil), "ip.IoamEnable")
1052 api.RegisterMessage((*IoamEnableReply)(nil), "ip.IoamEnableReply")
1053 api.RegisterMessage((*IPAddressDetails)(nil), "ip.IPAddressDetails")
1054 api.RegisterMessage((*IPAddressDump)(nil), "ip.IPAddressDump")
1055 api.RegisterMessage((*IPContainerProxyAddDel)(nil), "ip.IPContainerProxyAddDel")
1056 api.RegisterMessage((*IPContainerProxyAddDelReply)(nil), "ip.IPContainerProxyAddDelReply")
1057 api.RegisterMessage((*IPContainerProxyDetails)(nil), "ip.IPContainerProxyDetails")
1058 api.RegisterMessage((*IPContainerProxyDump)(nil), "ip.IPContainerProxyDump")
1059 api.RegisterMessage((*IPDetails)(nil), "ip.IPDetails")
1060 api.RegisterMessage((*IPDump)(nil), "ip.IPDump")
1061 api.RegisterMessage((*IPMrouteAddDel)(nil), "ip.IPMrouteAddDel")
1062 api.RegisterMessage((*IPMrouteAddDelReply)(nil), "ip.IPMrouteAddDelReply")
1063 api.RegisterMessage((*IPMrouteDetails)(nil), "ip.IPMrouteDetails")
1064 api.RegisterMessage((*IPMrouteDump)(nil), "ip.IPMrouteDump")
1065 api.RegisterMessage((*IPMtableDetails)(nil), "ip.IPMtableDetails")
1066 api.RegisterMessage((*IPMtableDump)(nil), "ip.IPMtableDump")
1067 api.RegisterMessage((*IPPuntPolice)(nil), "ip.IPPuntPolice")
1068 api.RegisterMessage((*IPPuntPoliceReply)(nil), "ip.IPPuntPoliceReply")
1069 api.RegisterMessage((*IPPuntRedirect)(nil), "ip.IPPuntRedirect")
1070 api.RegisterMessage((*IPPuntRedirectDetails)(nil), "ip.IPPuntRedirectDetails")
1071 api.RegisterMessage((*IPPuntRedirectDump)(nil), "ip.IPPuntRedirectDump")
1072 api.RegisterMessage((*IPPuntRedirectReply)(nil), "ip.IPPuntRedirectReply")
1073 api.RegisterMessage((*IPReassemblyEnableDisable)(nil), "ip.IPReassemblyEnableDisable")
1074 api.RegisterMessage((*IPReassemblyEnableDisableReply)(nil), "ip.IPReassemblyEnableDisableReply")
1075 api.RegisterMessage((*IPReassemblyGet)(nil), "ip.IPReassemblyGet")
1076 api.RegisterMessage((*IPReassemblyGetReply)(nil), "ip.IPReassemblyGetReply")
1077 api.RegisterMessage((*IPReassemblySet)(nil), "ip.IPReassemblySet")
1078 api.RegisterMessage((*IPReassemblySetReply)(nil), "ip.IPReassemblySetReply")
1079 api.RegisterMessage((*IPRouteAddDel)(nil), "ip.IPRouteAddDel")
1080 api.RegisterMessage((*IPRouteAddDelReply)(nil), "ip.IPRouteAddDelReply")
1081 api.RegisterMessage((*IPRouteDetails)(nil), "ip.IPRouteDetails")
1082 api.RegisterMessage((*IPRouteDump)(nil), "ip.IPRouteDump")
1083 api.RegisterMessage((*IPSourceAndPortRangeCheckAddDel)(nil), "ip.IPSourceAndPortRangeCheckAddDel")
1084 api.RegisterMessage((*IPSourceAndPortRangeCheckAddDelReply)(nil), "ip.IPSourceAndPortRangeCheckAddDelReply")
1085 api.RegisterMessage((*IPSourceAndPortRangeCheckInterfaceAddDel)(nil), "ip.IPSourceAndPortRangeCheckInterfaceAddDel")
1086 api.RegisterMessage((*IPSourceAndPortRangeCheckInterfaceAddDelReply)(nil), "ip.IPSourceAndPortRangeCheckInterfaceAddDelReply")
1087 api.RegisterMessage((*IPSourceCheckInterfaceAddDel)(nil), "ip.IPSourceCheckInterfaceAddDel")
1088 api.RegisterMessage((*IPSourceCheckInterfaceAddDelReply)(nil), "ip.IPSourceCheckInterfaceAddDelReply")
1089 api.RegisterMessage((*IPTableAddDel)(nil), "ip.IPTableAddDel")
1090 api.RegisterMessage((*IPTableAddDelReply)(nil), "ip.IPTableAddDelReply")
1091 api.RegisterMessage((*IPTableDetails)(nil), "ip.IPTableDetails")
1092 api.RegisterMessage((*IPTableDump)(nil), "ip.IPTableDump")
1093 api.RegisterMessage((*IPTableFlush)(nil), "ip.IPTableFlush")
1094 api.RegisterMessage((*IPTableFlushReply)(nil), "ip.IPTableFlushReply")
1095 api.RegisterMessage((*IPTableReplaceBegin)(nil), "ip.IPTableReplaceBegin")
1096 api.RegisterMessage((*IPTableReplaceBeginReply)(nil), "ip.IPTableReplaceBeginReply")
1097 api.RegisterMessage((*IPTableReplaceEnd)(nil), "ip.IPTableReplaceEnd")
1098 api.RegisterMessage((*IPTableReplaceEndReply)(nil), "ip.IPTableReplaceEndReply")
1099 api.RegisterMessage((*IPUnnumberedDetails)(nil), "ip.IPUnnumberedDetails")
1100 api.RegisterMessage((*IPUnnumberedDump)(nil), "ip.IPUnnumberedDump")
1101 api.RegisterMessage((*MfibSignalDetails)(nil), "ip.MfibSignalDetails")
1102 api.RegisterMessage((*MfibSignalDump)(nil), "ip.MfibSignalDump")
1103 api.RegisterMessage((*SetIPFlowHash)(nil), "ip.SetIPFlowHash")
1104 api.RegisterMessage((*SetIPFlowHashReply)(nil), "ip.SetIPFlowHashReply")
1105 api.RegisterMessage((*SwInterfaceIP6EnableDisable)(nil), "ip.SwInterfaceIP6EnableDisable")
1106 api.RegisterMessage((*SwInterfaceIP6EnableDisableReply)(nil), "ip.SwInterfaceIP6EnableDisableReply")
1107 api.RegisterMessage((*SwInterfaceIP6SetLinkLocalAddress)(nil), "ip.SwInterfaceIP6SetLinkLocalAddress")
1108 api.RegisterMessage((*SwInterfaceIP6SetLinkLocalAddressReply)(nil), "ip.SwInterfaceIP6SetLinkLocalAddressReply")
1111 // Messages returns list of all messages in this module.
1112 func AllMessages() []api.Message {
1113 return []api.Message{
1114 (*IoamDisable)(nil),
1115 (*IoamDisableReply)(nil),
1117 (*IoamEnableReply)(nil),
1118 (*IPAddressDetails)(nil),
1119 (*IPAddressDump)(nil),
1120 (*IPContainerProxyAddDel)(nil),
1121 (*IPContainerProxyAddDelReply)(nil),
1122 (*IPContainerProxyDetails)(nil),
1123 (*IPContainerProxyDump)(nil),
1126 (*IPMrouteAddDel)(nil),
1127 (*IPMrouteAddDelReply)(nil),
1128 (*IPMrouteDetails)(nil),
1129 (*IPMrouteDump)(nil),
1130 (*IPMtableDetails)(nil),
1131 (*IPMtableDump)(nil),
1132 (*IPPuntPolice)(nil),
1133 (*IPPuntPoliceReply)(nil),
1134 (*IPPuntRedirect)(nil),
1135 (*IPPuntRedirectDetails)(nil),
1136 (*IPPuntRedirectDump)(nil),
1137 (*IPPuntRedirectReply)(nil),
1138 (*IPReassemblyEnableDisable)(nil),
1139 (*IPReassemblyEnableDisableReply)(nil),
1140 (*IPReassemblyGet)(nil),
1141 (*IPReassemblyGetReply)(nil),
1142 (*IPReassemblySet)(nil),
1143 (*IPReassemblySetReply)(nil),
1144 (*IPRouteAddDel)(nil),
1145 (*IPRouteAddDelReply)(nil),
1146 (*IPRouteDetails)(nil),
1147 (*IPRouteDump)(nil),
1148 (*IPSourceAndPortRangeCheckAddDel)(nil),
1149 (*IPSourceAndPortRangeCheckAddDelReply)(nil),
1150 (*IPSourceAndPortRangeCheckInterfaceAddDel)(nil),
1151 (*IPSourceAndPortRangeCheckInterfaceAddDelReply)(nil),
1152 (*IPSourceCheckInterfaceAddDel)(nil),
1153 (*IPSourceCheckInterfaceAddDelReply)(nil),
1154 (*IPTableAddDel)(nil),
1155 (*IPTableAddDelReply)(nil),
1156 (*IPTableDetails)(nil),
1157 (*IPTableDump)(nil),
1158 (*IPTableFlush)(nil),
1159 (*IPTableFlushReply)(nil),
1160 (*IPTableReplaceBegin)(nil),
1161 (*IPTableReplaceBeginReply)(nil),
1162 (*IPTableReplaceEnd)(nil),
1163 (*IPTableReplaceEndReply)(nil),
1164 (*IPUnnumberedDetails)(nil),
1165 (*IPUnnumberedDump)(nil),
1166 (*MfibSignalDetails)(nil),
1167 (*MfibSignalDump)(nil),
1168 (*SetIPFlowHash)(nil),
1169 (*SetIPFlowHashReply)(nil),
1170 (*SwInterfaceIP6EnableDisable)(nil),
1171 (*SwInterfaceIP6EnableDisableReply)(nil),
1172 (*SwInterfaceIP6SetLinkLocalAddress)(nil),
1173 (*SwInterfaceIP6SetLinkLocalAddressReply)(nil),
1177 // RPCService represents RPC service API for ip module.
1178 type RPCService interface {
1179 DumpIPAddress(ctx context.Context, in *IPAddressDump) (RPCService_DumpIPAddressClient, error)
1180 DumpIPContainerProxy(ctx context.Context, in *IPContainerProxyDump) (RPCService_DumpIPContainerProxyClient, error)
1181 DumpIP(ctx context.Context, in *IPDump) (RPCService_DumpIPClient, error)
1182 DumpIPMroute(ctx context.Context, in *IPMrouteDump) (RPCService_DumpIPMrouteClient, error)
1183 DumpIPMtable(ctx context.Context, in *IPMtableDump) (RPCService_DumpIPMtableClient, error)
1184 DumpIPPuntRedirect(ctx context.Context, in *IPPuntRedirectDump) (RPCService_DumpIPPuntRedirectClient, error)
1185 DumpIPRoute(ctx context.Context, in *IPRouteDump) (RPCService_DumpIPRouteClient, error)
1186 DumpIPTable(ctx context.Context, in *IPTableDump) (RPCService_DumpIPTableClient, error)
1187 DumpIPUnnumbered(ctx context.Context, in *IPUnnumberedDump) (RPCService_DumpIPUnnumberedClient, error)
1188 DumpMfibSignal(ctx context.Context, in *MfibSignalDump) (RPCService_DumpMfibSignalClient, error)
1189 IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
1190 IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
1191 IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
1192 IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error)
1193 IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error)
1194 IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error)
1195 IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error)
1196 IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error)
1197 IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error)
1198 IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error)
1199 IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
1200 IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
1201 IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error)
1202 IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error)
1203 IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error)
1204 IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error)
1205 IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error)
1206 SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error)
1207 SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error)
1208 SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error)
1211 type serviceClient struct {
1215 func NewServiceClient(ch api.Channel) RPCService {
1216 return &serviceClient{ch}
1219 func (c *serviceClient) DumpIPAddress(ctx context.Context, in *IPAddressDump) (RPCService_DumpIPAddressClient, error) {
1220 stream := c.ch.SendMultiRequest(in)
1221 x := &serviceClient_DumpIPAddressClient{stream}
1225 type RPCService_DumpIPAddressClient interface {
1226 Recv() (*IPAddressDetails, error)
1229 type serviceClient_DumpIPAddressClient struct {
1233 func (c *serviceClient_DumpIPAddressClient) Recv() (*IPAddressDetails, error) {
1234 m := new(IPAddressDetails)
1235 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1245 func (c *serviceClient) DumpIPContainerProxy(ctx context.Context, in *IPContainerProxyDump) (RPCService_DumpIPContainerProxyClient, error) {
1246 stream := c.ch.SendMultiRequest(in)
1247 x := &serviceClient_DumpIPContainerProxyClient{stream}
1251 type RPCService_DumpIPContainerProxyClient interface {
1252 Recv() (*IPContainerProxyDetails, error)
1255 type serviceClient_DumpIPContainerProxyClient struct {
1259 func (c *serviceClient_DumpIPContainerProxyClient) Recv() (*IPContainerProxyDetails, error) {
1260 m := new(IPContainerProxyDetails)
1261 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1271 func (c *serviceClient) DumpIP(ctx context.Context, in *IPDump) (RPCService_DumpIPClient, error) {
1272 stream := c.ch.SendMultiRequest(in)
1273 x := &serviceClient_DumpIPClient{stream}
1277 type RPCService_DumpIPClient interface {
1278 Recv() (*IPDetails, error)
1281 type serviceClient_DumpIPClient struct {
1285 func (c *serviceClient_DumpIPClient) Recv() (*IPDetails, error) {
1287 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1297 func (c *serviceClient) DumpIPMroute(ctx context.Context, in *IPMrouteDump) (RPCService_DumpIPMrouteClient, error) {
1298 stream := c.ch.SendMultiRequest(in)
1299 x := &serviceClient_DumpIPMrouteClient{stream}
1303 type RPCService_DumpIPMrouteClient interface {
1304 Recv() (*IPMrouteDetails, error)
1307 type serviceClient_DumpIPMrouteClient struct {
1311 func (c *serviceClient_DumpIPMrouteClient) Recv() (*IPMrouteDetails, error) {
1312 m := new(IPMrouteDetails)
1313 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1323 func (c *serviceClient) DumpIPMtable(ctx context.Context, in *IPMtableDump) (RPCService_DumpIPMtableClient, error) {
1324 stream := c.ch.SendMultiRequest(in)
1325 x := &serviceClient_DumpIPMtableClient{stream}
1329 type RPCService_DumpIPMtableClient interface {
1330 Recv() (*IPMtableDetails, error)
1333 type serviceClient_DumpIPMtableClient struct {
1337 func (c *serviceClient_DumpIPMtableClient) Recv() (*IPMtableDetails, error) {
1338 m := new(IPMtableDetails)
1339 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1349 func (c *serviceClient) DumpIPPuntRedirect(ctx context.Context, in *IPPuntRedirectDump) (RPCService_DumpIPPuntRedirectClient, error) {
1350 stream := c.ch.SendMultiRequest(in)
1351 x := &serviceClient_DumpIPPuntRedirectClient{stream}
1355 type RPCService_DumpIPPuntRedirectClient interface {
1356 Recv() (*IPPuntRedirectDetails, error)
1359 type serviceClient_DumpIPPuntRedirectClient struct {
1363 func (c *serviceClient_DumpIPPuntRedirectClient) Recv() (*IPPuntRedirectDetails, error) {
1364 m := new(IPPuntRedirectDetails)
1365 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1375 func (c *serviceClient) DumpIPRoute(ctx context.Context, in *IPRouteDump) (RPCService_DumpIPRouteClient, error) {
1376 stream := c.ch.SendMultiRequest(in)
1377 x := &serviceClient_DumpIPRouteClient{stream}
1381 type RPCService_DumpIPRouteClient interface {
1382 Recv() (*IPRouteDetails, error)
1385 type serviceClient_DumpIPRouteClient struct {
1389 func (c *serviceClient_DumpIPRouteClient) Recv() (*IPRouteDetails, error) {
1390 m := new(IPRouteDetails)
1391 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1401 func (c *serviceClient) DumpIPTable(ctx context.Context, in *IPTableDump) (RPCService_DumpIPTableClient, error) {
1402 stream := c.ch.SendMultiRequest(in)
1403 x := &serviceClient_DumpIPTableClient{stream}
1407 type RPCService_DumpIPTableClient interface {
1408 Recv() (*IPTableDetails, error)
1411 type serviceClient_DumpIPTableClient struct {
1415 func (c *serviceClient_DumpIPTableClient) Recv() (*IPTableDetails, error) {
1416 m := new(IPTableDetails)
1417 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1427 func (c *serviceClient) DumpIPUnnumbered(ctx context.Context, in *IPUnnumberedDump) (RPCService_DumpIPUnnumberedClient, error) {
1428 stream := c.ch.SendMultiRequest(in)
1429 x := &serviceClient_DumpIPUnnumberedClient{stream}
1433 type RPCService_DumpIPUnnumberedClient interface {
1434 Recv() (*IPUnnumberedDetails, error)
1437 type serviceClient_DumpIPUnnumberedClient struct {
1441 func (c *serviceClient_DumpIPUnnumberedClient) Recv() (*IPUnnumberedDetails, error) {
1442 m := new(IPUnnumberedDetails)
1443 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1453 func (c *serviceClient) DumpMfibSignal(ctx context.Context, in *MfibSignalDump) (RPCService_DumpMfibSignalClient, error) {
1454 stream := c.ch.SendMultiRequest(in)
1455 x := &serviceClient_DumpMfibSignalClient{stream}
1459 type RPCService_DumpMfibSignalClient interface {
1460 Recv() (*MfibSignalDetails, error)
1463 type serviceClient_DumpMfibSignalClient struct {
1467 func (c *serviceClient_DumpMfibSignalClient) Recv() (*MfibSignalDetails, error) {
1468 m := new(MfibSignalDetails)
1469 stop, err := c.MultiRequestCtx.ReceiveReply(m)
1479 func (c *serviceClient) IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error) {
1480 out := new(IoamDisableReply)
1481 err := c.ch.SendRequest(in).ReceiveReply(out)
1488 func (c *serviceClient) IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error) {
1489 out := new(IoamEnableReply)
1490 err := c.ch.SendRequest(in).ReceiveReply(out)
1497 func (c *serviceClient) IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error) {
1498 out := new(IPContainerProxyAddDelReply)
1499 err := c.ch.SendRequest(in).ReceiveReply(out)
1506 func (c *serviceClient) IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error) {
1507 out := new(IPMrouteAddDelReply)
1508 err := c.ch.SendRequest(in).ReceiveReply(out)
1515 func (c *serviceClient) IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error) {
1516 out := new(IPPuntPoliceReply)
1517 err := c.ch.SendRequest(in).ReceiveReply(out)
1524 func (c *serviceClient) IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error) {
1525 out := new(IPPuntRedirectReply)
1526 err := c.ch.SendRequest(in).ReceiveReply(out)
1533 func (c *serviceClient) IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error) {
1534 out := new(IPReassemblyEnableDisableReply)
1535 err := c.ch.SendRequest(in).ReceiveReply(out)
1542 func (c *serviceClient) IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error) {
1543 out := new(IPReassemblyGetReply)
1544 err := c.ch.SendRequest(in).ReceiveReply(out)
1551 func (c *serviceClient) IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error) {
1552 out := new(IPReassemblySetReply)
1553 err := c.ch.SendRequest(in).ReceiveReply(out)
1560 func (c *serviceClient) IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error) {
1561 out := new(IPRouteAddDelReply)
1562 err := c.ch.SendRequest(in).ReceiveReply(out)
1569 func (c *serviceClient) IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error) {
1570 out := new(IPSourceAndPortRangeCheckAddDelReply)
1571 err := c.ch.SendRequest(in).ReceiveReply(out)
1578 func (c *serviceClient) IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error) {
1579 out := new(IPSourceAndPortRangeCheckInterfaceAddDelReply)
1580 err := c.ch.SendRequest(in).ReceiveReply(out)
1587 func (c *serviceClient) IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error) {
1588 out := new(IPSourceCheckInterfaceAddDelReply)
1589 err := c.ch.SendRequest(in).ReceiveReply(out)
1596 func (c *serviceClient) IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error) {
1597 out := new(IPTableAddDelReply)
1598 err := c.ch.SendRequest(in).ReceiveReply(out)
1605 func (c *serviceClient) IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error) {
1606 out := new(IPTableFlushReply)
1607 err := c.ch.SendRequest(in).ReceiveReply(out)
1614 func (c *serviceClient) IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error) {
1615 out := new(IPTableReplaceBeginReply)
1616 err := c.ch.SendRequest(in).ReceiveReply(out)
1623 func (c *serviceClient) IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, error) {
1624 out := new(IPTableReplaceEndReply)
1625 err := c.ch.SendRequest(in).ReceiveReply(out)
1632 func (c *serviceClient) SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error) {
1633 out := new(SetIPFlowHashReply)
1634 err := c.ch.SendRequest(in).ReceiveReply(out)
1641 func (c *serviceClient) SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error) {
1642 out := new(SwInterfaceIP6EnableDisableReply)
1643 err := c.ch.SendRequest(in).ReceiveReply(out)
1650 func (c *serviceClient) SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error) {
1651 out := new(SwInterfaceIP6SetLinkLocalAddressReply)
1652 err := c.ch.SendRequest(in).ReceiveReply(out)
1659 // This is a compile-time assertion to ensure that this generated file
1660 // is compatible with the GoVPP api package it is being compiled against.
1661 // A compilation error at this line likely means your copy of the
1662 // GoVPP api package needs to be updated.
1663 const _ = api.GoVppAPIPackageIsVersion1 // please upgrade the GoVPP api package
1665 // Reference imports to suppress errors if they are not otherwise used.
1666 var _ = api.RegisterMessage
1667 var _ = bytes.NewBuffer
1668 var _ = context.Background
1670 var _ = strconv.Itoa