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