initial commit
[govpp.git] / core / bin_api / vpe / vpe.go
1 // Package vpe represents the VPP binary API of the 'vpe' VPP module.
2 // DO NOT EDIT. Generated from '/usr/share/vpp/api/vpe.api.json' on Thu, 27 Apr 2017 11:34:11 CEST.
3 package vpe
4
5 import "gerrit.fd.io/r/govpp/api"
6
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0xd3bcc288
9
10 // IP4FibCounter represents the VPP binary API data type 'ip4_fib_counter'.
11 // Generated from '/usr/share/vpp/api/vpe.api.json', line 3:
12 //
13 //        ["ip4_fib_counter",
14 //            ["u32", "address"],
15 //            ["u8", "address_length"],
16 //            ["u64", "packets"],
17 //            ["u64", "bytes"],
18 //            {"crc" : "0xb2739495"}
19 //        ],
20 //
21 type IP4FibCounter struct {
22         Address       uint32
23         AddressLength uint8
24         Packets       uint64
25         Bytes         uint64
26 }
27
28 func (*IP4FibCounter) GetTypeName() string {
29         return "ip4_fib_counter"
30 }
31 func (*IP4FibCounter) GetCrcString() string {
32         return "b2739495"
33 }
34
35 // IP4NbrCounter represents the VPP binary API data type 'ip4_nbr_counter'.
36 // Generated from '/usr/share/vpp/api/vpe.api.json', line 10:
37 //
38 //        ["ip4_nbr_counter",
39 //            ["u32", "address"],
40 //            ["u8", "link_type"],
41 //            ["u64", "packets"],
42 //            ["u64", "bytes"],
43 //            {"crc" : "0x487e2e85"}
44 //        ],
45 //
46 type IP4NbrCounter struct {
47         Address  uint32
48         LinkType uint8
49         Packets  uint64
50         Bytes    uint64
51 }
52
53 func (*IP4NbrCounter) GetTypeName() string {
54         return "ip4_nbr_counter"
55 }
56 func (*IP4NbrCounter) GetCrcString() string {
57         return "487e2e85"
58 }
59
60 // IP6FibCounter represents the VPP binary API data type 'ip6_fib_counter'.
61 // Generated from '/usr/share/vpp/api/vpe.api.json', line 17:
62 //
63 //        ["ip6_fib_counter",
64 //            ["u64", "address", 2],
65 //            ["u8", "address_length"],
66 //            ["u64", "packets"],
67 //            ["u64", "bytes"],
68 //            {"crc" : "0xcf35769b"}
69 //        ],
70 //
71 type IP6FibCounter struct {
72         Address       []uint64 `struc:"[2]uint64"`
73         AddressLength uint8
74         Packets       uint64
75         Bytes         uint64
76 }
77
78 func (*IP6FibCounter) GetTypeName() string {
79         return "ip6_fib_counter"
80 }
81 func (*IP6FibCounter) GetCrcString() string {
82         return "cf35769b"
83 }
84
85 // IP6NbrCounter represents the VPP binary API data type 'ip6_nbr_counter'.
86 // Generated from '/usr/share/vpp/api/vpe.api.json', line 24:
87 //
88 //        ["ip6_nbr_counter",
89 //            ["u64", "address", 2],
90 //            ["u8", "link_type"],
91 //            ["u64", "packets"],
92 //            ["u64", "bytes"],
93 //            {"crc" : "0xefca741e"}
94 //        ]
95 //
96 type IP6NbrCounter struct {
97         Address  []uint64 `struc:"[2]uint64"`
98         LinkType uint8
99         Packets  uint64
100         Bytes    uint64
101 }
102
103 func (*IP6NbrCounter) GetTypeName() string {
104         return "ip6_nbr_counter"
105 }
106 func (*IP6NbrCounter) GetCrcString() string {
107         return "efca741e"
108 }
109
110 // CreateVlanSubif represents the VPP binary API message 'create_vlan_subif'.
111 // Generated from '/usr/share/vpp/api/vpe.api.json', line 33:
112 //
113 //        ["create_vlan_subif",
114 //            ["u16", "_vl_msg_id"],
115 //            ["u32", "client_index"],
116 //            ["u32", "context"],
117 //            ["u32", "sw_if_index"],
118 //            ["u32", "vlan_id"],
119 //            {"crc" : "0xaf9ae1e9"}
120 //        ],
121 //
122 type CreateVlanSubif struct {
123         SwIfIndex uint32
124         VlanID    uint32
125 }
126
127 func (*CreateVlanSubif) GetMessageName() string {
128         return "create_vlan_subif"
129 }
130 func (*CreateVlanSubif) GetMessageType() api.MessageType {
131         return api.RequestMessage
132 }
133 func (*CreateVlanSubif) GetCrcString() string {
134         return "af9ae1e9"
135 }
136 func NewCreateVlanSubif() api.Message {
137         return &CreateVlanSubif{}
138 }
139
140 // CreateVlanSubifReply represents the VPP binary API message 'create_vlan_subif_reply'.
141 // Generated from '/usr/share/vpp/api/vpe.api.json', line 41:
142 //
143 //        ["create_vlan_subif_reply",
144 //            ["u16", "_vl_msg_id"],
145 //            ["u32", "context"],
146 //            ["i32", "retval"],
147 //            ["u32", "sw_if_index"],
148 //            {"crc" : "0x8f36b888"}
149 //        ],
150 //
151 type CreateVlanSubifReply struct {
152         Retval    int32
153         SwIfIndex uint32
154 }
155
156 func (*CreateVlanSubifReply) GetMessageName() string {
157         return "create_vlan_subif_reply"
158 }
159 func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
160         return api.ReplyMessage
161 }
162 func (*CreateVlanSubifReply) GetCrcString() string {
163         return "8f36b888"
164 }
165 func NewCreateVlanSubifReply() api.Message {
166         return &CreateVlanSubifReply{}
167 }
168
169 // SwInterfaceSetMplsEnable represents the VPP binary API message 'sw_interface_set_mpls_enable'.
170 // Generated from '/usr/share/vpp/api/vpe.api.json', line 48:
171 //
172 //        ["sw_interface_set_mpls_enable",
173 //            ["u16", "_vl_msg_id"],
174 //            ["u32", "client_index"],
175 //            ["u32", "context"],
176 //            ["u32", "sw_if_index"],
177 //            ["u8", "enable"],
178 //            {"crc" : "0x37f6357e"}
179 //        ],
180 //
181 type SwInterfaceSetMplsEnable struct {
182         SwIfIndex uint32
183         Enable    uint8
184 }
185
186 func (*SwInterfaceSetMplsEnable) GetMessageName() string {
187         return "sw_interface_set_mpls_enable"
188 }
189 func (*SwInterfaceSetMplsEnable) GetMessageType() api.MessageType {
190         return api.RequestMessage
191 }
192 func (*SwInterfaceSetMplsEnable) GetCrcString() string {
193         return "37f6357e"
194 }
195 func NewSwInterfaceSetMplsEnable() api.Message {
196         return &SwInterfaceSetMplsEnable{}
197 }
198
199 // SwInterfaceSetMplsEnableReply represents the VPP binary API message 'sw_interface_set_mpls_enable_reply'.
200 // Generated from '/usr/share/vpp/api/vpe.api.json', line 56:
201 //
202 //        ["sw_interface_set_mpls_enable_reply",
203 //            ["u16", "_vl_msg_id"],
204 //            ["u32", "context"],
205 //            ["i32", "retval"],
206 //            {"crc" : "0x5ffd3ca9"}
207 //        ],
208 //
209 type SwInterfaceSetMplsEnableReply struct {
210         Retval int32
211 }
212
213 func (*SwInterfaceSetMplsEnableReply) GetMessageName() string {
214         return "sw_interface_set_mpls_enable_reply"
215 }
216 func (*SwInterfaceSetMplsEnableReply) GetMessageType() api.MessageType {
217         return api.ReplyMessage
218 }
219 func (*SwInterfaceSetMplsEnableReply) GetCrcString() string {
220         return "5ffd3ca9"
221 }
222 func NewSwInterfaceSetMplsEnableReply() api.Message {
223         return &SwInterfaceSetMplsEnableReply{}
224 }
225
226 // ProxyArpAddDel represents the VPP binary API message 'proxy_arp_add_del'.
227 // Generated from '/usr/share/vpp/api/vpe.api.json', line 62:
228 //
229 //        ["proxy_arp_add_del",
230 //            ["u16", "_vl_msg_id"],
231 //            ["u32", "client_index"],
232 //            ["u32", "context"],
233 //            ["u32", "vrf_id"],
234 //            ["u8", "is_add"],
235 //            ["u8", "low_address", 4],
236 //            ["u8", "hi_address", 4],
237 //            {"crc" : "0x4bef9951"}
238 //        ],
239 //
240 type ProxyArpAddDel struct {
241         VrfID      uint32
242         IsAdd      uint8
243         LowAddress []byte `struc:"[4]byte"`
244         HiAddress  []byte `struc:"[4]byte"`
245 }
246
247 func (*ProxyArpAddDel) GetMessageName() string {
248         return "proxy_arp_add_del"
249 }
250 func (*ProxyArpAddDel) GetMessageType() api.MessageType {
251         return api.RequestMessage
252 }
253 func (*ProxyArpAddDel) GetCrcString() string {
254         return "4bef9951"
255 }
256 func NewProxyArpAddDel() api.Message {
257         return &ProxyArpAddDel{}
258 }
259
260 // ProxyArpAddDelReply represents the VPP binary API message 'proxy_arp_add_del_reply'.
261 // Generated from '/usr/share/vpp/api/vpe.api.json', line 72:
262 //
263 //        ["proxy_arp_add_del_reply",
264 //            ["u16", "_vl_msg_id"],
265 //            ["u32", "context"],
266 //            ["i32", "retval"],
267 //            {"crc" : "0x8e2d621d"}
268 //        ],
269 //
270 type ProxyArpAddDelReply struct {
271         Retval int32
272 }
273
274 func (*ProxyArpAddDelReply) GetMessageName() string {
275         return "proxy_arp_add_del_reply"
276 }
277 func (*ProxyArpAddDelReply) GetMessageType() api.MessageType {
278         return api.ReplyMessage
279 }
280 func (*ProxyArpAddDelReply) GetCrcString() string {
281         return "8e2d621d"
282 }
283 func NewProxyArpAddDelReply() api.Message {
284         return &ProxyArpAddDelReply{}
285 }
286
287 // ProxyArpIntfcEnableDisable represents the VPP binary API message 'proxy_arp_intfc_enable_disable'.
288 // Generated from '/usr/share/vpp/api/vpe.api.json', line 78:
289 //
290 //        ["proxy_arp_intfc_enable_disable",
291 //            ["u16", "_vl_msg_id"],
292 //            ["u32", "client_index"],
293 //            ["u32", "context"],
294 //            ["u32", "sw_if_index"],
295 //            ["u8", "enable_disable"],
296 //            {"crc" : "0x3ee1998e"}
297 //        ],
298 //
299 type ProxyArpIntfcEnableDisable struct {
300         SwIfIndex     uint32
301         EnableDisable uint8
302 }
303
304 func (*ProxyArpIntfcEnableDisable) GetMessageName() string {
305         return "proxy_arp_intfc_enable_disable"
306 }
307 func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType {
308         return api.RequestMessage
309 }
310 func (*ProxyArpIntfcEnableDisable) GetCrcString() string {
311         return "3ee1998e"
312 }
313 func NewProxyArpIntfcEnableDisable() api.Message {
314         return &ProxyArpIntfcEnableDisable{}
315 }
316
317 // ProxyArpIntfcEnableDisableReply represents the VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.
318 // Generated from '/usr/share/vpp/api/vpe.api.json', line 86:
319 //
320 //        ["proxy_arp_intfc_enable_disable_reply",
321 //            ["u16", "_vl_msg_id"],
322 //            ["u32", "context"],
323 //            ["i32", "retval"],
324 //            {"crc" : "0x23d273cd"}
325 //        ],
326 //
327 type ProxyArpIntfcEnableDisableReply struct {
328         Retval int32
329 }
330
331 func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string {
332         return "proxy_arp_intfc_enable_disable_reply"
333 }
334 func (*ProxyArpIntfcEnableDisableReply) GetMessageType() api.MessageType {
335         return api.ReplyMessage
336 }
337 func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string {
338         return "23d273cd"
339 }
340 func NewProxyArpIntfcEnableDisableReply() api.Message {
341         return &ProxyArpIntfcEnableDisableReply{}
342 }
343
344 // ResetVrf represents the VPP binary API message 'reset_vrf'.
345 // Generated from '/usr/share/vpp/api/vpe.api.json', line 92:
346 //
347 //        ["reset_vrf",
348 //            ["u16", "_vl_msg_id"],
349 //            ["u32", "client_index"],
350 //            ["u32", "context"],
351 //            ["u8", "is_ipv6"],
352 //            ["u32", "vrf_id"],
353 //            {"crc" : "0xeb07deb0"}
354 //        ],
355 //
356 type ResetVrf struct {
357         IsIpv6 uint8
358         VrfID  uint32
359 }
360
361 func (*ResetVrf) GetMessageName() string {
362         return "reset_vrf"
363 }
364 func (*ResetVrf) GetMessageType() api.MessageType {
365         return api.RequestMessage
366 }
367 func (*ResetVrf) GetCrcString() string {
368         return "eb07deb0"
369 }
370 func NewResetVrf() api.Message {
371         return &ResetVrf{}
372 }
373
374 // ResetVrfReply represents the VPP binary API message 'reset_vrf_reply'.
375 // Generated from '/usr/share/vpp/api/vpe.api.json', line 100:
376 //
377 //        ["reset_vrf_reply",
378 //            ["u16", "_vl_msg_id"],
379 //            ["u32", "context"],
380 //            ["i32", "retval"],
381 //            {"crc" : "0x5f283863"}
382 //        ],
383 //
384 type ResetVrfReply struct {
385         Retval int32
386 }
387
388 func (*ResetVrfReply) GetMessageName() string {
389         return "reset_vrf_reply"
390 }
391 func (*ResetVrfReply) GetMessageType() api.MessageType {
392         return api.ReplyMessage
393 }
394 func (*ResetVrfReply) GetCrcString() string {
395         return "5f283863"
396 }
397 func NewResetVrfReply() api.Message {
398         return &ResetVrfReply{}
399 }
400
401 // IsAddressReachable represents the VPP binary API message 'is_address_reachable'.
402 // Generated from '/usr/share/vpp/api/vpe.api.json', line 106:
403 //
404 //        ["is_address_reachable",
405 //            ["u16", "_vl_msg_id"],
406 //            ["u32", "client_index"],
407 //            ["u32", "context"],
408 //            ["u32", "next_hop_sw_if_index"],
409 //            ["u8", "is_known"],
410 //            ["u8", "is_ipv6"],
411 //            ["u8", "is_error"],
412 //            ["u8", "address", 16],
413 //            {"crc" : "0xa8b6e322"}
414 //        ],
415 //
416 type IsAddressReachable struct {
417         NextHopSwIfIndex uint32
418         IsKnown          uint8
419         IsIpv6           uint8
420         IsError          uint8
421         Address          []byte `struc:"[16]byte"`
422 }
423
424 func (*IsAddressReachable) GetMessageName() string {
425         return "is_address_reachable"
426 }
427 func (*IsAddressReachable) GetMessageType() api.MessageType {
428         return api.RequestMessage
429 }
430 func (*IsAddressReachable) GetCrcString() string {
431         return "a8b6e322"
432 }
433 func NewIsAddressReachable() api.Message {
434         return &IsAddressReachable{}
435 }
436
437 // WantStats represents the VPP binary API message 'want_stats'.
438 // Generated from '/usr/share/vpp/api/vpe.api.json', line 117:
439 //
440 //        ["want_stats",
441 //            ["u16", "_vl_msg_id"],
442 //            ["u32", "client_index"],
443 //            ["u32", "context"],
444 //            ["u32", "enable_disable"],
445 //            ["u32", "pid"],
446 //            {"crc" : "0x4f2effb4"}
447 //        ],
448 //
449 type WantStats struct {
450         EnableDisable uint32
451         Pid           uint32
452 }
453
454 func (*WantStats) GetMessageName() string {
455         return "want_stats"
456 }
457 func (*WantStats) GetMessageType() api.MessageType {
458         return api.RequestMessage
459 }
460 func (*WantStats) GetCrcString() string {
461         return "4f2effb4"
462 }
463 func NewWantStats() api.Message {
464         return &WantStats{}
465 }
466
467 // WantStatsReply represents the VPP binary API message 'want_stats_reply'.
468 // Generated from '/usr/share/vpp/api/vpe.api.json', line 125:
469 //
470 //        ["want_stats_reply",
471 //            ["u16", "_vl_msg_id"],
472 //            ["u32", "context"],
473 //            ["i32", "retval"],
474 //            {"crc" : "0xb36abf5f"}
475 //        ],
476 //
477 type WantStatsReply struct {
478         Retval int32
479 }
480
481 func (*WantStatsReply) GetMessageName() string {
482         return "want_stats_reply"
483 }
484 func (*WantStatsReply) GetMessageType() api.MessageType {
485         return api.ReplyMessage
486 }
487 func (*WantStatsReply) GetCrcString() string {
488         return "b36abf5f"
489 }
490 func NewWantStatsReply() api.Message {
491         return &WantStatsReply{}
492 }
493
494 // VnetIP4FibCounters represents the VPP binary API message 'vnet_ip4_fib_counters'.
495 // Generated from '/usr/share/vpp/api/vpe.api.json', line 131:
496 //
497 //        ["vnet_ip4_fib_counters",
498 //            ["u16", "_vl_msg_id"],
499 //            ["u32", "vrf_id"],
500 //            ["u32", "count"],
501 //            ["vl_api_ip4_fib_counter_t", "c", 0, "count"],
502 //            {"crc" : "0x1ab9d6c5"}
503 //        ],
504 //
505 type VnetIP4FibCounters struct {
506         VrfID uint32
507         Count uint32 `struc:"sizeof=C"`
508         C     []IP4FibCounter
509 }
510
511 func (*VnetIP4FibCounters) GetMessageName() string {
512         return "vnet_ip4_fib_counters"
513 }
514 func (*VnetIP4FibCounters) GetMessageType() api.MessageType {
515         return api.OtherMessage
516 }
517 func (*VnetIP4FibCounters) GetCrcString() string {
518         return "1ab9d6c5"
519 }
520 func NewVnetIP4FibCounters() api.Message {
521         return &VnetIP4FibCounters{}
522 }
523
524 // VnetIP4NbrCounters represents the VPP binary API message 'vnet_ip4_nbr_counters'.
525 // Generated from '/usr/share/vpp/api/vpe.api.json', line 138:
526 //
527 //        ["vnet_ip4_nbr_counters",
528 //            ["u16", "_vl_msg_id"],
529 //            ["u32", "count"],
530 //            ["u32", "sw_if_index"],
531 //            ["u8", "begin"],
532 //            ["vl_api_ip4_nbr_counter_t", "c", 0, "count"],
533 //            {"crc" : "0xfc2b5092"}
534 //        ],
535 //
536 type VnetIP4NbrCounters struct {
537         Count     uint32 `struc:"sizeof=C"`
538         SwIfIndex uint32
539         Begin     uint8
540         C         []IP4NbrCounter
541 }
542
543 func (*VnetIP4NbrCounters) GetMessageName() string {
544         return "vnet_ip4_nbr_counters"
545 }
546 func (*VnetIP4NbrCounters) GetMessageType() api.MessageType {
547         return api.OtherMessage
548 }
549 func (*VnetIP4NbrCounters) GetCrcString() string {
550         return "fc2b5092"
551 }
552 func NewVnetIP4NbrCounters() api.Message {
553         return &VnetIP4NbrCounters{}
554 }
555
556 // VnetIP6FibCounters represents the VPP binary API message 'vnet_ip6_fib_counters'.
557 // Generated from '/usr/share/vpp/api/vpe.api.json', line 146:
558 //
559 //        ["vnet_ip6_fib_counters",
560 //            ["u16", "_vl_msg_id"],
561 //            ["u32", "vrf_id"],
562 //            ["u32", "count"],
563 //            ["vl_api_ip6_fib_counter_t", "c", 0, "count"],
564 //            {"crc" : "0x9ab453ae"}
565 //        ],
566 //
567 type VnetIP6FibCounters struct {
568         VrfID uint32
569         Count uint32 `struc:"sizeof=C"`
570         C     []IP6FibCounter
571 }
572
573 func (*VnetIP6FibCounters) GetMessageName() string {
574         return "vnet_ip6_fib_counters"
575 }
576 func (*VnetIP6FibCounters) GetMessageType() api.MessageType {
577         return api.OtherMessage
578 }
579 func (*VnetIP6FibCounters) GetCrcString() string {
580         return "9ab453ae"
581 }
582 func NewVnetIP6FibCounters() api.Message {
583         return &VnetIP6FibCounters{}
584 }
585
586 // VnetIP6NbrCounters represents the VPP binary API message 'vnet_ip6_nbr_counters'.
587 // Generated from '/usr/share/vpp/api/vpe.api.json', line 153:
588 //
589 //        ["vnet_ip6_nbr_counters",
590 //            ["u16", "_vl_msg_id"],
591 //            ["u32", "count"],
592 //            ["u32", "sw_if_index"],
593 //            ["u8", "begin"],
594 //            ["vl_api_ip6_nbr_counter_t", "c", 0, "count"],
595 //            {"crc" : "0x181b673f"}
596 //        ],
597 //
598 type VnetIP6NbrCounters struct {
599         Count     uint32 `struc:"sizeof=C"`
600         SwIfIndex uint32
601         Begin     uint8
602         C         []IP6NbrCounter
603 }
604
605 func (*VnetIP6NbrCounters) GetMessageName() string {
606         return "vnet_ip6_nbr_counters"
607 }
608 func (*VnetIP6NbrCounters) GetMessageType() api.MessageType {
609         return api.OtherMessage
610 }
611 func (*VnetIP6NbrCounters) GetCrcString() string {
612         return "181b673f"
613 }
614 func NewVnetIP6NbrCounters() api.Message {
615         return &VnetIP6NbrCounters{}
616 }
617
618 // VnetGetSummaryStats represents the VPP binary API message 'vnet_get_summary_stats'.
619 // Generated from '/usr/share/vpp/api/vpe.api.json', line 161:
620 //
621 //        ["vnet_get_summary_stats",
622 //            ["u16", "_vl_msg_id"],
623 //            ["u32", "client_index"],
624 //            ["u32", "context"],
625 //            {"crc" : "0x16435c20"}
626 //        ],
627 //
628 type VnetGetSummaryStats struct {
629 }
630
631 func (*VnetGetSummaryStats) GetMessageName() string {
632         return "vnet_get_summary_stats"
633 }
634 func (*VnetGetSummaryStats) GetMessageType() api.MessageType {
635         return api.RequestMessage
636 }
637 func (*VnetGetSummaryStats) GetCrcString() string {
638         return "16435c20"
639 }
640 func NewVnetGetSummaryStats() api.Message {
641         return &VnetGetSummaryStats{}
642 }
643
644 // VnetSummaryStatsReply represents the VPP binary API message 'vnet_summary_stats_reply'.
645 // Generated from '/usr/share/vpp/api/vpe.api.json', line 167:
646 //
647 //        ["vnet_summary_stats_reply",
648 //            ["u16", "_vl_msg_id"],
649 //            ["u32", "context"],
650 //            ["i32", "retval"],
651 //            ["u64", "total_pkts", 2],
652 //            ["u64", "total_bytes", 2],
653 //            ["f64", "vector_rate"],
654 //            {"crc" : "0x87a8fa9f"}
655 //        ],
656 //
657 type VnetSummaryStatsReply struct {
658         Retval     int32
659         TotalPkts  []uint64 `struc:"[2]uint64"`
660         TotalBytes []uint64 `struc:"[2]uint64"`
661         VectorRate float64
662 }
663
664 func (*VnetSummaryStatsReply) GetMessageName() string {
665         return "vnet_summary_stats_reply"
666 }
667 func (*VnetSummaryStatsReply) GetMessageType() api.MessageType {
668         return api.ReplyMessage
669 }
670 func (*VnetSummaryStatsReply) GetCrcString() string {
671         return "87a8fa9f"
672 }
673 func NewVnetSummaryStatsReply() api.Message {
674         return &VnetSummaryStatsReply{}
675 }
676
677 // OamEvent represents the VPP binary API message 'oam_event'.
678 // Generated from '/usr/share/vpp/api/vpe.api.json', line 176:
679 //
680 //        ["oam_event",
681 //            ["u16", "_vl_msg_id"],
682 //            ["u8", "dst_address", 4],
683 //            ["u8", "state"],
684 //            {"crc" : "0x4f285ade"}
685 //        ],
686 //
687 type OamEvent struct {
688         DstAddress []byte `struc:"[4]byte"`
689         State      uint8
690 }
691
692 func (*OamEvent) GetMessageName() string {
693         return "oam_event"
694 }
695 func (*OamEvent) GetMessageType() api.MessageType {
696         return api.OtherMessage
697 }
698 func (*OamEvent) GetCrcString() string {
699         return "4f285ade"
700 }
701 func NewOamEvent() api.Message {
702         return &OamEvent{}
703 }
704
705 // WantOamEvents represents the VPP binary API message 'want_oam_events'.
706 // Generated from '/usr/share/vpp/api/vpe.api.json', line 182:
707 //
708 //        ["want_oam_events",
709 //            ["u16", "_vl_msg_id"],
710 //            ["u32", "client_index"],
711 //            ["u32", "context"],
712 //            ["u32", "enable_disable"],
713 //            ["u32", "pid"],
714 //            {"crc" : "0x948ef12a"}
715 //        ],
716 //
717 type WantOamEvents struct {
718         EnableDisable uint32
719         Pid           uint32
720 }
721
722 func (*WantOamEvents) GetMessageName() string {
723         return "want_oam_events"
724 }
725 func (*WantOamEvents) GetMessageType() api.MessageType {
726         return api.RequestMessage
727 }
728 func (*WantOamEvents) GetCrcString() string {
729         return "948ef12a"
730 }
731 func NewWantOamEvents() api.Message {
732         return &WantOamEvents{}
733 }
734
735 // WantOamEventsReply represents the VPP binary API message 'want_oam_events_reply'.
736 // Generated from '/usr/share/vpp/api/vpe.api.json', line 190:
737 //
738 //        ["want_oam_events_reply",
739 //            ["u16", "_vl_msg_id"],
740 //            ["u32", "context"],
741 //            ["i32", "retval"],
742 //            {"crc" : "0x266a677d"}
743 //        ],
744 //
745 type WantOamEventsReply struct {
746         Retval int32
747 }
748
749 func (*WantOamEventsReply) GetMessageName() string {
750         return "want_oam_events_reply"
751 }
752 func (*WantOamEventsReply) GetMessageType() api.MessageType {
753         return api.ReplyMessage
754 }
755 func (*WantOamEventsReply) GetCrcString() string {
756         return "266a677d"
757 }
758 func NewWantOamEventsReply() api.Message {
759         return &WantOamEventsReply{}
760 }
761
762 // OamAddDel represents the VPP binary API message 'oam_add_del'.
763 // Generated from '/usr/share/vpp/api/vpe.api.json', line 196:
764 //
765 //        ["oam_add_del",
766 //            ["u16", "_vl_msg_id"],
767 //            ["u32", "client_index"],
768 //            ["u32", "context"],
769 //            ["u32", "vrf_id"],
770 //            ["u8", "src_address", 4],
771 //            ["u8", "dst_address", 4],
772 //            ["u8", "is_add"],
773 //            {"crc" : "0xb14bc7df"}
774 //        ],
775 //
776 type OamAddDel struct {
777         VrfID      uint32
778         SrcAddress []byte `struc:"[4]byte"`
779         DstAddress []byte `struc:"[4]byte"`
780         IsAdd      uint8
781 }
782
783 func (*OamAddDel) GetMessageName() string {
784         return "oam_add_del"
785 }
786 func (*OamAddDel) GetMessageType() api.MessageType {
787         return api.RequestMessage
788 }
789 func (*OamAddDel) GetCrcString() string {
790         return "b14bc7df"
791 }
792 func NewOamAddDel() api.Message {
793         return &OamAddDel{}
794 }
795
796 // OamAddDelReply represents the VPP binary API message 'oam_add_del_reply'.
797 // Generated from '/usr/share/vpp/api/vpe.api.json', line 206:
798 //
799 //        ["oam_add_del_reply",
800 //            ["u16", "_vl_msg_id"],
801 //            ["u32", "context"],
802 //            ["i32", "retval"],
803 //            {"crc" : "0xc5594eec"}
804 //        ],
805 //
806 type OamAddDelReply struct {
807         Retval int32
808 }
809
810 func (*OamAddDelReply) GetMessageName() string {
811         return "oam_add_del_reply"
812 }
813 func (*OamAddDelReply) GetMessageType() api.MessageType {
814         return api.ReplyMessage
815 }
816 func (*OamAddDelReply) GetCrcString() string {
817         return "c5594eec"
818 }
819 func NewOamAddDelReply() api.Message {
820         return &OamAddDelReply{}
821 }
822
823 // ResetFib represents the VPP binary API message 'reset_fib'.
824 // Generated from '/usr/share/vpp/api/vpe.api.json', line 212:
825 //
826 //        ["reset_fib",
827 //            ["u16", "_vl_msg_id"],
828 //            ["u32", "client_index"],
829 //            ["u32", "context"],
830 //            ["u32", "vrf_id"],
831 //            ["u8", "is_ipv6"],
832 //            {"crc" : "0x6f17106b"}
833 //        ],
834 //
835 type ResetFib struct {
836         VrfID  uint32
837         IsIpv6 uint8
838 }
839
840 func (*ResetFib) GetMessageName() string {
841         return "reset_fib"
842 }
843 func (*ResetFib) GetMessageType() api.MessageType {
844         return api.RequestMessage
845 }
846 func (*ResetFib) GetCrcString() string {
847         return "6f17106b"
848 }
849 func NewResetFib() api.Message {
850         return &ResetFib{}
851 }
852
853 // ResetFibReply represents the VPP binary API message 'reset_fib_reply'.
854 // Generated from '/usr/share/vpp/api/vpe.api.json', line 220:
855 //
856 //        ["reset_fib_reply",
857 //            ["u16", "_vl_msg_id"],
858 //            ["u32", "context"],
859 //            ["i32", "retval"],
860 //            {"crc" : "0x990dcbf8"}
861 //        ],
862 //
863 type ResetFibReply struct {
864         Retval int32
865 }
866
867 func (*ResetFibReply) GetMessageName() string {
868         return "reset_fib_reply"
869 }
870 func (*ResetFibReply) GetMessageType() api.MessageType {
871         return api.ReplyMessage
872 }
873 func (*ResetFibReply) GetCrcString() string {
874         return "990dcbf8"
875 }
876 func NewResetFibReply() api.Message {
877         return &ResetFibReply{}
878 }
879
880 // CreateLoopback represents the VPP binary API message 'create_loopback'.
881 // Generated from '/usr/share/vpp/api/vpe.api.json', line 226:
882 //
883 //        ["create_loopback",
884 //            ["u16", "_vl_msg_id"],
885 //            ["u32", "client_index"],
886 //            ["u32", "context"],
887 //            ["u8", "mac_address", 6],
888 //            {"crc" : "0xb2602de5"}
889 //        ],
890 //
891 type CreateLoopback struct {
892         MacAddress []byte `struc:"[6]byte"`
893 }
894
895 func (*CreateLoopback) GetMessageName() string {
896         return "create_loopback"
897 }
898 func (*CreateLoopback) GetMessageType() api.MessageType {
899         return api.RequestMessage
900 }
901 func (*CreateLoopback) GetCrcString() string {
902         return "b2602de5"
903 }
904 func NewCreateLoopback() api.Message {
905         return &CreateLoopback{}
906 }
907
908 // CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'.
909 // Generated from '/usr/share/vpp/api/vpe.api.json', line 233:
910 //
911 //        ["create_loopback_reply",
912 //            ["u16", "_vl_msg_id"],
913 //            ["u32", "context"],
914 //            ["i32", "retval"],
915 //            ["u32", "sw_if_index"],
916 //            {"crc" : "0x9520f804"}
917 //        ],
918 //
919 type CreateLoopbackReply struct {
920         Retval    int32
921         SwIfIndex uint32
922 }
923
924 func (*CreateLoopbackReply) GetMessageName() string {
925         return "create_loopback_reply"
926 }
927 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
928         return api.ReplyMessage
929 }
930 func (*CreateLoopbackReply) GetCrcString() string {
931         return "9520f804"
932 }
933 func NewCreateLoopbackReply() api.Message {
934         return &CreateLoopbackReply{}
935 }
936
937 // CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'.
938 // Generated from '/usr/share/vpp/api/vpe.api.json', line 240:
939 //
940 //        ["create_loopback_instance",
941 //            ["u16", "_vl_msg_id"],
942 //            ["u32", "client_index"],
943 //            ["u32", "context"],
944 //            ["u8", "mac_address", 6],
945 //            ["u8", "is_specified"],
946 //            ["u32", "user_instance"],
947 //            {"crc" : "0x967694f1"}
948 //        ],
949 //
950 type CreateLoopbackInstance struct {
951         MacAddress   []byte `struc:"[6]byte"`
952         IsSpecified  uint8
953         UserInstance uint32
954 }
955
956 func (*CreateLoopbackInstance) GetMessageName() string {
957         return "create_loopback_instance"
958 }
959 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
960         return api.RequestMessage
961 }
962 func (*CreateLoopbackInstance) GetCrcString() string {
963         return "967694f1"
964 }
965 func NewCreateLoopbackInstance() api.Message {
966         return &CreateLoopbackInstance{}
967 }
968
969 // CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'.
970 // Generated from '/usr/share/vpp/api/vpe.api.json', line 249:
971 //
972 //        ["create_loopback_instance_reply",
973 //            ["u16", "_vl_msg_id"],
974 //            ["u32", "context"],
975 //            ["i32", "retval"],
976 //            ["u32", "sw_if_index"],
977 //            {"crc" : "0xd52c63b6"}
978 //        ],
979 //
980 type CreateLoopbackInstanceReply struct {
981         Retval    int32
982         SwIfIndex uint32
983 }
984
985 func (*CreateLoopbackInstanceReply) GetMessageName() string {
986         return "create_loopback_instance_reply"
987 }
988 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
989         return api.ReplyMessage
990 }
991 func (*CreateLoopbackInstanceReply) GetCrcString() string {
992         return "d52c63b6"
993 }
994 func NewCreateLoopbackInstanceReply() api.Message {
995         return &CreateLoopbackInstanceReply{}
996 }
997
998 // DeleteLoopback represents the VPP binary API message 'delete_loopback'.
999 // Generated from '/usr/share/vpp/api/vpe.api.json', line 256:
1000 //
1001 //        ["delete_loopback",
1002 //            ["u16", "_vl_msg_id"],
1003 //            ["u32", "client_index"],
1004 //            ["u32", "context"],
1005 //            ["u32", "sw_if_index"],
1006 //            {"crc" : "0xded428b0"}
1007 //        ],
1008 //
1009 type DeleteLoopback struct {
1010         SwIfIndex uint32
1011 }
1012
1013 func (*DeleteLoopback) GetMessageName() string {
1014         return "delete_loopback"
1015 }
1016 func (*DeleteLoopback) GetMessageType() api.MessageType {
1017         return api.RequestMessage
1018 }
1019 func (*DeleteLoopback) GetCrcString() string {
1020         return "ded428b0"
1021 }
1022 func NewDeleteLoopback() api.Message {
1023         return &DeleteLoopback{}
1024 }
1025
1026 // DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'.
1027 // Generated from '/usr/share/vpp/api/vpe.api.json', line 263:
1028 //
1029 //        ["delete_loopback_reply",
1030 //            ["u16", "_vl_msg_id"],
1031 //            ["u32", "context"],
1032 //            ["i32", "retval"],
1033 //            {"crc" : "0xc91dafa5"}
1034 //        ],
1035 //
1036 type DeleteLoopbackReply struct {
1037         Retval int32
1038 }
1039
1040 func (*DeleteLoopbackReply) GetMessageName() string {
1041         return "delete_loopback_reply"
1042 }
1043 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
1044         return api.ReplyMessage
1045 }
1046 func (*DeleteLoopbackReply) GetCrcString() string {
1047         return "c91dafa5"
1048 }
1049 func NewDeleteLoopbackReply() api.Message {
1050         return &DeleteLoopbackReply{}
1051 }
1052
1053 // ControlPing represents the VPP binary API message 'control_ping'.
1054 // Generated from '/usr/share/vpp/api/vpe.api.json', line 269:
1055 //
1056 //        ["control_ping",
1057 //            ["u16", "_vl_msg_id"],
1058 //            ["u32", "client_index"],
1059 //            ["u32", "context"],
1060 //            {"crc" : "0xea1bf4f7"}
1061 //        ],
1062 //
1063 type ControlPing struct {
1064 }
1065
1066 func (*ControlPing) GetMessageName() string {
1067         return "control_ping"
1068 }
1069 func (*ControlPing) GetMessageType() api.MessageType {
1070         return api.RequestMessage
1071 }
1072 func (*ControlPing) GetCrcString() string {
1073         return "ea1bf4f7"
1074 }
1075 func NewControlPing() api.Message {
1076         return &ControlPing{}
1077 }
1078
1079 // ControlPingReply represents the VPP binary API message 'control_ping_reply'.
1080 // Generated from '/usr/share/vpp/api/vpe.api.json', line 275:
1081 //
1082 //        ["control_ping_reply",
1083 //            ["u16", "_vl_msg_id"],
1084 //            ["u32", "context"],
1085 //            ["i32", "retval"],
1086 //            ["u32", "client_index"],
1087 //            ["u32", "vpe_pid"],
1088 //            {"crc" : "0xaa016e7b"}
1089 //        ],
1090 //
1091 type ControlPingReply struct {
1092         Retval      int32
1093         ClientIndex uint32
1094         VpePid      uint32
1095 }
1096
1097 func (*ControlPingReply) GetMessageName() string {
1098         return "control_ping_reply"
1099 }
1100 func (*ControlPingReply) GetMessageType() api.MessageType {
1101         return api.ReplyMessage
1102 }
1103 func (*ControlPingReply) GetCrcString() string {
1104         return "aa016e7b"
1105 }
1106 func NewControlPingReply() api.Message {
1107         return &ControlPingReply{}
1108 }
1109
1110 // CliRequest represents the VPP binary API message 'cli_request'.
1111 // Generated from '/usr/share/vpp/api/vpe.api.json', line 283:
1112 //
1113 //        ["cli_request",
1114 //            ["u16", "_vl_msg_id"],
1115 //            ["u32", "client_index"],
1116 //            ["u32", "context"],
1117 //            ["u64", "cmd_in_shmem"],
1118 //            {"crc" : "0xfef056d0"}
1119 //        ],
1120 //
1121 type CliRequest struct {
1122         CmdInShmem uint64
1123 }
1124
1125 func (*CliRequest) GetMessageName() string {
1126         return "cli_request"
1127 }
1128 func (*CliRequest) GetMessageType() api.MessageType {
1129         return api.RequestMessage
1130 }
1131 func (*CliRequest) GetCrcString() string {
1132         return "fef056d0"
1133 }
1134 func NewCliRequest() api.Message {
1135         return &CliRequest{}
1136 }
1137
1138 // CliInband represents the VPP binary API message 'cli_inband'.
1139 // Generated from '/usr/share/vpp/api/vpe.api.json', line 290:
1140 //
1141 //        ["cli_inband",
1142 //            ["u16", "_vl_msg_id"],
1143 //            ["u32", "client_index"],
1144 //            ["u32", "context"],
1145 //            ["u32", "length"],
1146 //            ["u8", "cmd", 0, "length"],
1147 //            {"crc" : "0x22345937"}
1148 //        ],
1149 //
1150 type CliInband struct {
1151         Length uint32 `struc:"sizeof=Cmd"`
1152         Cmd    []byte
1153 }
1154
1155 func (*CliInband) GetMessageName() string {
1156         return "cli_inband"
1157 }
1158 func (*CliInband) GetMessageType() api.MessageType {
1159         return api.RequestMessage
1160 }
1161 func (*CliInband) GetCrcString() string {
1162         return "22345937"
1163 }
1164 func NewCliInband() api.Message {
1165         return &CliInband{}
1166 }
1167
1168 // CliReply represents the VPP binary API message 'cli_reply'.
1169 // Generated from '/usr/share/vpp/api/vpe.api.json', line 298:
1170 //
1171 //        ["cli_reply",
1172 //            ["u16", "_vl_msg_id"],
1173 //            ["u32", "context"],
1174 //            ["i32", "retval"],
1175 //            ["u64", "reply_in_shmem"],
1176 //            {"crc" : "0x594a0b2e"}
1177 //        ],
1178 //
1179 type CliReply struct {
1180         Retval       int32
1181         ReplyInShmem uint64
1182 }
1183
1184 func (*CliReply) GetMessageName() string {
1185         return "cli_reply"
1186 }
1187 func (*CliReply) GetMessageType() api.MessageType {
1188         return api.ReplyMessage
1189 }
1190 func (*CliReply) GetCrcString() string {
1191         return "594a0b2e"
1192 }
1193 func NewCliReply() api.Message {
1194         return &CliReply{}
1195 }
1196
1197 // CliInbandReply represents the VPP binary API message 'cli_inband_reply'.
1198 // Generated from '/usr/share/vpp/api/vpe.api.json', line 305:
1199 //
1200 //        ["cli_inband_reply",
1201 //            ["u16", "_vl_msg_id"],
1202 //            ["u32", "context"],
1203 //            ["i32", "retval"],
1204 //            ["u32", "length"],
1205 //            ["u8", "reply", 0, "length"],
1206 //            {"crc" : "0xc1835761"}
1207 //        ],
1208 //
1209 type CliInbandReply struct {
1210         Retval int32
1211         Length uint32 `struc:"sizeof=Reply"`
1212         Reply  []byte
1213 }
1214
1215 func (*CliInbandReply) GetMessageName() string {
1216         return "cli_inband_reply"
1217 }
1218 func (*CliInbandReply) GetMessageType() api.MessageType {
1219         return api.ReplyMessage
1220 }
1221 func (*CliInbandReply) GetCrcString() string {
1222         return "c1835761"
1223 }
1224 func NewCliInbandReply() api.Message {
1225         return &CliInbandReply{}
1226 }
1227
1228 // SetArpNeighborLimit represents the VPP binary API message 'set_arp_neighbor_limit'.
1229 // Generated from '/usr/share/vpp/api/vpe.api.json', line 313:
1230 //
1231 //        ["set_arp_neighbor_limit",
1232 //            ["u16", "_vl_msg_id"],
1233 //            ["u32", "client_index"],
1234 //            ["u32", "context"],
1235 //            ["u8", "is_ipv6"],
1236 //            ["u32", "arp_neighbor_limit"],
1237 //            {"crc" : "0xc1690cb4"}
1238 //        ],
1239 //
1240 type SetArpNeighborLimit struct {
1241         IsIpv6           uint8
1242         ArpNeighborLimit uint32
1243 }
1244
1245 func (*SetArpNeighborLimit) GetMessageName() string {
1246         return "set_arp_neighbor_limit"
1247 }
1248 func (*SetArpNeighborLimit) GetMessageType() api.MessageType {
1249         return api.RequestMessage
1250 }
1251 func (*SetArpNeighborLimit) GetCrcString() string {
1252         return "c1690cb4"
1253 }
1254 func NewSetArpNeighborLimit() api.Message {
1255         return &SetArpNeighborLimit{}
1256 }
1257
1258 // SetArpNeighborLimitReply represents the VPP binary API message 'set_arp_neighbor_limit_reply'.
1259 // Generated from '/usr/share/vpp/api/vpe.api.json', line 321:
1260 //
1261 //        ["set_arp_neighbor_limit_reply",
1262 //            ["u16", "_vl_msg_id"],
1263 //            ["u32", "context"],
1264 //            ["i32", "retval"],
1265 //            {"crc" : "0xa6b30518"}
1266 //        ],
1267 //
1268 type SetArpNeighborLimitReply struct {
1269         Retval int32
1270 }
1271
1272 func (*SetArpNeighborLimitReply) GetMessageName() string {
1273         return "set_arp_neighbor_limit_reply"
1274 }
1275 func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType {
1276         return api.ReplyMessage
1277 }
1278 func (*SetArpNeighborLimitReply) GetCrcString() string {
1279         return "a6b30518"
1280 }
1281 func NewSetArpNeighborLimitReply() api.Message {
1282         return &SetArpNeighborLimitReply{}
1283 }
1284
1285 // L2PatchAddDel represents the VPP binary API message 'l2_patch_add_del'.
1286 // Generated from '/usr/share/vpp/api/vpe.api.json', line 327:
1287 //
1288 //        ["l2_patch_add_del",
1289 //            ["u16", "_vl_msg_id"],
1290 //            ["u32", "client_index"],
1291 //            ["u32", "context"],
1292 //            ["u32", "rx_sw_if_index"],
1293 //            ["u32", "tx_sw_if_index"],
1294 //            ["u8", "is_add"],
1295 //            {"crc" : "0x9b10029a"}
1296 //        ],
1297 //
1298 type L2PatchAddDel struct {
1299         RxSwIfIndex uint32
1300         TxSwIfIndex uint32
1301         IsAdd       uint8
1302 }
1303
1304 func (*L2PatchAddDel) GetMessageName() string {
1305         return "l2_patch_add_del"
1306 }
1307 func (*L2PatchAddDel) GetMessageType() api.MessageType {
1308         return api.RequestMessage
1309 }
1310 func (*L2PatchAddDel) GetCrcString() string {
1311         return "9b10029a"
1312 }
1313 func NewL2PatchAddDel() api.Message {
1314         return &L2PatchAddDel{}
1315 }
1316
1317 // L2PatchAddDelReply represents the VPP binary API message 'l2_patch_add_del_reply'.
1318 // Generated from '/usr/share/vpp/api/vpe.api.json', line 336:
1319 //
1320 //        ["l2_patch_add_del_reply",
1321 //            ["u16", "_vl_msg_id"],
1322 //            ["u32", "context"],
1323 //            ["i32", "retval"],
1324 //            {"crc" : "0xa85e37be"}
1325 //        ],
1326 //
1327 type L2PatchAddDelReply struct {
1328         Retval int32
1329 }
1330
1331 func (*L2PatchAddDelReply) GetMessageName() string {
1332         return "l2_patch_add_del_reply"
1333 }
1334 func (*L2PatchAddDelReply) GetMessageType() api.MessageType {
1335         return api.ReplyMessage
1336 }
1337 func (*L2PatchAddDelReply) GetCrcString() string {
1338         return "a85e37be"
1339 }
1340 func NewL2PatchAddDelReply() api.Message {
1341         return &L2PatchAddDelReply{}
1342 }
1343
1344 // SwInterfaceSetVpath represents the VPP binary API message 'sw_interface_set_vpath'.
1345 // Generated from '/usr/share/vpp/api/vpe.api.json', line 342:
1346 //
1347 //        ["sw_interface_set_vpath",
1348 //            ["u16", "_vl_msg_id"],
1349 //            ["u32", "client_index"],
1350 //            ["u32", "context"],
1351 //            ["u32", "sw_if_index"],
1352 //            ["u8", "enable"],
1353 //            {"crc" : "0x1bc2fd5e"}
1354 //        ],
1355 //
1356 type SwInterfaceSetVpath struct {
1357         SwIfIndex uint32
1358         Enable    uint8
1359 }
1360
1361 func (*SwInterfaceSetVpath) GetMessageName() string {
1362         return "sw_interface_set_vpath"
1363 }
1364 func (*SwInterfaceSetVpath) GetMessageType() api.MessageType {
1365         return api.RequestMessage
1366 }
1367 func (*SwInterfaceSetVpath) GetCrcString() string {
1368         return "1bc2fd5e"
1369 }
1370 func NewSwInterfaceSetVpath() api.Message {
1371         return &SwInterfaceSetVpath{}
1372 }
1373
1374 // SwInterfaceSetVpathReply represents the VPP binary API message 'sw_interface_set_vpath_reply'.
1375 // Generated from '/usr/share/vpp/api/vpe.api.json', line 350:
1376 //
1377 //        ["sw_interface_set_vpath_reply",
1378 //            ["u16", "_vl_msg_id"],
1379 //            ["u32", "context"],
1380 //            ["i32", "retval"],
1381 //            {"crc" : "0x828dbe62"}
1382 //        ],
1383 //
1384 type SwInterfaceSetVpathReply struct {
1385         Retval int32
1386 }
1387
1388 func (*SwInterfaceSetVpathReply) GetMessageName() string {
1389         return "sw_interface_set_vpath_reply"
1390 }
1391 func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType {
1392         return api.ReplyMessage
1393 }
1394 func (*SwInterfaceSetVpathReply) GetCrcString() string {
1395         return "828dbe62"
1396 }
1397 func NewSwInterfaceSetVpathReply() api.Message {
1398         return &SwInterfaceSetVpathReply{}
1399 }
1400
1401 // SwInterfaceSetL2Xconnect represents the VPP binary API message 'sw_interface_set_l2_xconnect'.
1402 // Generated from '/usr/share/vpp/api/vpe.api.json', line 356:
1403 //
1404 //        ["sw_interface_set_l2_xconnect",
1405 //            ["u16", "_vl_msg_id"],
1406 //            ["u32", "client_index"],
1407 //            ["u32", "context"],
1408 //            ["u32", "rx_sw_if_index"],
1409 //            ["u32", "tx_sw_if_index"],
1410 //            ["u8", "enable"],
1411 //            {"crc" : "0x48a4c4c8"}
1412 //        ],
1413 //
1414 type SwInterfaceSetL2Xconnect struct {
1415         RxSwIfIndex uint32
1416         TxSwIfIndex uint32
1417         Enable      uint8
1418 }
1419
1420 func (*SwInterfaceSetL2Xconnect) GetMessageName() string {
1421         return "sw_interface_set_l2_xconnect"
1422 }
1423 func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType {
1424         return api.RequestMessage
1425 }
1426 func (*SwInterfaceSetL2Xconnect) GetCrcString() string {
1427         return "48a4c4c8"
1428 }
1429 func NewSwInterfaceSetL2Xconnect() api.Message {
1430         return &SwInterfaceSetL2Xconnect{}
1431 }
1432
1433 // SwInterfaceSetL2XconnectReply represents the VPP binary API message 'sw_interface_set_l2_xconnect_reply'.
1434 // Generated from '/usr/share/vpp/api/vpe.api.json', line 365:
1435 //
1436 //        ["sw_interface_set_l2_xconnect_reply",
1437 //            ["u16", "_vl_msg_id"],
1438 //            ["u32", "context"],
1439 //            ["i32", "retval"],
1440 //            {"crc" : "0x6e45eed4"}
1441 //        ],
1442 //
1443 type SwInterfaceSetL2XconnectReply struct {
1444         Retval int32
1445 }
1446
1447 func (*SwInterfaceSetL2XconnectReply) GetMessageName() string {
1448         return "sw_interface_set_l2_xconnect_reply"
1449 }
1450 func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType {
1451         return api.ReplyMessage
1452 }
1453 func (*SwInterfaceSetL2XconnectReply) GetCrcString() string {
1454         return "6e45eed4"
1455 }
1456 func NewSwInterfaceSetL2XconnectReply() api.Message {
1457         return &SwInterfaceSetL2XconnectReply{}
1458 }
1459
1460 // SwInterfaceSetL2Bridge represents the VPP binary API message 'sw_interface_set_l2_bridge'.
1461 // Generated from '/usr/share/vpp/api/vpe.api.json', line 371:
1462 //
1463 //        ["sw_interface_set_l2_bridge",
1464 //            ["u16", "_vl_msg_id"],
1465 //            ["u32", "client_index"],
1466 //            ["u32", "context"],
1467 //            ["u32", "rx_sw_if_index"],
1468 //            ["u32", "bd_id"],
1469 //            ["u8", "shg"],
1470 //            ["u8", "bvi"],
1471 //            ["u8", "enable"],
1472 //            {"crc" : "0x36c739e8"}
1473 //        ],
1474 //
1475 type SwInterfaceSetL2Bridge struct {
1476         RxSwIfIndex uint32
1477         BdID        uint32
1478         Shg         uint8
1479         Bvi         uint8
1480         Enable      uint8
1481 }
1482
1483 func (*SwInterfaceSetL2Bridge) GetMessageName() string {
1484         return "sw_interface_set_l2_bridge"
1485 }
1486 func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType {
1487         return api.RequestMessage
1488 }
1489 func (*SwInterfaceSetL2Bridge) GetCrcString() string {
1490         return "36c739e8"
1491 }
1492 func NewSwInterfaceSetL2Bridge() api.Message {
1493         return &SwInterfaceSetL2Bridge{}
1494 }
1495
1496 // SwInterfaceSetL2BridgeReply represents the VPP binary API message 'sw_interface_set_l2_bridge_reply'.
1497 // Generated from '/usr/share/vpp/api/vpe.api.json', line 382:
1498 //
1499 //        ["sw_interface_set_l2_bridge_reply",
1500 //            ["u16", "_vl_msg_id"],
1501 //            ["u32", "context"],
1502 //            ["i32", "retval"],
1503 //            {"crc" : "0x347e08d9"}
1504 //        ],
1505 //
1506 type SwInterfaceSetL2BridgeReply struct {
1507         Retval int32
1508 }
1509
1510 func (*SwInterfaceSetL2BridgeReply) GetMessageName() string {
1511         return "sw_interface_set_l2_bridge_reply"
1512 }
1513 func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType {
1514         return api.ReplyMessage
1515 }
1516 func (*SwInterfaceSetL2BridgeReply) GetCrcString() string {
1517         return "347e08d9"
1518 }
1519 func NewSwInterfaceSetL2BridgeReply() api.Message {
1520         return &SwInterfaceSetL2BridgeReply{}
1521 }
1522
1523 // BdIPMacAddDel represents the VPP binary API message 'bd_ip_mac_add_del'.
1524 // Generated from '/usr/share/vpp/api/vpe.api.json', line 388:
1525 //
1526 //        ["bd_ip_mac_add_del",
1527 //            ["u16", "_vl_msg_id"],
1528 //            ["u32", "client_index"],
1529 //            ["u32", "context"],
1530 //            ["u32", "bd_id"],
1531 //            ["u8", "is_add"],
1532 //            ["u8", "is_ipv6"],
1533 //            ["u8", "ip_address", 16],
1534 //            ["u8", "mac_address", 6],
1535 //            {"crc" : "0xad819817"}
1536 //        ],
1537 //
1538 type BdIPMacAddDel struct {
1539         BdID       uint32
1540         IsAdd      uint8
1541         IsIpv6     uint8
1542         IPAddress  []byte `struc:"[16]byte"`
1543         MacAddress []byte `struc:"[6]byte"`
1544 }
1545
1546 func (*BdIPMacAddDel) GetMessageName() string {
1547         return "bd_ip_mac_add_del"
1548 }
1549 func (*BdIPMacAddDel) GetMessageType() api.MessageType {
1550         return api.RequestMessage
1551 }
1552 func (*BdIPMacAddDel) GetCrcString() string {
1553         return "ad819817"
1554 }
1555 func NewBdIPMacAddDel() api.Message {
1556         return &BdIPMacAddDel{}
1557 }
1558
1559 // BdIPMacAddDelReply represents the VPP binary API message 'bd_ip_mac_add_del_reply'.
1560 // Generated from '/usr/share/vpp/api/vpe.api.json', line 399:
1561 //
1562 //        ["bd_ip_mac_add_del_reply",
1563 //            ["u16", "_vl_msg_id"],
1564 //            ["u32", "context"],
1565 //            ["i32", "retval"],
1566 //            {"crc" : "0x55bab3b4"}
1567 //        ],
1568 //
1569 type BdIPMacAddDelReply struct {
1570         Retval int32
1571 }
1572
1573 func (*BdIPMacAddDelReply) GetMessageName() string {
1574         return "bd_ip_mac_add_del_reply"
1575 }
1576 func (*BdIPMacAddDelReply) GetMessageType() api.MessageType {
1577         return api.ReplyMessage
1578 }
1579 func (*BdIPMacAddDelReply) GetCrcString() string {
1580         return "55bab3b4"
1581 }
1582 func NewBdIPMacAddDelReply() api.Message {
1583         return &BdIPMacAddDelReply{}
1584 }
1585
1586 // ClassifySetInterfaceIPTable represents the VPP binary API message 'classify_set_interface_ip_table'.
1587 // Generated from '/usr/share/vpp/api/vpe.api.json', line 405:
1588 //
1589 //        ["classify_set_interface_ip_table",
1590 //            ["u16", "_vl_msg_id"],
1591 //            ["u32", "client_index"],
1592 //            ["u32", "context"],
1593 //            ["u8", "is_ipv6"],
1594 //            ["u32", "sw_if_index"],
1595 //            ["u32", "table_index"],
1596 //            {"crc" : "0x0dc45308"}
1597 //        ],
1598 //
1599 type ClassifySetInterfaceIPTable struct {
1600         IsIpv6     uint8
1601         SwIfIndex  uint32
1602         TableIndex uint32
1603 }
1604
1605 func (*ClassifySetInterfaceIPTable) GetMessageName() string {
1606         return "classify_set_interface_ip_table"
1607 }
1608 func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType {
1609         return api.RequestMessage
1610 }
1611 func (*ClassifySetInterfaceIPTable) GetCrcString() string {
1612         return "0dc45308"
1613 }
1614 func NewClassifySetInterfaceIPTable() api.Message {
1615         return &ClassifySetInterfaceIPTable{}
1616 }
1617
1618 // ClassifySetInterfaceIPTableReply represents the VPP binary API message 'classify_set_interface_ip_table_reply'.
1619 // Generated from '/usr/share/vpp/api/vpe.api.json', line 414:
1620 //
1621 //        ["classify_set_interface_ip_table_reply",
1622 //            ["u16", "_vl_msg_id"],
1623 //            ["u32", "context"],
1624 //            ["i32", "retval"],
1625 //            {"crc" : "0xdc391c34"}
1626 //        ],
1627 //
1628 type ClassifySetInterfaceIPTableReply struct {
1629         Retval int32
1630 }
1631
1632 func (*ClassifySetInterfaceIPTableReply) GetMessageName() string {
1633         return "classify_set_interface_ip_table_reply"
1634 }
1635 func (*ClassifySetInterfaceIPTableReply) GetMessageType() api.MessageType {
1636         return api.ReplyMessage
1637 }
1638 func (*ClassifySetInterfaceIPTableReply) GetCrcString() string {
1639         return "dc391c34"
1640 }
1641 func NewClassifySetInterfaceIPTableReply() api.Message {
1642         return &ClassifySetInterfaceIPTableReply{}
1643 }
1644
1645 // ClassifySetInterfaceL2Tables represents the VPP binary API message 'classify_set_interface_l2_tables'.
1646 // Generated from '/usr/share/vpp/api/vpe.api.json', line 420:
1647 //
1648 //        ["classify_set_interface_l2_tables",
1649 //            ["u16", "_vl_msg_id"],
1650 //            ["u32", "client_index"],
1651 //            ["u32", "context"],
1652 //            ["u32", "sw_if_index"],
1653 //            ["u32", "ip4_table_index"],
1654 //            ["u32", "ip6_table_index"],
1655 //            ["u32", "other_table_index"],
1656 //            ["u8", "is_input"],
1657 //            {"crc" : "0xed9ccf0d"}
1658 //        ],
1659 //
1660 type ClassifySetInterfaceL2Tables struct {
1661         SwIfIndex       uint32
1662         IP4TableIndex   uint32
1663         IP6TableIndex   uint32
1664         OtherTableIndex uint32
1665         IsInput         uint8
1666 }
1667
1668 func (*ClassifySetInterfaceL2Tables) GetMessageName() string {
1669         return "classify_set_interface_l2_tables"
1670 }
1671 func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType {
1672         return api.RequestMessage
1673 }
1674 func (*ClassifySetInterfaceL2Tables) GetCrcString() string {
1675         return "ed9ccf0d"
1676 }
1677 func NewClassifySetInterfaceL2Tables() api.Message {
1678         return &ClassifySetInterfaceL2Tables{}
1679 }
1680
1681 // ClassifySetInterfaceL2TablesReply represents the VPP binary API message 'classify_set_interface_l2_tables_reply'.
1682 // Generated from '/usr/share/vpp/api/vpe.api.json', line 431:
1683 //
1684 //        ["classify_set_interface_l2_tables_reply",
1685 //            ["u16", "_vl_msg_id"],
1686 //            ["u32", "context"],
1687 //            ["i32", "retval"],
1688 //            {"crc" : "0x8df20579"}
1689 //        ],
1690 //
1691 type ClassifySetInterfaceL2TablesReply struct {
1692         Retval int32
1693 }
1694
1695 func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string {
1696         return "classify_set_interface_l2_tables_reply"
1697 }
1698 func (*ClassifySetInterfaceL2TablesReply) GetMessageType() api.MessageType {
1699         return api.ReplyMessage
1700 }
1701 func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string {
1702         return "8df20579"
1703 }
1704 func NewClassifySetInterfaceL2TablesReply() api.Message {
1705         return &ClassifySetInterfaceL2TablesReply{}
1706 }
1707
1708 // GetNodeIndex represents the VPP binary API message 'get_node_index'.
1709 // Generated from '/usr/share/vpp/api/vpe.api.json', line 437:
1710 //
1711 //        ["get_node_index",
1712 //            ["u16", "_vl_msg_id"],
1713 //            ["u32", "client_index"],
1714 //            ["u32", "context"],
1715 //            ["u8", "node_name", 64],
1716 //            {"crc" : "0x226d3f8c"}
1717 //        ],
1718 //
1719 type GetNodeIndex struct {
1720         NodeName []byte `struc:"[64]byte"`
1721 }
1722
1723 func (*GetNodeIndex) GetMessageName() string {
1724         return "get_node_index"
1725 }
1726 func (*GetNodeIndex) GetMessageType() api.MessageType {
1727         return api.RequestMessage
1728 }
1729 func (*GetNodeIndex) GetCrcString() string {
1730         return "226d3f8c"
1731 }
1732 func NewGetNodeIndex() api.Message {
1733         return &GetNodeIndex{}
1734 }
1735
1736 // GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'.
1737 // Generated from '/usr/share/vpp/api/vpe.api.json', line 444:
1738 //
1739 //        ["get_node_index_reply",
1740 //            ["u16", "_vl_msg_id"],
1741 //            ["u32", "context"],
1742 //            ["i32", "retval"],
1743 //            ["u32", "node_index"],
1744 //            {"crc" : "0x29116865"}
1745 //        ],
1746 //
1747 type GetNodeIndexReply struct {
1748         Retval    int32
1749         NodeIndex uint32
1750 }
1751
1752 func (*GetNodeIndexReply) GetMessageName() string {
1753         return "get_node_index_reply"
1754 }
1755 func (*GetNodeIndexReply) GetMessageType() api.MessageType {
1756         return api.ReplyMessage
1757 }
1758 func (*GetNodeIndexReply) GetCrcString() string {
1759         return "29116865"
1760 }
1761 func NewGetNodeIndexReply() api.Message {
1762         return &GetNodeIndexReply{}
1763 }
1764
1765 // AddNodeNext represents the VPP binary API message 'add_node_next'.
1766 // Generated from '/usr/share/vpp/api/vpe.api.json', line 451:
1767 //
1768 //        ["add_node_next",
1769 //            ["u16", "_vl_msg_id"],
1770 //            ["u32", "client_index"],
1771 //            ["u32", "context"],
1772 //            ["u8", "node_name", 64],
1773 //            ["u8", "next_name", 64],
1774 //            {"crc" : "0xe4202993"}
1775 //        ],
1776 //
1777 type AddNodeNext struct {
1778         NodeName []byte `struc:"[64]byte"`
1779         NextName []byte `struc:"[64]byte"`
1780 }
1781
1782 func (*AddNodeNext) GetMessageName() string {
1783         return "add_node_next"
1784 }
1785 func (*AddNodeNext) GetMessageType() api.MessageType {
1786         return api.RequestMessage
1787 }
1788 func (*AddNodeNext) GetCrcString() string {
1789         return "e4202993"
1790 }
1791 func NewAddNodeNext() api.Message {
1792         return &AddNodeNext{}
1793 }
1794
1795 // AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'.
1796 // Generated from '/usr/share/vpp/api/vpe.api.json', line 459:
1797 //
1798 //        ["add_node_next_reply",
1799 //            ["u16", "_vl_msg_id"],
1800 //            ["u32", "context"],
1801 //            ["i32", "retval"],
1802 //            ["u32", "next_index"],
1803 //            {"crc" : "0xe89d6eed"}
1804 //        ],
1805 //
1806 type AddNodeNextReply struct {
1807         Retval    int32
1808         NextIndex uint32
1809 }
1810
1811 func (*AddNodeNextReply) GetMessageName() string {
1812         return "add_node_next_reply"
1813 }
1814 func (*AddNodeNextReply) GetMessageType() api.MessageType {
1815         return api.ReplyMessage
1816 }
1817 func (*AddNodeNextReply) GetCrcString() string {
1818         return "e89d6eed"
1819 }
1820 func NewAddNodeNextReply() api.Message {
1821         return &AddNodeNextReply{}
1822 }
1823
1824 // L2InterfaceEfpFilter represents the VPP binary API message 'l2_interface_efp_filter'.
1825 // Generated from '/usr/share/vpp/api/vpe.api.json', line 466:
1826 //
1827 //        ["l2_interface_efp_filter",
1828 //            ["u16", "_vl_msg_id"],
1829 //            ["u32", "client_index"],
1830 //            ["u32", "context"],
1831 //            ["u32", "sw_if_index"],
1832 //            ["u32", "enable_disable"],
1833 //            {"crc" : "0x07c9d601"}
1834 //        ],
1835 //
1836 type L2InterfaceEfpFilter struct {
1837         SwIfIndex     uint32
1838         EnableDisable uint32
1839 }
1840
1841 func (*L2InterfaceEfpFilter) GetMessageName() string {
1842         return "l2_interface_efp_filter"
1843 }
1844 func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType {
1845         return api.RequestMessage
1846 }
1847 func (*L2InterfaceEfpFilter) GetCrcString() string {
1848         return "07c9d601"
1849 }
1850 func NewL2InterfaceEfpFilter() api.Message {
1851         return &L2InterfaceEfpFilter{}
1852 }
1853
1854 // L2InterfaceEfpFilterReply represents the VPP binary API message 'l2_interface_efp_filter_reply'.
1855 // Generated from '/usr/share/vpp/api/vpe.api.json', line 474:
1856 //
1857 //        ["l2_interface_efp_filter_reply",
1858 //            ["u16", "_vl_msg_id"],
1859 //            ["u32", "context"],
1860 //            ["i32", "retval"],
1861 //            {"crc" : "0x0f4bb0c0"}
1862 //        ],
1863 //
1864 type L2InterfaceEfpFilterReply struct {
1865         Retval int32
1866 }
1867
1868 func (*L2InterfaceEfpFilterReply) GetMessageName() string {
1869         return "l2_interface_efp_filter_reply"
1870 }
1871 func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType {
1872         return api.ReplyMessage
1873 }
1874 func (*L2InterfaceEfpFilterReply) GetCrcString() string {
1875         return "0f4bb0c0"
1876 }
1877 func NewL2InterfaceEfpFilterReply() api.Message {
1878         return &L2InterfaceEfpFilterReply{}
1879 }
1880
1881 // CreateSubif represents the VPP binary API message 'create_subif'.
1882 // Generated from '/usr/share/vpp/api/vpe.api.json', line 480:
1883 //
1884 //        ["create_subif",
1885 //            ["u16", "_vl_msg_id"],
1886 //            ["u32", "client_index"],
1887 //            ["u32", "context"],
1888 //            ["u32", "sw_if_index"],
1889 //            ["u32", "sub_id"],
1890 //            ["u8", "no_tags"],
1891 //            ["u8", "one_tag"],
1892 //            ["u8", "two_tags"],
1893 //            ["u8", "dot1ad"],
1894 //            ["u8", "exact_match"],
1895 //            ["u8", "default_sub"],
1896 //            ["u8", "outer_vlan_id_any"],
1897 //            ["u8", "inner_vlan_id_any"],
1898 //            ["u16", "outer_vlan_id"],
1899 //            ["u16", "inner_vlan_id"],
1900 //            {"crc" : "0x150e6757"}
1901 //        ],
1902 //
1903 type CreateSubif struct {
1904         SwIfIndex      uint32
1905         SubID          uint32
1906         NoTags         uint8
1907         OneTag         uint8
1908         TwoTags        uint8
1909         Dot1ad         uint8
1910         ExactMatch     uint8
1911         DefaultSub     uint8
1912         OuterVlanIDAny uint8
1913         InnerVlanIDAny uint8
1914         OuterVlanID    uint16
1915         InnerVlanID    uint16
1916 }
1917
1918 func (*CreateSubif) GetMessageName() string {
1919         return "create_subif"
1920 }
1921 func (*CreateSubif) GetMessageType() api.MessageType {
1922         return api.RequestMessage
1923 }
1924 func (*CreateSubif) GetCrcString() string {
1925         return "150e6757"
1926 }
1927 func NewCreateSubif() api.Message {
1928         return &CreateSubif{}
1929 }
1930
1931 // CreateSubifReply represents the VPP binary API message 'create_subif_reply'.
1932 // Generated from '/usr/share/vpp/api/vpe.api.json', line 498:
1933 //
1934 //        ["create_subif_reply",
1935 //            ["u16", "_vl_msg_id"],
1936 //            ["u32", "context"],
1937 //            ["i32", "retval"],
1938 //            ["u32", "sw_if_index"],
1939 //            {"crc" : "0x92272bcb"}
1940 //        ],
1941 //
1942 type CreateSubifReply struct {
1943         Retval    int32
1944         SwIfIndex uint32
1945 }
1946
1947 func (*CreateSubifReply) GetMessageName() string {
1948         return "create_subif_reply"
1949 }
1950 func (*CreateSubifReply) GetMessageType() api.MessageType {
1951         return api.ReplyMessage
1952 }
1953 func (*CreateSubifReply) GetCrcString() string {
1954         return "92272bcb"
1955 }
1956 func NewCreateSubifReply() api.Message {
1957         return &CreateSubifReply{}
1958 }
1959
1960 // ShowVersion represents the VPP binary API message 'show_version'.
1961 // Generated from '/usr/share/vpp/api/vpe.api.json', line 505:
1962 //
1963 //        ["show_version",
1964 //            ["u16", "_vl_msg_id"],
1965 //            ["u32", "client_index"],
1966 //            ["u32", "context"],
1967 //            {"crc" : "0xf18f9480"}
1968 //        ],
1969 //
1970 type ShowVersion struct {
1971 }
1972
1973 func (*ShowVersion) GetMessageName() string {
1974         return "show_version"
1975 }
1976 func (*ShowVersion) GetMessageType() api.MessageType {
1977         return api.RequestMessage
1978 }
1979 func (*ShowVersion) GetCrcString() string {
1980         return "f18f9480"
1981 }
1982 func NewShowVersion() api.Message {
1983         return &ShowVersion{}
1984 }
1985
1986 // ShowVersionReply represents the VPP binary API message 'show_version_reply'.
1987 // Generated from '/usr/share/vpp/api/vpe.api.json', line 511:
1988 //
1989 //        ["show_version_reply",
1990 //            ["u16", "_vl_msg_id"],
1991 //            ["u32", "context"],
1992 //            ["i32", "retval"],
1993 //            ["u8", "program", 32],
1994 //            ["u8", "version", 32],
1995 //            ["u8", "build_date", 32],
1996 //            ["u8", "build_directory", 256],
1997 //            {"crc" : "0x83186d9e"}
1998 //        ],
1999 //
2000 type ShowVersionReply struct {
2001         Retval         int32
2002         Program        []byte `struc:"[32]byte"`
2003         Version        []byte `struc:"[32]byte"`
2004         BuildDate      []byte `struc:"[32]byte"`
2005         BuildDirectory []byte `struc:"[256]byte"`
2006 }
2007
2008 func (*ShowVersionReply) GetMessageName() string {
2009         return "show_version_reply"
2010 }
2011 func (*ShowVersionReply) GetMessageType() api.MessageType {
2012         return api.ReplyMessage
2013 }
2014 func (*ShowVersionReply) GetCrcString() string {
2015         return "83186d9e"
2016 }
2017 func NewShowVersionReply() api.Message {
2018         return &ShowVersionReply{}
2019 }
2020
2021 // InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'.
2022 // Generated from '/usr/share/vpp/api/vpe.api.json', line 521:
2023 //
2024 //        ["interface_name_renumber",
2025 //            ["u16", "_vl_msg_id"],
2026 //            ["u32", "client_index"],
2027 //            ["u32", "context"],
2028 //            ["u32", "sw_if_index"],
2029 //            ["u32", "new_show_dev_instance"],
2030 //            {"crc" : "0x11b7bcec"}
2031 //        ],
2032 //
2033 type InterfaceNameRenumber struct {
2034         SwIfIndex          uint32
2035         NewShowDevInstance uint32
2036 }
2037
2038 func (*InterfaceNameRenumber) GetMessageName() string {
2039         return "interface_name_renumber"
2040 }
2041 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
2042         return api.RequestMessage
2043 }
2044 func (*InterfaceNameRenumber) GetCrcString() string {
2045         return "11b7bcec"
2046 }
2047 func NewInterfaceNameRenumber() api.Message {
2048         return &InterfaceNameRenumber{}
2049 }
2050
2051 // InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'.
2052 // Generated from '/usr/share/vpp/api/vpe.api.json', line 529:
2053 //
2054 //        ["interface_name_renumber_reply",
2055 //            ["u16", "_vl_msg_id"],
2056 //            ["u32", "context"],
2057 //            ["i32", "retval"],
2058 //            {"crc" : "0x31594963"}
2059 //        ],
2060 //
2061 type InterfaceNameRenumberReply struct {
2062         Retval int32
2063 }
2064
2065 func (*InterfaceNameRenumberReply) GetMessageName() string {
2066         return "interface_name_renumber_reply"
2067 }
2068 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
2069         return api.ReplyMessage
2070 }
2071 func (*InterfaceNameRenumberReply) GetCrcString() string {
2072         return "31594963"
2073 }
2074 func NewInterfaceNameRenumberReply() api.Message {
2075         return &InterfaceNameRenumberReply{}
2076 }
2077
2078 // WantIP4ArpEvents represents the VPP binary API message 'want_ip4_arp_events'.
2079 // Generated from '/usr/share/vpp/api/vpe.api.json', line 535:
2080 //
2081 //        ["want_ip4_arp_events",
2082 //            ["u16", "_vl_msg_id"],
2083 //            ["u32", "client_index"],
2084 //            ["u32", "context"],
2085 //            ["u8", "enable_disable"],
2086 //            ["u32", "pid"],
2087 //            ["u32", "address"],
2088 //            {"crc" : "0x5ae044c2"}
2089 //        ],
2090 //
2091 type WantIP4ArpEvents struct {
2092         EnableDisable uint8
2093         Pid           uint32
2094         Address       uint32
2095 }
2096
2097 func (*WantIP4ArpEvents) GetMessageName() string {
2098         return "want_ip4_arp_events"
2099 }
2100 func (*WantIP4ArpEvents) GetMessageType() api.MessageType {
2101         return api.RequestMessage
2102 }
2103 func (*WantIP4ArpEvents) GetCrcString() string {
2104         return "5ae044c2"
2105 }
2106 func NewWantIP4ArpEvents() api.Message {
2107         return &WantIP4ArpEvents{}
2108 }
2109
2110 // WantIP4ArpEventsReply represents the VPP binary API message 'want_ip4_arp_events_reply'.
2111 // Generated from '/usr/share/vpp/api/vpe.api.json', line 544:
2112 //
2113 //        ["want_ip4_arp_events_reply",
2114 //            ["u16", "_vl_msg_id"],
2115 //            ["u32", "context"],
2116 //            ["i32", "retval"],
2117 //            {"crc" : "0xe1c0b59e"}
2118 //        ],
2119 //
2120 type WantIP4ArpEventsReply struct {
2121         Retval int32
2122 }
2123
2124 func (*WantIP4ArpEventsReply) GetMessageName() string {
2125         return "want_ip4_arp_events_reply"
2126 }
2127 func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType {
2128         return api.ReplyMessage
2129 }
2130 func (*WantIP4ArpEventsReply) GetCrcString() string {
2131         return "e1c0b59e"
2132 }
2133 func NewWantIP4ArpEventsReply() api.Message {
2134         return &WantIP4ArpEventsReply{}
2135 }
2136
2137 // IP4ArpEvent represents the VPP binary API message 'ip4_arp_event'.
2138 // Generated from '/usr/share/vpp/api/vpe.api.json', line 550:
2139 //
2140 //        ["ip4_arp_event",
2141 //            ["u16", "_vl_msg_id"],
2142 //            ["u32", "client_index"],
2143 //            ["u32", "context"],
2144 //            ["u32", "address"],
2145 //            ["u32", "pid"],
2146 //            ["u32", "sw_if_index"],
2147 //            ["u8", "new_mac", 6],
2148 //            ["u8", "mac_ip"],
2149 //            {"crc" : "0x7de1837b"}
2150 //        ],
2151 //
2152 type IP4ArpEvent struct {
2153         Address   uint32
2154         Pid       uint32
2155         SwIfIndex uint32
2156         NewMac    []byte `struc:"[6]byte"`
2157         MacIP     uint8
2158 }
2159
2160 func (*IP4ArpEvent) GetMessageName() string {
2161         return "ip4_arp_event"
2162 }
2163 func (*IP4ArpEvent) GetMessageType() api.MessageType {
2164         return api.RequestMessage
2165 }
2166 func (*IP4ArpEvent) GetCrcString() string {
2167         return "7de1837b"
2168 }
2169 func NewIP4ArpEvent() api.Message {
2170         return &IP4ArpEvent{}
2171 }
2172
2173 // WantIP6NdEvents represents the VPP binary API message 'want_ip6_nd_events'.
2174 // Generated from '/usr/share/vpp/api/vpe.api.json', line 561:
2175 //
2176 //        ["want_ip6_nd_events",
2177 //            ["u16", "_vl_msg_id"],
2178 //            ["u32", "client_index"],
2179 //            ["u32", "context"],
2180 //            ["u8", "enable_disable"],
2181 //            ["u32", "pid"],
2182 //            ["u8", "address", 16],
2183 //            {"crc" : "0x9586ba55"}
2184 //        ],
2185 //
2186 type WantIP6NdEvents struct {
2187         EnableDisable uint8
2188         Pid           uint32
2189         Address       []byte `struc:"[16]byte"`
2190 }
2191
2192 func (*WantIP6NdEvents) GetMessageName() string {
2193         return "want_ip6_nd_events"
2194 }
2195 func (*WantIP6NdEvents) GetMessageType() api.MessageType {
2196         return api.RequestMessage
2197 }
2198 func (*WantIP6NdEvents) GetCrcString() string {
2199         return "9586ba55"
2200 }
2201 func NewWantIP6NdEvents() api.Message {
2202         return &WantIP6NdEvents{}
2203 }
2204
2205 // WantIP6NdEventsReply represents the VPP binary API message 'want_ip6_nd_events_reply'.
2206 // Generated from '/usr/share/vpp/api/vpe.api.json', line 570:
2207 //
2208 //        ["want_ip6_nd_events_reply",
2209 //            ["u16", "_vl_msg_id"],
2210 //            ["u32", "context"],
2211 //            ["i32", "retval"],
2212 //            {"crc" : "0x95458aad"}
2213 //        ],
2214 //
2215 type WantIP6NdEventsReply struct {
2216         Retval int32
2217 }
2218
2219 func (*WantIP6NdEventsReply) GetMessageName() string {
2220         return "want_ip6_nd_events_reply"
2221 }
2222 func (*WantIP6NdEventsReply) GetMessageType() api.MessageType {
2223         return api.ReplyMessage
2224 }
2225 func (*WantIP6NdEventsReply) GetCrcString() string {
2226         return "95458aad"
2227 }
2228 func NewWantIP6NdEventsReply() api.Message {
2229         return &WantIP6NdEventsReply{}
2230 }
2231
2232 // IP6NdEvent represents the VPP binary API message 'ip6_nd_event'.
2233 // Generated from '/usr/share/vpp/api/vpe.api.json', line 576:
2234 //
2235 //        ["ip6_nd_event",
2236 //            ["u16", "_vl_msg_id"],
2237 //            ["u32", "client_index"],
2238 //            ["u32", "context"],
2239 //            ["u32", "pid"],
2240 //            ["u32", "sw_if_index"],
2241 //            ["u8", "address", 16],
2242 //            ["u8", "new_mac", 6],
2243 //            ["u8", "mac_ip"],
2244 //            {"crc" : "0x777bb71c"}
2245 //        ],
2246 //
2247 type IP6NdEvent struct {
2248         Pid       uint32
2249         SwIfIndex uint32
2250         Address   []byte `struc:"[16]byte"`
2251         NewMac    []byte `struc:"[6]byte"`
2252         MacIP     uint8
2253 }
2254
2255 func (*IP6NdEvent) GetMessageName() string {
2256         return "ip6_nd_event"
2257 }
2258 func (*IP6NdEvent) GetMessageType() api.MessageType {
2259         return api.RequestMessage
2260 }
2261 func (*IP6NdEvent) GetCrcString() string {
2262         return "777bb71c"
2263 }
2264 func NewIP6NdEvent() api.Message {
2265         return &IP6NdEvent{}
2266 }
2267
2268 // InputACLSetInterface represents the VPP binary API message 'input_acl_set_interface'.
2269 // Generated from '/usr/share/vpp/api/vpe.api.json', line 587:
2270 //
2271 //        ["input_acl_set_interface",
2272 //            ["u16", "_vl_msg_id"],
2273 //            ["u32", "client_index"],
2274 //            ["u32", "context"],
2275 //            ["u32", "sw_if_index"],
2276 //            ["u32", "ip4_table_index"],
2277 //            ["u32", "ip6_table_index"],
2278 //            ["u32", "l2_table_index"],
2279 //            ["u8", "is_add"],
2280 //            {"crc" : "0x34d2fc33"}
2281 //        ],
2282 //
2283 type InputACLSetInterface struct {
2284         SwIfIndex     uint32
2285         IP4TableIndex uint32
2286         IP6TableIndex uint32
2287         L2TableIndex  uint32
2288         IsAdd         uint8
2289 }
2290
2291 func (*InputACLSetInterface) GetMessageName() string {
2292         return "input_acl_set_interface"
2293 }
2294 func (*InputACLSetInterface) GetMessageType() api.MessageType {
2295         return api.RequestMessage
2296 }
2297 func (*InputACLSetInterface) GetCrcString() string {
2298         return "34d2fc33"
2299 }
2300 func NewInputACLSetInterface() api.Message {
2301         return &InputACLSetInterface{}
2302 }
2303
2304 // InputACLSetInterfaceReply represents the VPP binary API message 'input_acl_set_interface_reply'.
2305 // Generated from '/usr/share/vpp/api/vpe.api.json', line 598:
2306 //
2307 //        ["input_acl_set_interface_reply",
2308 //            ["u16", "_vl_msg_id"],
2309 //            ["u32", "context"],
2310 //            ["i32", "retval"],
2311 //            {"crc" : "0xba0110e3"}
2312 //        ],
2313 //
2314 type InputACLSetInterfaceReply struct {
2315         Retval int32
2316 }
2317
2318 func (*InputACLSetInterfaceReply) GetMessageName() string {
2319         return "input_acl_set_interface_reply"
2320 }
2321 func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType {
2322         return api.ReplyMessage
2323 }
2324 func (*InputACLSetInterfaceReply) GetCrcString() string {
2325         return "ba0110e3"
2326 }
2327 func NewInputACLSetInterfaceReply() api.Message {
2328         return &InputACLSetInterfaceReply{}
2329 }
2330
2331 // GetNodeGraph represents the VPP binary API message 'get_node_graph'.
2332 // Generated from '/usr/share/vpp/api/vpe.api.json', line 604:
2333 //
2334 //        ["get_node_graph",
2335 //            ["u16", "_vl_msg_id"],
2336 //            ["u32", "client_index"],
2337 //            ["u32", "context"],
2338 //            {"crc" : "0xf8636a76"}
2339 //        ],
2340 //
2341 type GetNodeGraph struct {
2342 }
2343
2344 func (*GetNodeGraph) GetMessageName() string {
2345         return "get_node_graph"
2346 }
2347 func (*GetNodeGraph) GetMessageType() api.MessageType {
2348         return api.RequestMessage
2349 }
2350 func (*GetNodeGraph) GetCrcString() string {
2351         return "f8636a76"
2352 }
2353 func NewGetNodeGraph() api.Message {
2354         return &GetNodeGraph{}
2355 }
2356
2357 // GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'.
2358 // Generated from '/usr/share/vpp/api/vpe.api.json', line 610:
2359 //
2360 //        ["get_node_graph_reply",
2361 //            ["u16", "_vl_msg_id"],
2362 //            ["u32", "context"],
2363 //            ["i32", "retval"],
2364 //            ["u64", "reply_in_shmem"],
2365 //            {"crc" : "0x816d91b6"}
2366 //        ],
2367 //
2368 type GetNodeGraphReply struct {
2369         Retval       int32
2370         ReplyInShmem uint64
2371 }
2372
2373 func (*GetNodeGraphReply) GetMessageName() string {
2374         return "get_node_graph_reply"
2375 }
2376 func (*GetNodeGraphReply) GetMessageType() api.MessageType {
2377         return api.ReplyMessage
2378 }
2379 func (*GetNodeGraphReply) GetCrcString() string {
2380         return "816d91b6"
2381 }
2382 func NewGetNodeGraphReply() api.Message {
2383         return &GetNodeGraphReply{}
2384 }
2385
2386 // IoamEnable represents the VPP binary API message 'ioam_enable'.
2387 // Generated from '/usr/share/vpp/api/vpe.api.json', line 617:
2388 //
2389 //        ["ioam_enable",
2390 //            ["u16", "_vl_msg_id"],
2391 //            ["u32", "client_index"],
2392 //            ["u32", "context"],
2393 //            ["u16", "id"],
2394 //            ["u8", "seqno"],
2395 //            ["u8", "analyse"],
2396 //            ["u8", "pot_enable"],
2397 //            ["u8", "trace_enable"],
2398 //            ["u32", "node_id"],
2399 //            {"crc" : "0x7bd4abf9"}
2400 //        ],
2401 //
2402 type IoamEnable struct {
2403         ID          uint16
2404         Seqno       uint8
2405         Analyse     uint8
2406         PotEnable   uint8
2407         TraceEnable uint8
2408         NodeID      uint32
2409 }
2410
2411 func (*IoamEnable) GetMessageName() string {
2412         return "ioam_enable"
2413 }
2414 func (*IoamEnable) GetMessageType() api.MessageType {
2415         return api.RequestMessage
2416 }
2417 func (*IoamEnable) GetCrcString() string {
2418         return "7bd4abf9"
2419 }
2420 func NewIoamEnable() api.Message {
2421         return &IoamEnable{}
2422 }
2423
2424 // IoamEnableReply represents the VPP binary API message 'ioam_enable_reply'.
2425 // Generated from '/usr/share/vpp/api/vpe.api.json', line 629:
2426 //
2427 //        ["ioam_enable_reply",
2428 //            ["u16", "_vl_msg_id"],
2429 //            ["u32", "context"],
2430 //            ["i32", "retval"],
2431 //            {"crc" : "0x58a8fedc"}
2432 //        ],
2433 //
2434 type IoamEnableReply struct {
2435         Retval int32
2436 }
2437
2438 func (*IoamEnableReply) GetMessageName() string {
2439         return "ioam_enable_reply"
2440 }
2441 func (*IoamEnableReply) GetMessageType() api.MessageType {
2442         return api.ReplyMessage
2443 }
2444 func (*IoamEnableReply) GetCrcString() string {
2445         return "58a8fedc"
2446 }
2447 func NewIoamEnableReply() api.Message {
2448         return &IoamEnableReply{}
2449 }
2450
2451 // IoamDisable represents the VPP binary API message 'ioam_disable'.
2452 // Generated from '/usr/share/vpp/api/vpe.api.json', line 635:
2453 //
2454 //        ["ioam_disable",
2455 //            ["u16", "_vl_msg_id"],
2456 //            ["u32", "client_index"],
2457 //            ["u32", "context"],
2458 //            ["u16", "id"],
2459 //            {"crc" : "0xaff26d33"}
2460 //        ],
2461 //
2462 type IoamDisable struct {
2463         ID uint16
2464 }
2465
2466 func (*IoamDisable) GetMessageName() string {
2467         return "ioam_disable"
2468 }
2469 func (*IoamDisable) GetMessageType() api.MessageType {
2470         return api.RequestMessage
2471 }
2472 func (*IoamDisable) GetCrcString() string {
2473         return "aff26d33"
2474 }
2475 func NewIoamDisable() api.Message {
2476         return &IoamDisable{}
2477 }
2478
2479 // IoamDisableReply represents the VPP binary API message 'ioam_disable_reply'.
2480 // Generated from '/usr/share/vpp/api/vpe.api.json', line 642:
2481 //
2482 //        ["ioam_disable_reply",
2483 //            ["u16", "_vl_msg_id"],
2484 //            ["u32", "context"],
2485 //            ["i32", "retval"],
2486 //            {"crc" : "0xef118a9d"}
2487 //        ],
2488 //
2489 type IoamDisableReply struct {
2490         Retval int32
2491 }
2492
2493 func (*IoamDisableReply) GetMessageName() string {
2494         return "ioam_disable_reply"
2495 }
2496 func (*IoamDisableReply) GetMessageType() api.MessageType {
2497         return api.ReplyMessage
2498 }
2499 func (*IoamDisableReply) GetCrcString() string {
2500         return "ef118a9d"
2501 }
2502 func NewIoamDisableReply() api.Message {
2503         return &IoamDisableReply{}
2504 }
2505
2506 // GetNextIndex represents the VPP binary API message 'get_next_index'.
2507 // Generated from '/usr/share/vpp/api/vpe.api.json', line 648:
2508 //
2509 //        ["get_next_index",
2510 //            ["u16", "_vl_msg_id"],
2511 //            ["u32", "client_index"],
2512 //            ["u32", "context"],
2513 //            ["u8", "node_name", 64],
2514 //            ["u8", "next_name", 64],
2515 //            {"crc" : "0x52f0e416"}
2516 //        ],
2517 //
2518 type GetNextIndex struct {
2519         NodeName []byte `struc:"[64]byte"`
2520         NextName []byte `struc:"[64]byte"`
2521 }
2522
2523 func (*GetNextIndex) GetMessageName() string {
2524         return "get_next_index"
2525 }
2526 func (*GetNextIndex) GetMessageType() api.MessageType {
2527         return api.RequestMessage
2528 }
2529 func (*GetNextIndex) GetCrcString() string {
2530         return "52f0e416"
2531 }
2532 func NewGetNextIndex() api.Message {
2533         return &GetNextIndex{}
2534 }
2535
2536 // GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'.
2537 // Generated from '/usr/share/vpp/api/vpe.api.json', line 656:
2538 //
2539 //        ["get_next_index_reply",
2540 //            ["u16", "_vl_msg_id"],
2541 //            ["u32", "context"],
2542 //            ["i32", "retval"],
2543 //            ["u32", "next_index"],
2544 //            {"crc" : "0x671fbdb1"}
2545 //        ],
2546 //
2547 type GetNextIndexReply struct {
2548         Retval    int32
2549         NextIndex uint32
2550 }
2551
2552 func (*GetNextIndexReply) GetMessageName() string {
2553         return "get_next_index_reply"
2554 }
2555 func (*GetNextIndexReply) GetMessageType() api.MessageType {
2556         return api.ReplyMessage
2557 }
2558 func (*GetNextIndexReply) GetCrcString() string {
2559         return "671fbdb1"
2560 }
2561 func NewGetNextIndexReply() api.Message {
2562         return &GetNextIndexReply{}
2563 }
2564
2565 // PgCreateInterface represents the VPP binary API message 'pg_create_interface'.
2566 // Generated from '/usr/share/vpp/api/vpe.api.json', line 663:
2567 //
2568 //        ["pg_create_interface",
2569 //            ["u16", "_vl_msg_id"],
2570 //            ["u32", "client_index"],
2571 //            ["u32", "context"],
2572 //            ["u32", "interface_id"],
2573 //            {"crc" : "0x253c5959"}
2574 //        ],
2575 //
2576 type PgCreateInterface struct {
2577         InterfaceID uint32
2578 }
2579
2580 func (*PgCreateInterface) GetMessageName() string {
2581         return "pg_create_interface"
2582 }
2583 func (*PgCreateInterface) GetMessageType() api.MessageType {
2584         return api.RequestMessage
2585 }
2586 func (*PgCreateInterface) GetCrcString() string {
2587         return "253c5959"
2588 }
2589 func NewPgCreateInterface() api.Message {
2590         return &PgCreateInterface{}
2591 }
2592
2593 // PgCreateInterfaceReply represents the VPP binary API message 'pg_create_interface_reply'.
2594 // Generated from '/usr/share/vpp/api/vpe.api.json', line 670:
2595 //
2596 //        ["pg_create_interface_reply",
2597 //            ["u16", "_vl_msg_id"],
2598 //            ["u32", "context"],
2599 //            ["i32", "retval"],
2600 //            ["u32", "sw_if_index"],
2601 //            {"crc" : "0x21b4f949"}
2602 //        ],
2603 //
2604 type PgCreateInterfaceReply struct {
2605         Retval    int32
2606         SwIfIndex uint32
2607 }
2608
2609 func (*PgCreateInterfaceReply) GetMessageName() string {
2610         return "pg_create_interface_reply"
2611 }
2612 func (*PgCreateInterfaceReply) GetMessageType() api.MessageType {
2613         return api.ReplyMessage
2614 }
2615 func (*PgCreateInterfaceReply) GetCrcString() string {
2616         return "21b4f949"
2617 }
2618 func NewPgCreateInterfaceReply() api.Message {
2619         return &PgCreateInterfaceReply{}
2620 }
2621
2622 // PgCapture represents the VPP binary API message 'pg_capture'.
2623 // Generated from '/usr/share/vpp/api/vpe.api.json', line 677:
2624 //
2625 //        ["pg_capture",
2626 //            ["u16", "_vl_msg_id"],
2627 //            ["u32", "client_index"],
2628 //            ["u32", "context"],
2629 //            ["u32", "interface_id"],
2630 //            ["u8", "is_enabled"],
2631 //            ["u32", "count"],
2632 //            ["u32", "pcap_name_length"],
2633 //            ["u8", "pcap_file_name", 0, "pcap_name_length"],
2634 //            {"crc" : "0x6ac7fe78"}
2635 //        ],
2636 //
2637 type PgCapture struct {
2638         InterfaceID    uint32
2639         IsEnabled      uint8
2640         Count          uint32
2641         PcapNameLength uint32 `struc:"sizeof=PcapFileName"`
2642         PcapFileName   []byte
2643 }
2644
2645 func (*PgCapture) GetMessageName() string {
2646         return "pg_capture"
2647 }
2648 func (*PgCapture) GetMessageType() api.MessageType {
2649         return api.RequestMessage
2650 }
2651 func (*PgCapture) GetCrcString() string {
2652         return "6ac7fe78"
2653 }
2654 func NewPgCapture() api.Message {
2655         return &PgCapture{}
2656 }
2657
2658 // PgCaptureReply represents the VPP binary API message 'pg_capture_reply'.
2659 // Generated from '/usr/share/vpp/api/vpe.api.json', line 688:
2660 //
2661 //        ["pg_capture_reply",
2662 //            ["u16", "_vl_msg_id"],
2663 //            ["u32", "context"],
2664 //            ["i32", "retval"],
2665 //            {"crc" : "0xf403693b"}
2666 //        ],
2667 //
2668 type PgCaptureReply struct {
2669         Retval int32
2670 }
2671
2672 func (*PgCaptureReply) GetMessageName() string {
2673         return "pg_capture_reply"
2674 }
2675 func (*PgCaptureReply) GetMessageType() api.MessageType {
2676         return api.ReplyMessage
2677 }
2678 func (*PgCaptureReply) GetCrcString() string {
2679         return "f403693b"
2680 }
2681 func NewPgCaptureReply() api.Message {
2682         return &PgCaptureReply{}
2683 }
2684
2685 // PgEnableDisable represents the VPP binary API message 'pg_enable_disable'.
2686 // Generated from '/usr/share/vpp/api/vpe.api.json', line 694:
2687 //
2688 //        ["pg_enable_disable",
2689 //            ["u16", "_vl_msg_id"],
2690 //            ["u32", "client_index"],
2691 //            ["u32", "context"],
2692 //            ["u8", "is_enabled"],
2693 //            ["u32", "stream_name_length"],
2694 //            ["u8", "stream_name", 0, "stream_name_length"],
2695 //            {"crc" : "0x7d0b90ff"}
2696 //        ],
2697 //
2698 type PgEnableDisable struct {
2699         IsEnabled        uint8
2700         StreamNameLength uint32 `struc:"sizeof=StreamName"`
2701         StreamName       []byte
2702 }
2703
2704 func (*PgEnableDisable) GetMessageName() string {
2705         return "pg_enable_disable"
2706 }
2707 func (*PgEnableDisable) GetMessageType() api.MessageType {
2708         return api.RequestMessage
2709 }
2710 func (*PgEnableDisable) GetCrcString() string {
2711         return "7d0b90ff"
2712 }
2713 func NewPgEnableDisable() api.Message {
2714         return &PgEnableDisable{}
2715 }
2716
2717 // PgEnableDisableReply represents the VPP binary API message 'pg_enable_disable_reply'.
2718 // Generated from '/usr/share/vpp/api/vpe.api.json', line 703:
2719 //
2720 //        ["pg_enable_disable_reply",
2721 //            ["u16", "_vl_msg_id"],
2722 //            ["u32", "context"],
2723 //            ["i32", "retval"],
2724 //            {"crc" : "0x02253bd6"}
2725 //        ],
2726 //
2727 type PgEnableDisableReply struct {
2728         Retval int32
2729 }
2730
2731 func (*PgEnableDisableReply) GetMessageName() string {
2732         return "pg_enable_disable_reply"
2733 }
2734 func (*PgEnableDisableReply) GetMessageType() api.MessageType {
2735         return api.ReplyMessage
2736 }
2737 func (*PgEnableDisableReply) GetCrcString() string {
2738         return "02253bd6"
2739 }
2740 func NewPgEnableDisableReply() api.Message {
2741         return &PgEnableDisableReply{}
2742 }
2743
2744 // IPSourceAndPortRangeCheckAddDel represents the VPP binary API message 'ip_source_and_port_range_check_add_del'.
2745 // Generated from '/usr/share/vpp/api/vpe.api.json', line 709:
2746 //
2747 //        ["ip_source_and_port_range_check_add_del",
2748 //            ["u16", "_vl_msg_id"],
2749 //            ["u32", "client_index"],
2750 //            ["u32", "context"],
2751 //            ["u8", "is_ipv6"],
2752 //            ["u8", "is_add"],
2753 //            ["u8", "mask_length"],
2754 //            ["u8", "address", 16],
2755 //            ["u8", "number_of_ranges"],
2756 //            ["u16", "low_ports", 32],
2757 //            ["u16", "high_ports", 32],
2758 //            ["u32", "vrf_id"],
2759 //            {"crc" : "0x0f8c6ba0"}
2760 //        ],
2761 //
2762 type IPSourceAndPortRangeCheckAddDel struct {
2763         IsIpv6         uint8
2764         IsAdd          uint8
2765         MaskLength     uint8
2766         Address        []byte `struc:"[16]byte"`
2767         NumberOfRanges uint8
2768         LowPorts       []uint16 `struc:"[32]uint16"`
2769         HighPorts      []uint16 `struc:"[32]uint16"`
2770         VrfID          uint32
2771 }
2772
2773 func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
2774         return "ip_source_and_port_range_check_add_del"
2775 }
2776 func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType {
2777         return api.RequestMessage
2778 }
2779 func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string {
2780         return "0f8c6ba0"
2781 }
2782 func NewIPSourceAndPortRangeCheckAddDel() api.Message {
2783         return &IPSourceAndPortRangeCheckAddDel{}
2784 }
2785
2786 // IPSourceAndPortRangeCheckAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
2787 // Generated from '/usr/share/vpp/api/vpe.api.json', line 723:
2788 //
2789 //        ["ip_source_and_port_range_check_add_del_reply",
2790 //            ["u16", "_vl_msg_id"],
2791 //            ["u32", "context"],
2792 //            ["i32", "retval"],
2793 //            {"crc" : "0x35df8160"}
2794 //        ],
2795 //
2796 type IPSourceAndPortRangeCheckAddDelReply struct {
2797         Retval int32
2798 }
2799
2800 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string {
2801         return "ip_source_and_port_range_check_add_del_reply"
2802 }
2803 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
2804         return api.ReplyMessage
2805 }
2806 func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string {
2807         return "35df8160"
2808 }
2809 func NewIPSourceAndPortRangeCheckAddDelReply() api.Message {
2810         return &IPSourceAndPortRangeCheckAddDelReply{}
2811 }
2812
2813 // IPSourceAndPortRangeCheckInterfaceAddDel represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
2814 // Generated from '/usr/share/vpp/api/vpe.api.json', line 729:
2815 //
2816 //        ["ip_source_and_port_range_check_interface_add_del",
2817 //            ["u16", "_vl_msg_id"],
2818 //            ["u32", "client_index"],
2819 //            ["u32", "context"],
2820 //            ["u8", "is_add"],
2821 //            ["u32", "sw_if_index"],
2822 //            ["u32", "tcp_in_vrf_id"],
2823 //            ["u32", "tcp_out_vrf_id"],
2824 //            ["u32", "udp_in_vrf_id"],
2825 //            ["u32", "udp_out_vrf_id"],
2826 //            {"crc" : "0x4a6438f1"}
2827 //        ],
2828 //
2829 type IPSourceAndPortRangeCheckInterfaceAddDel struct {
2830         IsAdd       uint8
2831         SwIfIndex   uint32
2832         TCPInVrfID  uint32
2833         TCPOutVrfID uint32
2834         UDPInVrfID  uint32
2835         UDPOutVrfID uint32
2836 }
2837
2838 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string {
2839         return "ip_source_and_port_range_check_interface_add_del"
2840 }
2841 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
2842         return api.RequestMessage
2843 }
2844 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string {
2845         return "4a6438f1"
2846 }
2847 func NewIPSourceAndPortRangeCheckInterfaceAddDel() api.Message {
2848         return &IPSourceAndPortRangeCheckInterfaceAddDel{}
2849 }
2850
2851 // IPSourceAndPortRangeCheckInterfaceAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
2852 // Generated from '/usr/share/vpp/api/vpe.api.json', line 741:
2853 //
2854 //        ["ip_source_and_port_range_check_interface_add_del_reply",
2855 //            ["u16", "_vl_msg_id"],
2856 //            ["u32", "context"],
2857 //            ["i32", "retval"],
2858 //            {"crc" : "0x6b940f04"}
2859 //        ],
2860 //
2861 type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
2862         Retval int32
2863 }
2864
2865 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string {
2866         return "ip_source_and_port_range_check_interface_add_del_reply"
2867 }
2868 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
2869         return api.ReplyMessage
2870 }
2871 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string {
2872         return "6b940f04"
2873 }
2874 func NewIPSourceAndPortRangeCheckInterfaceAddDelReply() api.Message {
2875         return &IPSourceAndPortRangeCheckInterfaceAddDelReply{}
2876 }
2877
2878 // DeleteSubif represents the VPP binary API message 'delete_subif'.
2879 // Generated from '/usr/share/vpp/api/vpe.api.json', line 747:
2880 //
2881 //        ["delete_subif",
2882 //            ["u16", "_vl_msg_id"],
2883 //            ["u32", "client_index"],
2884 //            ["u32", "context"],
2885 //            ["u32", "sw_if_index"],
2886 //            {"crc" : "0x6038f848"}
2887 //        ],
2888 //
2889 type DeleteSubif struct {
2890         SwIfIndex uint32
2891 }
2892
2893 func (*DeleteSubif) GetMessageName() string {
2894         return "delete_subif"
2895 }
2896 func (*DeleteSubif) GetMessageType() api.MessageType {
2897         return api.RequestMessage
2898 }
2899 func (*DeleteSubif) GetCrcString() string {
2900         return "6038f848"
2901 }
2902 func NewDeleteSubif() api.Message {
2903         return &DeleteSubif{}
2904 }
2905
2906 // DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'.
2907 // Generated from '/usr/share/vpp/api/vpe.api.json', line 754:
2908 //
2909 //        ["delete_subif_reply",
2910 //            ["u16", "_vl_msg_id"],
2911 //            ["u32", "context"],
2912 //            ["i32", "retval"],
2913 //            {"crc" : "0x9d6015dc"}
2914 //        ],
2915 //
2916 type DeleteSubifReply struct {
2917         Retval int32
2918 }
2919
2920 func (*DeleteSubifReply) GetMessageName() string {
2921         return "delete_subif_reply"
2922 }
2923 func (*DeleteSubifReply) GetMessageType() api.MessageType {
2924         return api.ReplyMessage
2925 }
2926 func (*DeleteSubifReply) GetCrcString() string {
2927         return "9d6015dc"
2928 }
2929 func NewDeleteSubifReply() api.Message {
2930         return &DeleteSubifReply{}
2931 }
2932
2933 // Punt represents the VPP binary API message 'punt'.
2934 // Generated from '/usr/share/vpp/api/vpe.api.json', line 760:
2935 //
2936 //        ["punt",
2937 //            ["u16", "_vl_msg_id"],
2938 //            ["u32", "client_index"],
2939 //            ["u32", "context"],
2940 //            ["u8", "is_add"],
2941 //            ["u8", "ipv"],
2942 //            ["u8", "l4_protocol"],
2943 //            ["u16", "l4_port"],
2944 //            {"crc" : "0x4559c976"}
2945 //        ],
2946 //
2947 type Punt struct {
2948         IsAdd      uint8
2949         Ipv        uint8
2950         L4Protocol uint8
2951         L4Port     uint16
2952 }
2953
2954 func (*Punt) GetMessageName() string {
2955         return "punt"
2956 }
2957 func (*Punt) GetMessageType() api.MessageType {
2958         return api.RequestMessage
2959 }
2960 func (*Punt) GetCrcString() string {
2961         return "4559c976"
2962 }
2963 func NewPunt() api.Message {
2964         return &Punt{}
2965 }
2966
2967 // PuntReply represents the VPP binary API message 'punt_reply'.
2968 // Generated from '/usr/share/vpp/api/vpe.api.json', line 770:
2969 //
2970 //        ["punt_reply",
2971 //            ["u16", "_vl_msg_id"],
2972 //            ["u32", "context"],
2973 //            ["i32", "retval"],
2974 //            {"crc" : "0xcca27fbe"}
2975 //        ],
2976 //
2977 type PuntReply struct {
2978         Retval int32
2979 }
2980
2981 func (*PuntReply) GetMessageName() string {
2982         return "punt_reply"
2983 }
2984 func (*PuntReply) GetMessageType() api.MessageType {
2985         return api.ReplyMessage
2986 }
2987 func (*PuntReply) GetCrcString() string {
2988         return "cca27fbe"
2989 }
2990 func NewPuntReply() api.Message {
2991         return &PuntReply{}
2992 }
2993
2994 // FeatureEnableDisable represents the VPP binary API message 'feature_enable_disable'.
2995 // Generated from '/usr/share/vpp/api/vpe.api.json', line 776:
2996 //
2997 //        ["feature_enable_disable",
2998 //            ["u16", "_vl_msg_id"],
2999 //            ["u32", "client_index"],
3000 //            ["u32", "context"],
3001 //            ["u32", "sw_if_index"],
3002 //            ["u8", "enable"],
3003 //            ["u8", "arc_name", 64],
3004 //            ["u8", "feature_name", 64],
3005 //            {"crc" : "0xbc86393b"}
3006 //        ],
3007 //
3008 type FeatureEnableDisable struct {
3009         SwIfIndex   uint32
3010         Enable      uint8
3011         ArcName     []byte `struc:"[64]byte"`
3012         FeatureName []byte `struc:"[64]byte"`
3013 }
3014
3015 func (*FeatureEnableDisable) GetMessageName() string {
3016         return "feature_enable_disable"
3017 }
3018 func (*FeatureEnableDisable) GetMessageType() api.MessageType {
3019         return api.RequestMessage
3020 }
3021 func (*FeatureEnableDisable) GetCrcString() string {
3022         return "bc86393b"
3023 }
3024 func NewFeatureEnableDisable() api.Message {
3025         return &FeatureEnableDisable{}
3026 }
3027
3028 // FeatureEnableDisableReply represents the VPP binary API message 'feature_enable_disable_reply'.
3029 // Generated from '/usr/share/vpp/api/vpe.api.json', line 786:
3030 //
3031 //        ["feature_enable_disable_reply",
3032 //            ["u16", "_vl_msg_id"],
3033 //            ["u32", "context"],
3034 //            ["i32", "retval"],
3035 //            {"crc" : "0xf6e14373"}
3036 //        ]
3037 //
3038 type FeatureEnableDisableReply struct {
3039         Retval int32
3040 }
3041
3042 func (*FeatureEnableDisableReply) GetMessageName() string {
3043         return "feature_enable_disable_reply"
3044 }
3045 func (*FeatureEnableDisableReply) GetMessageType() api.MessageType {
3046         return api.ReplyMessage
3047 }
3048 func (*FeatureEnableDisableReply) GetCrcString() string {
3049         return "f6e14373"
3050 }
3051 func NewFeatureEnableDisableReply() api.Message {
3052         return &FeatureEnableDisableReply{}
3053 }