Merge "Add support for jumbo frames to libmemif"
[govpp.git] / examples / bin_api / acl / acl.go
1 // Code generated by govpp binapi-generator DO NOT EDIT.
2 // Package acl represents the VPP binary API of the 'acl' VPP module.
3 // Generated from '../../bin_api/acl.api.json'
4 package acl
5
6 import "git.fd.io/govpp.git/api"
7
8 // VlApiVersion contains version of the API.
9 const VlAPIVersion = 0x1db2ece9
10
11 // ACLRule represents the VPP binary API data type 'acl_rule'.
12 // Generated from '../../bin_api/acl.api.json', line 836:
13 //
14 //            "acl_rule",
15 //            [
16 //                "u8",
17 //                "is_permit"
18 //            ],
19 //            [
20 //                "u8",
21 //                "is_ipv6"
22 //            ],
23 //            [
24 //                "u8",
25 //                "src_ip_addr",
26 //                16
27 //            ],
28 //            [
29 //                "u8",
30 //                "src_ip_prefix_len"
31 //            ],
32 //            [
33 //                "u8",
34 //                "dst_ip_addr",
35 //                16
36 //            ],
37 //            [
38 //                "u8",
39 //                "dst_ip_prefix_len"
40 //            ],
41 //            [
42 //                "u8",
43 //                "proto"
44 //            ],
45 //            [
46 //                "u16",
47 //                "srcport_or_icmptype_first"
48 //            ],
49 //            [
50 //                "u16",
51 //                "srcport_or_icmptype_last"
52 //            ],
53 //            [
54 //                "u16",
55 //                "dstport_or_icmpcode_first"
56 //            ],
57 //            [
58 //                "u16",
59 //                "dstport_or_icmpcode_last"
60 //            ],
61 //            [
62 //                "u8",
63 //                "tcp_flags_mask"
64 //            ],
65 //            [
66 //                "u8",
67 //                "tcp_flags_value"
68 //            ],
69 //            {
70 //                "crc": "0x6f99bf4d"
71 //            }
72 //
73 type ACLRule struct {
74         IsPermit               uint8
75         IsIpv6                 uint8
76         SrcIPAddr              []byte `struc:"[16]byte"`
77         SrcIPPrefixLen         uint8
78         DstIPAddr              []byte `struc:"[16]byte"`
79         DstIPPrefixLen         uint8
80         Proto                  uint8
81         SrcportOrIcmptypeFirst uint16
82         SrcportOrIcmptypeLast  uint16
83         DstportOrIcmpcodeFirst uint16
84         DstportOrIcmpcodeLast  uint16
85         TCPFlagsMask           uint8
86         TCPFlagsValue          uint8
87 }
88
89 func (*ACLRule) GetTypeName() string {
90         return "acl_rule"
91 }
92 func (*ACLRule) GetCrcString() string {
93         return "6f99bf4d"
94 }
95
96 // MacipACLRule represents the VPP binary API data type 'macip_acl_rule'.
97 // Generated from '../../bin_api/acl.api.json', line 896:
98 //
99 //            "macip_acl_rule",
100 //            [
101 //                "u8",
102 //                "is_permit"
103 //            ],
104 //            [
105 //                "u8",
106 //                "is_ipv6"
107 //            ],
108 //            [
109 //                "u8",
110 //                "src_mac",
111 //                6
112 //            ],
113 //            [
114 //                "u8",
115 //                "src_mac_mask",
116 //                6
117 //            ],
118 //            [
119 //                "u8",
120 //                "src_ip_addr",
121 //                16
122 //            ],
123 //            [
124 //                "u8",
125 //                "src_ip_prefix_len"
126 //            ],
127 //            {
128 //                "crc": "0x70589f1e"
129 //            }
130 //
131 type MacipACLRule struct {
132         IsPermit       uint8
133         IsIpv6         uint8
134         SrcMac         []byte `struc:"[6]byte"`
135         SrcMacMask     []byte `struc:"[6]byte"`
136         SrcIPAddr      []byte `struc:"[16]byte"`
137         SrcIPPrefixLen uint8
138 }
139
140 func (*MacipACLRule) GetTypeName() string {
141         return "macip_acl_rule"
142 }
143 func (*MacipACLRule) GetCrcString() string {
144         return "70589f1e"
145 }
146
147 // ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'.
148 // Generated from '../../bin_api/acl.api.json', line 87:
149 //
150 //            "acl_plugin_get_version",
151 //            [
152 //                "u16",
153 //                "_vl_msg_id"
154 //            ],
155 //            [
156 //                "u32",
157 //                "client_index"
158 //            ],
159 //            [
160 //                "u32",
161 //                "context"
162 //            ],
163 //            {
164 //                "crc": "0x51077d14"
165 //            }
166 //
167 type ACLPluginGetVersion struct {
168 }
169
170 func (*ACLPluginGetVersion) GetMessageName() string {
171         return "acl_plugin_get_version"
172 }
173 func (*ACLPluginGetVersion) GetMessageType() api.MessageType {
174         return api.RequestMessage
175 }
176 func (*ACLPluginGetVersion) GetCrcString() string {
177         return "51077d14"
178 }
179 func NewACLPluginGetVersion() api.Message {
180         return &ACLPluginGetVersion{}
181 }
182
183 // ACLPluginGetVersionReply represents the VPP binary API message 'acl_plugin_get_version_reply'.
184 // Generated from '../../bin_api/acl.api.json', line 105:
185 //
186 //            "acl_plugin_get_version_reply",
187 //            [
188 //                "u16",
189 //                "_vl_msg_id"
190 //            ],
191 //            [
192 //                "u32",
193 //                "context"
194 //            ],
195 //            [
196 //                "u32",
197 //                "major"
198 //            ],
199 //            [
200 //                "u32",
201 //                "minor"
202 //            ],
203 //            {
204 //                "crc": "0x9b32cf86"
205 //            }
206 //
207 type ACLPluginGetVersionReply struct {
208         Major uint32
209         Minor uint32
210 }
211
212 func (*ACLPluginGetVersionReply) GetMessageName() string {
213         return "acl_plugin_get_version_reply"
214 }
215 func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType {
216         return api.ReplyMessage
217 }
218 func (*ACLPluginGetVersionReply) GetCrcString() string {
219         return "9b32cf86"
220 }
221 func NewACLPluginGetVersionReply() api.Message {
222         return &ACLPluginGetVersionReply{}
223 }
224
225 // ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'.
226 // Generated from '../../bin_api/acl.api.json', line 127:
227 //
228 //            "acl_plugin_control_ping",
229 //            [
230 //                "u16",
231 //                "_vl_msg_id"
232 //            ],
233 //            [
234 //                "u32",
235 //                "client_index"
236 //            ],
237 //            [
238 //                "u32",
239 //                "context"
240 //            ],
241 //            {
242 //                "crc": "0x51077d14"
243 //            }
244 //
245 type ACLPluginControlPing struct {
246 }
247
248 func (*ACLPluginControlPing) GetMessageName() string {
249         return "acl_plugin_control_ping"
250 }
251 func (*ACLPluginControlPing) GetMessageType() api.MessageType {
252         return api.RequestMessage
253 }
254 func (*ACLPluginControlPing) GetCrcString() string {
255         return "51077d14"
256 }
257 func NewACLPluginControlPing() api.Message {
258         return &ACLPluginControlPing{}
259 }
260
261 // ACLPluginControlPingReply represents the VPP binary API message 'acl_plugin_control_ping_reply'.
262 // Generated from '../../bin_api/acl.api.json', line 145:
263 //
264 //            "acl_plugin_control_ping_reply",
265 //            [
266 //                "u16",
267 //                "_vl_msg_id"
268 //            ],
269 //            [
270 //                "u32",
271 //                "context"
272 //            ],
273 //            [
274 //                "i32",
275 //                "retval"
276 //            ],
277 //            [
278 //                "u32",
279 //                "client_index"
280 //            ],
281 //            [
282 //                "u32",
283 //                "vpe_pid"
284 //            ],
285 //            {
286 //                "crc": "0xf6b0b8ca"
287 //            }
288 //
289 type ACLPluginControlPingReply struct {
290         Retval      int32
291         ClientIndex uint32
292         VpePid      uint32
293 }
294
295 func (*ACLPluginControlPingReply) GetMessageName() string {
296         return "acl_plugin_control_ping_reply"
297 }
298 func (*ACLPluginControlPingReply) GetMessageType() api.MessageType {
299         return api.ReplyMessage
300 }
301 func (*ACLPluginControlPingReply) GetCrcString() string {
302         return "f6b0b8ca"
303 }
304 func NewACLPluginControlPingReply() api.Message {
305         return &ACLPluginControlPingReply{}
306 }
307
308 // ACLAddReplace represents the VPP binary API message 'acl_add_replace'.
309 // Generated from '../../bin_api/acl.api.json', line 171:
310 //
311 //            "acl_add_replace",
312 //            [
313 //                "u16",
314 //                "_vl_msg_id"
315 //            ],
316 //            [
317 //                "u32",
318 //                "client_index"
319 //            ],
320 //            [
321 //                "u32",
322 //                "context"
323 //            ],
324 //            [
325 //                "u32",
326 //                "acl_index"
327 //            ],
328 //            [
329 //                "u8",
330 //                "tag",
331 //                64
332 //            ],
333 //            [
334 //                "u32",
335 //                "count"
336 //            ],
337 //            [
338 //                "vl_api_acl_rule_t",
339 //                "r",
340 //                0,
341 //                "count"
342 //            ],
343 //            {
344 //                "crc": "0xe839997e"
345 //            }
346 //
347 type ACLAddReplace struct {
348         ACLIndex uint32
349         Tag      []byte `struc:"[64]byte"`
350         Count    uint32 `struc:"sizeof=R"`
351         R        []ACLRule
352 }
353
354 func (*ACLAddReplace) GetMessageName() string {
355         return "acl_add_replace"
356 }
357 func (*ACLAddReplace) GetMessageType() api.MessageType {
358         return api.RequestMessage
359 }
360 func (*ACLAddReplace) GetCrcString() string {
361         return "e839997e"
362 }
363 func NewACLAddReplace() api.Message {
364         return &ACLAddReplace{}
365 }
366
367 // ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'.
368 // Generated from '../../bin_api/acl.api.json', line 208:
369 //
370 //            "acl_add_replace_reply",
371 //            [
372 //                "u16",
373 //                "_vl_msg_id"
374 //            ],
375 //            [
376 //                "u32",
377 //                "context"
378 //            ],
379 //            [
380 //                "u32",
381 //                "acl_index"
382 //            ],
383 //            [
384 //                "i32",
385 //                "retval"
386 //            ],
387 //            {
388 //                "crc": "0xac407b0c"
389 //            }
390 //
391 type ACLAddReplaceReply struct {
392         ACLIndex uint32
393         Retval   int32
394 }
395
396 func (*ACLAddReplaceReply) GetMessageName() string {
397         return "acl_add_replace_reply"
398 }
399 func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
400         return api.ReplyMessage
401 }
402 func (*ACLAddReplaceReply) GetCrcString() string {
403         return "ac407b0c"
404 }
405 func NewACLAddReplaceReply() api.Message {
406         return &ACLAddReplaceReply{}
407 }
408
409 // ACLDel represents the VPP binary API message 'acl_del'.
410 // Generated from '../../bin_api/acl.api.json', line 230:
411 //
412 //            "acl_del",
413 //            [
414 //                "u16",
415 //                "_vl_msg_id"
416 //            ],
417 //            [
418 //                "u32",
419 //                "client_index"
420 //            ],
421 //            [
422 //                "u32",
423 //                "context"
424 //            ],
425 //            [
426 //                "u32",
427 //                "acl_index"
428 //            ],
429 //            {
430 //                "crc": "0xef34fea4"
431 //            }
432 //
433 type ACLDel struct {
434         ACLIndex uint32
435 }
436
437 func (*ACLDel) GetMessageName() string {
438         return "acl_del"
439 }
440 func (*ACLDel) GetMessageType() api.MessageType {
441         return api.RequestMessage
442 }
443 func (*ACLDel) GetCrcString() string {
444         return "ef34fea4"
445 }
446 func NewACLDel() api.Message {
447         return &ACLDel{}
448 }
449
450 // ACLDelReply represents the VPP binary API message 'acl_del_reply'.
451 // Generated from '../../bin_api/acl.api.json', line 252:
452 //
453 //            "acl_del_reply",
454 //            [
455 //                "u16",
456 //                "_vl_msg_id"
457 //            ],
458 //            [
459 //                "u32",
460 //                "context"
461 //            ],
462 //            [
463 //                "i32",
464 //                "retval"
465 //            ],
466 //            {
467 //                "crc": "0xe8d4e804"
468 //            }
469 //
470 type ACLDelReply struct {
471         Retval int32
472 }
473
474 func (*ACLDelReply) GetMessageName() string {
475         return "acl_del_reply"
476 }
477 func (*ACLDelReply) GetMessageType() api.MessageType {
478         return api.ReplyMessage
479 }
480 func (*ACLDelReply) GetCrcString() string {
481         return "e8d4e804"
482 }
483 func NewACLDelReply() api.Message {
484         return &ACLDelReply{}
485 }
486
487 // ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'.
488 // Generated from '../../bin_api/acl.api.json', line 270:
489 //
490 //            "acl_interface_add_del",
491 //            [
492 //                "u16",
493 //                "_vl_msg_id"
494 //            ],
495 //            [
496 //                "u32",
497 //                "client_index"
498 //            ],
499 //            [
500 //                "u32",
501 //                "context"
502 //            ],
503 //            [
504 //                "u8",
505 //                "is_add"
506 //            ],
507 //            [
508 //                "u8",
509 //                "is_input"
510 //            ],
511 //            [
512 //                "u32",
513 //                "sw_if_index"
514 //            ],
515 //            [
516 //                "u32",
517 //                "acl_index"
518 //            ],
519 //            {
520 //                "crc": "0x0b2aedd1"
521 //            }
522 //
523 type ACLInterfaceAddDel struct {
524         IsAdd     uint8
525         IsInput   uint8
526         SwIfIndex uint32
527         ACLIndex  uint32
528 }
529
530 func (*ACLInterfaceAddDel) GetMessageName() string {
531         return "acl_interface_add_del"
532 }
533 func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
534         return api.RequestMessage
535 }
536 func (*ACLInterfaceAddDel) GetCrcString() string {
537         return "0b2aedd1"
538 }
539 func NewACLInterfaceAddDel() api.Message {
540         return &ACLInterfaceAddDel{}
541 }
542
543 // ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'.
544 // Generated from '../../bin_api/acl.api.json', line 304:
545 //
546 //            "acl_interface_add_del_reply",
547 //            [
548 //                "u16",
549 //                "_vl_msg_id"
550 //            ],
551 //            [
552 //                "u32",
553 //                "context"
554 //            ],
555 //            [
556 //                "i32",
557 //                "retval"
558 //            ],
559 //            {
560 //                "crc": "0xe8d4e804"
561 //            }
562 //
563 type ACLInterfaceAddDelReply struct {
564         Retval int32
565 }
566
567 func (*ACLInterfaceAddDelReply) GetMessageName() string {
568         return "acl_interface_add_del_reply"
569 }
570 func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
571         return api.ReplyMessage
572 }
573 func (*ACLInterfaceAddDelReply) GetCrcString() string {
574         return "e8d4e804"
575 }
576 func NewACLInterfaceAddDelReply() api.Message {
577         return &ACLInterfaceAddDelReply{}
578 }
579
580 // ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'.
581 // Generated from '../../bin_api/acl.api.json', line 322:
582 //
583 //            "acl_interface_set_acl_list",
584 //            [
585 //                "u16",
586 //                "_vl_msg_id"
587 //            ],
588 //            [
589 //                "u32",
590 //                "client_index"
591 //            ],
592 //            [
593 //                "u32",
594 //                "context"
595 //            ],
596 //            [
597 //                "u32",
598 //                "sw_if_index"
599 //            ],
600 //            [
601 //                "u8",
602 //                "count"
603 //            ],
604 //            [
605 //                "u8",
606 //                "n_input"
607 //            ],
608 //            [
609 //                "u32",
610 //                "acls",
611 //                0,
612 //                "count"
613 //            ],
614 //            {
615 //                "crc": "0x8baece38"
616 //            }
617 //
618 type ACLInterfaceSetACLList struct {
619         SwIfIndex uint32
620         Count     uint8 `struc:"sizeof=Acls"`
621         NInput    uint8
622         Acls      []uint32
623 }
624
625 func (*ACLInterfaceSetACLList) GetMessageName() string {
626         return "acl_interface_set_acl_list"
627 }
628 func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
629         return api.RequestMessage
630 }
631 func (*ACLInterfaceSetACLList) GetCrcString() string {
632         return "8baece38"
633 }
634 func NewACLInterfaceSetACLList() api.Message {
635         return &ACLInterfaceSetACLList{}
636 }
637
638 // ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'.
639 // Generated from '../../bin_api/acl.api.json', line 358:
640 //
641 //            "acl_interface_set_acl_list_reply",
642 //            [
643 //                "u16",
644 //                "_vl_msg_id"
645 //            ],
646 //            [
647 //                "u32",
648 //                "context"
649 //            ],
650 //            [
651 //                "i32",
652 //                "retval"
653 //            ],
654 //            {
655 //                "crc": "0xe8d4e804"
656 //            }
657 //
658 type ACLInterfaceSetACLListReply struct {
659         Retval int32
660 }
661
662 func (*ACLInterfaceSetACLListReply) GetMessageName() string {
663         return "acl_interface_set_acl_list_reply"
664 }
665 func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
666         return api.ReplyMessage
667 }
668 func (*ACLInterfaceSetACLListReply) GetCrcString() string {
669         return "e8d4e804"
670 }
671 func NewACLInterfaceSetACLListReply() api.Message {
672         return &ACLInterfaceSetACLListReply{}
673 }
674
675 // ACLDump represents the VPP binary API message 'acl_dump'.
676 // Generated from '../../bin_api/acl.api.json', line 376:
677 //
678 //            "acl_dump",
679 //            [
680 //                "u16",
681 //                "_vl_msg_id"
682 //            ],
683 //            [
684 //                "u32",
685 //                "client_index"
686 //            ],
687 //            [
688 //                "u32",
689 //                "context"
690 //            ],
691 //            [
692 //                "u32",
693 //                "acl_index"
694 //            ],
695 //            {
696 //                "crc": "0xef34fea4"
697 //            }
698 //
699 type ACLDump struct {
700         ACLIndex uint32
701 }
702
703 func (*ACLDump) GetMessageName() string {
704         return "acl_dump"
705 }
706 func (*ACLDump) GetMessageType() api.MessageType {
707         return api.RequestMessage
708 }
709 func (*ACLDump) GetCrcString() string {
710         return "ef34fea4"
711 }
712 func NewACLDump() api.Message {
713         return &ACLDump{}
714 }
715
716 // ACLDetails represents the VPP binary API message 'acl_details'.
717 // Generated from '../../bin_api/acl.api.json', line 398:
718 //
719 //            "acl_details",
720 //            [
721 //                "u16",
722 //                "_vl_msg_id"
723 //            ],
724 //            [
725 //                "u32",
726 //                "context"
727 //            ],
728 //            [
729 //                "u32",
730 //                "acl_index"
731 //            ],
732 //            [
733 //                "u8",
734 //                "tag",
735 //                64
736 //            ],
737 //            [
738 //                "u32",
739 //                "count"
740 //            ],
741 //            [
742 //                "vl_api_acl_rule_t",
743 //                "r",
744 //                0,
745 //                "count"
746 //            ],
747 //            {
748 //                "crc": "0x5bd895be"
749 //            }
750 //
751 type ACLDetails struct {
752         ACLIndex uint32
753         Tag      []byte `struc:"[64]byte"`
754         Count    uint32 `struc:"sizeof=R"`
755         R        []ACLRule
756 }
757
758 func (*ACLDetails) GetMessageName() string {
759         return "acl_details"
760 }
761 func (*ACLDetails) GetMessageType() api.MessageType {
762         return api.ReplyMessage
763 }
764 func (*ACLDetails) GetCrcString() string {
765         return "5bd895be"
766 }
767 func NewACLDetails() api.Message {
768         return &ACLDetails{}
769 }
770
771 // ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'.
772 // Generated from '../../bin_api/acl.api.json', line 431:
773 //
774 //            "acl_interface_list_dump",
775 //            [
776 //                "u16",
777 //                "_vl_msg_id"
778 //            ],
779 //            [
780 //                "u32",
781 //                "client_index"
782 //            ],
783 //            [
784 //                "u32",
785 //                "context"
786 //            ],
787 //            [
788 //                "u32",
789 //                "sw_if_index"
790 //            ],
791 //            {
792 //                "crc": "0x529cb13f"
793 //            }
794 //
795 type ACLInterfaceListDump struct {
796         SwIfIndex uint32
797 }
798
799 func (*ACLInterfaceListDump) GetMessageName() string {
800         return "acl_interface_list_dump"
801 }
802 func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
803         return api.RequestMessage
804 }
805 func (*ACLInterfaceListDump) GetCrcString() string {
806         return "529cb13f"
807 }
808 func NewACLInterfaceListDump() api.Message {
809         return &ACLInterfaceListDump{}
810 }
811
812 // ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'.
813 // Generated from '../../bin_api/acl.api.json', line 453:
814 //
815 //            "acl_interface_list_details",
816 //            [
817 //                "u16",
818 //                "_vl_msg_id"
819 //            ],
820 //            [
821 //                "u32",
822 //                "context"
823 //            ],
824 //            [
825 //                "u32",
826 //                "sw_if_index"
827 //            ],
828 //            [
829 //                "u8",
830 //                "count"
831 //            ],
832 //            [
833 //                "u8",
834 //                "n_input"
835 //            ],
836 //            [
837 //                "u32",
838 //                "acls",
839 //                0,
840 //                "count"
841 //            ],
842 //            {
843 //                "crc": "0xd5e80809"
844 //            }
845 //
846 type ACLInterfaceListDetails struct {
847         SwIfIndex uint32
848         Count     uint8 `struc:"sizeof=Acls"`
849         NInput    uint8
850         Acls      []uint32
851 }
852
853 func (*ACLInterfaceListDetails) GetMessageName() string {
854         return "acl_interface_list_details"
855 }
856 func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
857         return api.ReplyMessage
858 }
859 func (*ACLInterfaceListDetails) GetCrcString() string {
860         return "d5e80809"
861 }
862 func NewACLInterfaceListDetails() api.Message {
863         return &ACLInterfaceListDetails{}
864 }
865
866 // MacipACLAdd represents the VPP binary API message 'macip_acl_add'.
867 // Generated from '../../bin_api/acl.api.json', line 485:
868 //
869 //            "macip_acl_add",
870 //            [
871 //                "u16",
872 //                "_vl_msg_id"
873 //            ],
874 //            [
875 //                "u32",
876 //                "client_index"
877 //            ],
878 //            [
879 //                "u32",
880 //                "context"
881 //            ],
882 //            [
883 //                "u8",
884 //                "tag",
885 //                64
886 //            ],
887 //            [
888 //                "u32",
889 //                "count"
890 //            ],
891 //            [
892 //                "vl_api_macip_acl_rule_t",
893 //                "r",
894 //                0,
895 //                "count"
896 //            ],
897 //            {
898 //                "crc": "0xb3d3d65a"
899 //            }
900 //
901 type MacipACLAdd struct {
902         Tag   []byte `struc:"[64]byte"`
903         Count uint32 `struc:"sizeof=R"`
904         R     []MacipACLRule
905 }
906
907 func (*MacipACLAdd) GetMessageName() string {
908         return "macip_acl_add"
909 }
910 func (*MacipACLAdd) GetMessageType() api.MessageType {
911         return api.RequestMessage
912 }
913 func (*MacipACLAdd) GetCrcString() string {
914         return "b3d3d65a"
915 }
916 func NewMacipACLAdd() api.Message {
917         return &MacipACLAdd{}
918 }
919
920 // MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'.
921 // Generated from '../../bin_api/acl.api.json', line 518:
922 //
923 //            "macip_acl_add_reply",
924 //            [
925 //                "u16",
926 //                "_vl_msg_id"
927 //            ],
928 //            [
929 //                "u32",
930 //                "context"
931 //            ],
932 //            [
933 //                "u32",
934 //                "acl_index"
935 //            ],
936 //            [
937 //                "i32",
938 //                "retval"
939 //            ],
940 //            {
941 //                "crc": "0xac407b0c"
942 //            }
943 //
944 type MacipACLAddReply struct {
945         ACLIndex uint32
946         Retval   int32
947 }
948
949 func (*MacipACLAddReply) GetMessageName() string {
950         return "macip_acl_add_reply"
951 }
952 func (*MacipACLAddReply) GetMessageType() api.MessageType {
953         return api.ReplyMessage
954 }
955 func (*MacipACLAddReply) GetCrcString() string {
956         return "ac407b0c"
957 }
958 func NewMacipACLAddReply() api.Message {
959         return &MacipACLAddReply{}
960 }
961
962 // MacipACLAddReplace represents the VPP binary API message 'macip_acl_add_replace'.
963 // Generated from '../../bin_api/acl.api.json', line 540:
964 //
965 //            "macip_acl_add_replace",
966 //            [
967 //                "u16",
968 //                "_vl_msg_id"
969 //            ],
970 //            [
971 //                "u32",
972 //                "client_index"
973 //            ],
974 //            [
975 //                "u32",
976 //                "context"
977 //            ],
978 //            [
979 //                "u32",
980 //                "acl_index"
981 //            ],
982 //            [
983 //                "u8",
984 //                "tag",
985 //                64
986 //            ],
987 //            [
988 //                "u32",
989 //                "count"
990 //            ],
991 //            [
992 //                "vl_api_macip_acl_rule_t",
993 //                "r",
994 //                0,
995 //                "count"
996 //            ],
997 //            {
998 //                "crc": "0xa0e8c01b"
999 //            }
1000 //
1001 type MacipACLAddReplace struct {
1002         ACLIndex uint32
1003         Tag      []byte `struc:"[64]byte"`
1004         Count    uint32 `struc:"sizeof=R"`
1005         R        []MacipACLRule
1006 }
1007
1008 func (*MacipACLAddReplace) GetMessageName() string {
1009         return "macip_acl_add_replace"
1010 }
1011 func (*MacipACLAddReplace) GetMessageType() api.MessageType {
1012         return api.RequestMessage
1013 }
1014 func (*MacipACLAddReplace) GetCrcString() string {
1015         return "a0e8c01b"
1016 }
1017 func NewMacipACLAddReplace() api.Message {
1018         return &MacipACLAddReplace{}
1019 }
1020
1021 // MacipACLAddReplaceReply represents the VPP binary API message 'macip_acl_add_replace_reply'.
1022 // Generated from '../../bin_api/acl.api.json', line 577:
1023 //
1024 //            "macip_acl_add_replace_reply",
1025 //            [
1026 //                "u16",
1027 //                "_vl_msg_id"
1028 //            ],
1029 //            [
1030 //                "u32",
1031 //                "context"
1032 //            ],
1033 //            [
1034 //                "u32",
1035 //                "acl_index"
1036 //            ],
1037 //            [
1038 //                "i32",
1039 //                "retval"
1040 //            ],
1041 //            {
1042 //                "crc": "0xac407b0c"
1043 //            }
1044 //
1045 type MacipACLAddReplaceReply struct {
1046         ACLIndex uint32
1047         Retval   int32
1048 }
1049
1050 func (*MacipACLAddReplaceReply) GetMessageName() string {
1051         return "macip_acl_add_replace_reply"
1052 }
1053 func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType {
1054         return api.ReplyMessage
1055 }
1056 func (*MacipACLAddReplaceReply) GetCrcString() string {
1057         return "ac407b0c"
1058 }
1059 func NewMacipACLAddReplaceReply() api.Message {
1060         return &MacipACLAddReplaceReply{}
1061 }
1062
1063 // MacipACLDel represents the VPP binary API message 'macip_acl_del'.
1064 // Generated from '../../bin_api/acl.api.json', line 599:
1065 //
1066 //            "macip_acl_del",
1067 //            [
1068 //                "u16",
1069 //                "_vl_msg_id"
1070 //            ],
1071 //            [
1072 //                "u32",
1073 //                "client_index"
1074 //            ],
1075 //            [
1076 //                "u32",
1077 //                "context"
1078 //            ],
1079 //            [
1080 //                "u32",
1081 //                "acl_index"
1082 //            ],
1083 //            {
1084 //                "crc": "0xef34fea4"
1085 //            }
1086 //
1087 type MacipACLDel struct {
1088         ACLIndex uint32
1089 }
1090
1091 func (*MacipACLDel) GetMessageName() string {
1092         return "macip_acl_del"
1093 }
1094 func (*MacipACLDel) GetMessageType() api.MessageType {
1095         return api.RequestMessage
1096 }
1097 func (*MacipACLDel) GetCrcString() string {
1098         return "ef34fea4"
1099 }
1100 func NewMacipACLDel() api.Message {
1101         return &MacipACLDel{}
1102 }
1103
1104 // MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'.
1105 // Generated from '../../bin_api/acl.api.json', line 621:
1106 //
1107 //            "macip_acl_del_reply",
1108 //            [
1109 //                "u16",
1110 //                "_vl_msg_id"
1111 //            ],
1112 //            [
1113 //                "u32",
1114 //                "context"
1115 //            ],
1116 //            [
1117 //                "i32",
1118 //                "retval"
1119 //            ],
1120 //            {
1121 //                "crc": "0xe8d4e804"
1122 //            }
1123 //
1124 type MacipACLDelReply struct {
1125         Retval int32
1126 }
1127
1128 func (*MacipACLDelReply) GetMessageName() string {
1129         return "macip_acl_del_reply"
1130 }
1131 func (*MacipACLDelReply) GetMessageType() api.MessageType {
1132         return api.ReplyMessage
1133 }
1134 func (*MacipACLDelReply) GetCrcString() string {
1135         return "e8d4e804"
1136 }
1137 func NewMacipACLDelReply() api.Message {
1138         return &MacipACLDelReply{}
1139 }
1140
1141 // MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'.
1142 // Generated from '../../bin_api/acl.api.json', line 639:
1143 //
1144 //            "macip_acl_interface_add_del",
1145 //            [
1146 //                "u16",
1147 //                "_vl_msg_id"
1148 //            ],
1149 //            [
1150 //                "u32",
1151 //                "client_index"
1152 //            ],
1153 //            [
1154 //                "u32",
1155 //                "context"
1156 //            ],
1157 //            [
1158 //                "u8",
1159 //                "is_add"
1160 //            ],
1161 //            [
1162 //                "u32",
1163 //                "sw_if_index"
1164 //            ],
1165 //            [
1166 //                "u32",
1167 //                "acl_index"
1168 //            ],
1169 //            {
1170 //                "crc": "0x6a6be97c"
1171 //            }
1172 //
1173 type MacipACLInterfaceAddDel struct {
1174         IsAdd     uint8
1175         SwIfIndex uint32
1176         ACLIndex  uint32
1177 }
1178
1179 func (*MacipACLInterfaceAddDel) GetMessageName() string {
1180         return "macip_acl_interface_add_del"
1181 }
1182 func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
1183         return api.RequestMessage
1184 }
1185 func (*MacipACLInterfaceAddDel) GetCrcString() string {
1186         return "6a6be97c"
1187 }
1188 func NewMacipACLInterfaceAddDel() api.Message {
1189         return &MacipACLInterfaceAddDel{}
1190 }
1191
1192 // MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'.
1193 // Generated from '../../bin_api/acl.api.json', line 669:
1194 //
1195 //            "macip_acl_interface_add_del_reply",
1196 //            [
1197 //                "u16",
1198 //                "_vl_msg_id"
1199 //            ],
1200 //            [
1201 //                "u32",
1202 //                "context"
1203 //            ],
1204 //            [
1205 //                "i32",
1206 //                "retval"
1207 //            ],
1208 //            {
1209 //                "crc": "0xe8d4e804"
1210 //            }
1211 //
1212 type MacipACLInterfaceAddDelReply struct {
1213         Retval int32
1214 }
1215
1216 func (*MacipACLInterfaceAddDelReply) GetMessageName() string {
1217         return "macip_acl_interface_add_del_reply"
1218 }
1219 func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
1220         return api.ReplyMessage
1221 }
1222 func (*MacipACLInterfaceAddDelReply) GetCrcString() string {
1223         return "e8d4e804"
1224 }
1225 func NewMacipACLInterfaceAddDelReply() api.Message {
1226         return &MacipACLInterfaceAddDelReply{}
1227 }
1228
1229 // MacipACLDump represents the VPP binary API message 'macip_acl_dump'.
1230 // Generated from '../../bin_api/acl.api.json', line 687:
1231 //
1232 //            "macip_acl_dump",
1233 //            [
1234 //                "u16",
1235 //                "_vl_msg_id"
1236 //            ],
1237 //            [
1238 //                "u32",
1239 //                "client_index"
1240 //            ],
1241 //            [
1242 //                "u32",
1243 //                "context"
1244 //            ],
1245 //            [
1246 //                "u32",
1247 //                "acl_index"
1248 //            ],
1249 //            {
1250 //                "crc": "0xef34fea4"
1251 //            }
1252 //
1253 type MacipACLDump struct {
1254         ACLIndex uint32
1255 }
1256
1257 func (*MacipACLDump) GetMessageName() string {
1258         return "macip_acl_dump"
1259 }
1260 func (*MacipACLDump) GetMessageType() api.MessageType {
1261         return api.RequestMessage
1262 }
1263 func (*MacipACLDump) GetCrcString() string {
1264         return "ef34fea4"
1265 }
1266 func NewMacipACLDump() api.Message {
1267         return &MacipACLDump{}
1268 }
1269
1270 // MacipACLDetails represents the VPP binary API message 'macip_acl_details'.
1271 // Generated from '../../bin_api/acl.api.json', line 709:
1272 //
1273 //            "macip_acl_details",
1274 //            [
1275 //                "u16",
1276 //                "_vl_msg_id"
1277 //            ],
1278 //            [
1279 //                "u32",
1280 //                "context"
1281 //            ],
1282 //            [
1283 //                "u32",
1284 //                "acl_index"
1285 //            ],
1286 //            [
1287 //                "u8",
1288 //                "tag",
1289 //                64
1290 //            ],
1291 //            [
1292 //                "u32",
1293 //                "count"
1294 //            ],
1295 //            [
1296 //                "vl_api_macip_acl_rule_t",
1297 //                "r",
1298 //                0,
1299 //                "count"
1300 //            ],
1301 //            {
1302 //                "crc": "0xdd2b55ba"
1303 //            }
1304 //
1305 type MacipACLDetails struct {
1306         ACLIndex uint32
1307         Tag      []byte `struc:"[64]byte"`
1308         Count    uint32 `struc:"sizeof=R"`
1309         R        []MacipACLRule
1310 }
1311
1312 func (*MacipACLDetails) GetMessageName() string {
1313         return "macip_acl_details"
1314 }
1315 func (*MacipACLDetails) GetMessageType() api.MessageType {
1316         return api.ReplyMessage
1317 }
1318 func (*MacipACLDetails) GetCrcString() string {
1319         return "dd2b55ba"
1320 }
1321 func NewMacipACLDetails() api.Message {
1322         return &MacipACLDetails{}
1323 }
1324
1325 // MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'.
1326 // Generated from '../../bin_api/acl.api.json', line 742:
1327 //
1328 //            "macip_acl_interface_get",
1329 //            [
1330 //                "u16",
1331 //                "_vl_msg_id"
1332 //            ],
1333 //            [
1334 //                "u32",
1335 //                "client_index"
1336 //            ],
1337 //            [
1338 //                "u32",
1339 //                "context"
1340 //            ],
1341 //            {
1342 //                "crc": "0x51077d14"
1343 //            }
1344 //
1345 type MacipACLInterfaceGet struct {
1346 }
1347
1348 func (*MacipACLInterfaceGet) GetMessageName() string {
1349         return "macip_acl_interface_get"
1350 }
1351 func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
1352         return api.RequestMessage
1353 }
1354 func (*MacipACLInterfaceGet) GetCrcString() string {
1355         return "51077d14"
1356 }
1357 func NewMacipACLInterfaceGet() api.Message {
1358         return &MacipACLInterfaceGet{}
1359 }
1360
1361 // MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'.
1362 // Generated from '../../bin_api/acl.api.json', line 760:
1363 //
1364 //            "macip_acl_interface_get_reply",
1365 //            [
1366 //                "u16",
1367 //                "_vl_msg_id"
1368 //            ],
1369 //            [
1370 //                "u32",
1371 //                "context"
1372 //            ],
1373 //            [
1374 //                "u32",
1375 //                "count"
1376 //            ],
1377 //            [
1378 //                "u32",
1379 //                "acls",
1380 //                0,
1381 //                "count"
1382 //            ],
1383 //            {
1384 //                "crc": "0xaccf9b05"
1385 //            }
1386 //
1387 type MacipACLInterfaceGetReply struct {
1388         Count uint32 `struc:"sizeof=Acls"`
1389         Acls  []uint32
1390 }
1391
1392 func (*MacipACLInterfaceGetReply) GetMessageName() string {
1393         return "macip_acl_interface_get_reply"
1394 }
1395 func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
1396         return api.ReplyMessage
1397 }
1398 func (*MacipACLInterfaceGetReply) GetCrcString() string {
1399         return "accf9b05"
1400 }
1401 func NewMacipACLInterfaceGetReply() api.Message {
1402         return &MacipACLInterfaceGetReply{}
1403 }
1404
1405 // MacipACLInterfaceListDump represents the VPP binary API message 'macip_acl_interface_list_dump'.
1406 // Generated from '../../bin_api/acl.api.json', line 784:
1407 //
1408 //            "macip_acl_interface_list_dump",
1409 //            [
1410 //                "u16",
1411 //                "_vl_msg_id"
1412 //            ],
1413 //            [
1414 //                "u32",
1415 //                "client_index"
1416 //            ],
1417 //            [
1418 //                "u32",
1419 //                "context"
1420 //            ],
1421 //            [
1422 //                "u32",
1423 //                "sw_if_index"
1424 //            ],
1425 //            {
1426 //                "crc": "0x529cb13f"
1427 //            }
1428 //
1429 type MacipACLInterfaceListDump struct {
1430         SwIfIndex uint32
1431 }
1432
1433 func (*MacipACLInterfaceListDump) GetMessageName() string {
1434         return "macip_acl_interface_list_dump"
1435 }
1436 func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType {
1437         return api.RequestMessage
1438 }
1439 func (*MacipACLInterfaceListDump) GetCrcString() string {
1440         return "529cb13f"
1441 }
1442 func NewMacipACLInterfaceListDump() api.Message {
1443         return &MacipACLInterfaceListDump{}
1444 }
1445
1446 // MacipACLInterfaceListDetails represents the VPP binary API message 'macip_acl_interface_list_details'.
1447 // Generated from '../../bin_api/acl.api.json', line 806:
1448 //
1449 //            "macip_acl_interface_list_details",
1450 //            [
1451 //                "u16",
1452 //                "_vl_msg_id"
1453 //            ],
1454 //            [
1455 //                "u32",
1456 //                "context"
1457 //            ],
1458 //            [
1459 //                "u32",
1460 //                "sw_if_index"
1461 //            ],
1462 //            [
1463 //                "u8",
1464 //                "count"
1465 //            ],
1466 //            [
1467 //                "u32",
1468 //                "acls",
1469 //                0,
1470 //                "count"
1471 //            ],
1472 //            {
1473 //                "crc": "0x29783fa0"
1474 //            }
1475 //
1476 type MacipACLInterfaceListDetails struct {
1477         SwIfIndex uint32
1478         Count     uint8 `struc:"sizeof=Acls"`
1479         Acls      []uint32
1480 }
1481
1482 func (*MacipACLInterfaceListDetails) GetMessageName() string {
1483         return "macip_acl_interface_list_details"
1484 }
1485 func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType {
1486         return api.ReplyMessage
1487 }
1488 func (*MacipACLInterfaceListDetails) GetCrcString() string {
1489         return "29783fa0"
1490 }
1491 func NewMacipACLInterfaceListDetails() api.Message {
1492         return &MacipACLInterfaceListDetails{}
1493 }