Merge "added performance benchmark example"
[govpp.git] / examples / bin_api / acl / acl.go
1 // Package acl represents the VPP binary API of the 'acl' VPP module.
2 // DO NOT EDIT. Generated from 'bin_api/acl.api.json'
3 package acl
4
5 import "git.fd.io/govpp.git/api"
6
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0x1fd77287
9
10 // ACLRule represents the VPP binary API data type 'acl_rule'.
11 // Generated from 'bin_api/acl.api.json', line 3:
12 //
13 //        ["acl_rule",
14 //            ["u8", "is_permit"],
15 //            ["u8", "is_ipv6"],
16 //            ["u8", "src_ip_addr", 16],
17 //            ["u8", "src_ip_prefix_len"],
18 //            ["u8", "dst_ip_addr", 16],
19 //            ["u8", "dst_ip_prefix_len"],
20 //            ["u8", "proto"],
21 //            ["u16", "srcport_or_icmptype_first"],
22 //            ["u16", "srcport_or_icmptype_last"],
23 //            ["u16", "dstport_or_icmpcode_first"],
24 //            ["u16", "dstport_or_icmpcode_last"],
25 //            ["u8", "tcp_flags_mask"],
26 //            ["u8", "tcp_flags_value"],
27 //            {"crc" : "0x2715e1c0"}
28 //        ],
29 //
30 type ACLRule struct {
31         IsPermit               uint8
32         IsIpv6                 uint8
33         SrcIPAddr              []byte `struc:"[16]byte"`
34         SrcIPPrefixLen         uint8
35         DstIPAddr              []byte `struc:"[16]byte"`
36         DstIPPrefixLen         uint8
37         Proto                  uint8
38         SrcportOrIcmptypeFirst uint16
39         SrcportOrIcmptypeLast  uint16
40         DstportOrIcmpcodeFirst uint16
41         DstportOrIcmpcodeLast  uint16
42         TCPFlagsMask           uint8
43         TCPFlagsValue          uint8
44 }
45
46 func (*ACLRule) GetTypeName() string {
47         return "acl_rule"
48 }
49 func (*ACLRule) GetCrcString() string {
50         return "2715e1c0"
51 }
52
53 // MacipACLRule represents the VPP binary API data type 'macip_acl_rule'.
54 // Generated from 'bin_api/acl.api.json', line 19:
55 //
56 //        ["macip_acl_rule",
57 //            ["u8", "is_permit"],
58 //            ["u8", "is_ipv6"],
59 //            ["u8", "src_mac", 6],
60 //            ["u8", "src_mac_mask", 6],
61 //            ["u8", "src_ip_addr", 16],
62 //            ["u8", "src_ip_prefix_len"],
63 //            {"crc" : "0x6723f13e"}
64 //        ]
65 //
66 type MacipACLRule struct {
67         IsPermit       uint8
68         IsIpv6         uint8
69         SrcMac         []byte `struc:"[6]byte"`
70         SrcMacMask     []byte `struc:"[6]byte"`
71         SrcIPAddr      []byte `struc:"[16]byte"`
72         SrcIPPrefixLen uint8
73 }
74
75 func (*MacipACLRule) GetTypeName() string {
76         return "macip_acl_rule"
77 }
78 func (*MacipACLRule) GetCrcString() string {
79         return "6723f13e"
80 }
81
82 // ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'.
83 // Generated from 'bin_api/acl.api.json', line 30:
84 //
85 //        ["acl_plugin_get_version",
86 //            ["u16", "_vl_msg_id"],
87 //            ["u32", "client_index"],
88 //            ["u32", "context"],
89 //            {"crc" : "0xd7c07748"}
90 //        ],
91 //
92 type ACLPluginGetVersion struct {
93 }
94
95 func (*ACLPluginGetVersion) GetMessageName() string {
96         return "acl_plugin_get_version"
97 }
98 func (*ACLPluginGetVersion) GetMessageType() api.MessageType {
99         return api.RequestMessage
100 }
101 func (*ACLPluginGetVersion) GetCrcString() string {
102         return "d7c07748"
103 }
104 func NewACLPluginGetVersion() api.Message {
105         return &ACLPluginGetVersion{}
106 }
107
108 // ACLPluginGetVersionReply represents the VPP binary API message 'acl_plugin_get_version_reply'.
109 // Generated from 'bin_api/acl.api.json', line 36:
110 //
111 //        ["acl_plugin_get_version_reply",
112 //            ["u16", "_vl_msg_id"],
113 //            ["u32", "context"],
114 //            ["u32", "major"],
115 //            ["u32", "minor"],
116 //            {"crc" : "0x43eb59a5"}
117 //        ],
118 //
119 type ACLPluginGetVersionReply struct {
120         Major uint32
121         Minor uint32
122 }
123
124 func (*ACLPluginGetVersionReply) GetMessageName() string {
125         return "acl_plugin_get_version_reply"
126 }
127 func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType {
128         return api.ReplyMessage
129 }
130 func (*ACLPluginGetVersionReply) GetCrcString() string {
131         return "43eb59a5"
132 }
133 func NewACLPluginGetVersionReply() api.Message {
134         return &ACLPluginGetVersionReply{}
135 }
136
137 // ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'.
138 // Generated from 'bin_api/acl.api.json', line 43:
139 //
140 //        ["acl_plugin_control_ping",
141 //            ["u16", "_vl_msg_id"],
142 //            ["u32", "client_index"],
143 //            ["u32", "context"],
144 //            {"crc" : "0xfc22c86e"}
145 //        ],
146 //
147 type ACLPluginControlPing struct {
148 }
149
150 func (*ACLPluginControlPing) GetMessageName() string {
151         return "acl_plugin_control_ping"
152 }
153 func (*ACLPluginControlPing) GetMessageType() api.MessageType {
154         return api.RequestMessage
155 }
156 func (*ACLPluginControlPing) GetCrcString() string {
157         return "fc22c86e"
158 }
159 func NewACLPluginControlPing() api.Message {
160         return &ACLPluginControlPing{}
161 }
162
163 // ACLPluginControlPingReply represents the VPP binary API message 'acl_plugin_control_ping_reply'.
164 // Generated from 'bin_api/acl.api.json', line 49:
165 //
166 //        ["acl_plugin_control_ping_reply",
167 //            ["u16", "_vl_msg_id"],
168 //            ["u32", "context"],
169 //            ["i32", "retval"],
170 //            ["u32", "client_index"],
171 //            ["u32", "vpe_pid"],
172 //            {"crc" : "0xe07e9231"}
173 //        ],
174 //
175 type ACLPluginControlPingReply struct {
176         Retval      int32
177         ClientIndex uint32
178         VpePid      uint32
179 }
180
181 func (*ACLPluginControlPingReply) GetMessageName() string {
182         return "acl_plugin_control_ping_reply"
183 }
184 func (*ACLPluginControlPingReply) GetMessageType() api.MessageType {
185         return api.ReplyMessage
186 }
187 func (*ACLPluginControlPingReply) GetCrcString() string {
188         return "e07e9231"
189 }
190 func NewACLPluginControlPingReply() api.Message {
191         return &ACLPluginControlPingReply{}
192 }
193
194 // ACLAddReplace represents the VPP binary API message 'acl_add_replace'.
195 // Generated from 'bin_api/acl.api.json', line 57:
196 //
197 //        ["acl_add_replace",
198 //            ["u16", "_vl_msg_id"],
199 //            ["u32", "client_index"],
200 //            ["u32", "context"],
201 //            ["u32", "acl_index"],
202 //            ["u8", "tag", 64],
203 //            ["u32", "count"],
204 //            ["vl_api_acl_rule_t", "r", 0, "count"],
205 //            {"crc" : "0x3c317936"}
206 //        ],
207 //
208 type ACLAddReplace struct {
209         ACLIndex uint32
210         Tag      []byte `struc:"[64]byte"`
211         Count    uint32 `struc:"sizeof=R"`
212         R        []ACLRule
213 }
214
215 func (*ACLAddReplace) GetMessageName() string {
216         return "acl_add_replace"
217 }
218 func (*ACLAddReplace) GetMessageType() api.MessageType {
219         return api.RequestMessage
220 }
221 func (*ACLAddReplace) GetCrcString() string {
222         return "3c317936"
223 }
224 func NewACLAddReplace() api.Message {
225         return &ACLAddReplace{}
226 }
227
228 // ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'.
229 // Generated from 'bin_api/acl.api.json', line 67:
230 //
231 //        ["acl_add_replace_reply",
232 //            ["u16", "_vl_msg_id"],
233 //            ["u32", "context"],
234 //            ["u32", "acl_index"],
235 //            ["i32", "retval"],
236 //            {"crc" : "0xa5e6d0cf"}
237 //        ],
238 //
239 type ACLAddReplaceReply struct {
240         ACLIndex uint32
241         Retval   int32
242 }
243
244 func (*ACLAddReplaceReply) GetMessageName() string {
245         return "acl_add_replace_reply"
246 }
247 func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
248         return api.ReplyMessage
249 }
250 func (*ACLAddReplaceReply) GetCrcString() string {
251         return "a5e6d0cf"
252 }
253 func NewACLAddReplaceReply() api.Message {
254         return &ACLAddReplaceReply{}
255 }
256
257 // ACLDel represents the VPP binary API message 'acl_del'.
258 // Generated from 'bin_api/acl.api.json', line 74:
259 //
260 //        ["acl_del",
261 //            ["u16", "_vl_msg_id"],
262 //            ["u32", "client_index"],
263 //            ["u32", "context"],
264 //            ["u32", "acl_index"],
265 //            {"crc" : "0x82cc30ed"}
266 //        ],
267 //
268 type ACLDel struct {
269         ACLIndex uint32
270 }
271
272 func (*ACLDel) GetMessageName() string {
273         return "acl_del"
274 }
275 func (*ACLDel) GetMessageType() api.MessageType {
276         return api.RequestMessage
277 }
278 func (*ACLDel) GetCrcString() string {
279         return "82cc30ed"
280 }
281 func NewACLDel() api.Message {
282         return &ACLDel{}
283 }
284
285 // ACLDelReply represents the VPP binary API message 'acl_del_reply'.
286 // Generated from 'bin_api/acl.api.json', line 81:
287 //
288 //        ["acl_del_reply",
289 //            ["u16", "_vl_msg_id"],
290 //            ["u32", "context"],
291 //            ["i32", "retval"],
292 //            {"crc" : "0xbbb83d84"}
293 //        ],
294 //
295 type ACLDelReply struct {
296         Retval int32
297 }
298
299 func (*ACLDelReply) GetMessageName() string {
300         return "acl_del_reply"
301 }
302 func (*ACLDelReply) GetMessageType() api.MessageType {
303         return api.ReplyMessage
304 }
305 func (*ACLDelReply) GetCrcString() string {
306         return "bbb83d84"
307 }
308 func NewACLDelReply() api.Message {
309         return &ACLDelReply{}
310 }
311
312 // ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'.
313 // Generated from 'bin_api/acl.api.json', line 87:
314 //
315 //        ["acl_interface_add_del",
316 //            ["u16", "_vl_msg_id"],
317 //            ["u32", "client_index"],
318 //            ["u32", "context"],
319 //            ["u8", "is_add"],
320 //            ["u8", "is_input"],
321 //            ["u32", "sw_if_index"],
322 //            ["u32", "acl_index"],
323 //            {"crc" : "0x98b53725"}
324 //        ],
325 //
326 type ACLInterfaceAddDel struct {
327         IsAdd     uint8
328         IsInput   uint8
329         SwIfIndex uint32
330         ACLIndex  uint32
331 }
332
333 func (*ACLInterfaceAddDel) GetMessageName() string {
334         return "acl_interface_add_del"
335 }
336 func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
337         return api.RequestMessage
338 }
339 func (*ACLInterfaceAddDel) GetCrcString() string {
340         return "98b53725"
341 }
342 func NewACLInterfaceAddDel() api.Message {
343         return &ACLInterfaceAddDel{}
344 }
345
346 // ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'.
347 // Generated from 'bin_api/acl.api.json', line 97:
348 //
349 //        ["acl_interface_add_del_reply",
350 //            ["u16", "_vl_msg_id"],
351 //            ["u32", "context"],
352 //            ["i32", "retval"],
353 //            {"crc" : "0xc1b3c077"}
354 //        ],
355 //
356 type ACLInterfaceAddDelReply struct {
357         Retval int32
358 }
359
360 func (*ACLInterfaceAddDelReply) GetMessageName() string {
361         return "acl_interface_add_del_reply"
362 }
363 func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
364         return api.ReplyMessage
365 }
366 func (*ACLInterfaceAddDelReply) GetCrcString() string {
367         return "c1b3c077"
368 }
369 func NewACLInterfaceAddDelReply() api.Message {
370         return &ACLInterfaceAddDelReply{}
371 }
372
373 // ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'.
374 // Generated from 'bin_api/acl.api.json', line 103:
375 //
376 //        ["acl_interface_set_acl_list",
377 //            ["u16", "_vl_msg_id"],
378 //            ["u32", "client_index"],
379 //            ["u32", "context"],
380 //            ["u32", "sw_if_index"],
381 //            ["u8", "count"],
382 //            ["u8", "n_input"],
383 //            ["u32", "acls", 0, "count"],
384 //            {"crc" : "0x7562419c"}
385 //        ],
386 //
387 type ACLInterfaceSetACLList struct {
388         SwIfIndex uint32
389         Count     uint8 `struc:"sizeof=Acls"`
390         NInput    uint8
391         Acls      []uint32
392 }
393
394 func (*ACLInterfaceSetACLList) GetMessageName() string {
395         return "acl_interface_set_acl_list"
396 }
397 func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
398         return api.RequestMessage
399 }
400 func (*ACLInterfaceSetACLList) GetCrcString() string {
401         return "7562419c"
402 }
403 func NewACLInterfaceSetACLList() api.Message {
404         return &ACLInterfaceSetACLList{}
405 }
406
407 // ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'.
408 // Generated from 'bin_api/acl.api.json', line 113:
409 //
410 //        ["acl_interface_set_acl_list_reply",
411 //            ["u16", "_vl_msg_id"],
412 //            ["u32", "context"],
413 //            ["i32", "retval"],
414 //            {"crc" : "0x435ddc2b"}
415 //        ],
416 //
417 type ACLInterfaceSetACLListReply struct {
418         Retval int32
419 }
420
421 func (*ACLInterfaceSetACLListReply) GetMessageName() string {
422         return "acl_interface_set_acl_list_reply"
423 }
424 func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
425         return api.ReplyMessage
426 }
427 func (*ACLInterfaceSetACLListReply) GetCrcString() string {
428         return "435ddc2b"
429 }
430 func NewACLInterfaceSetACLListReply() api.Message {
431         return &ACLInterfaceSetACLListReply{}
432 }
433
434 // ACLDump represents the VPP binary API message 'acl_dump'.
435 // Generated from 'bin_api/acl.api.json', line 119:
436 //
437 //        ["acl_dump",
438 //            ["u16", "_vl_msg_id"],
439 //            ["u32", "client_index"],
440 //            ["u32", "context"],
441 //            ["u32", "acl_index"],
442 //            {"crc" : "0xc188156d"}
443 //        ],
444 //
445 type ACLDump struct {
446         ACLIndex uint32
447 }
448
449 func (*ACLDump) GetMessageName() string {
450         return "acl_dump"
451 }
452 func (*ACLDump) GetMessageType() api.MessageType {
453         return api.RequestMessage
454 }
455 func (*ACLDump) GetCrcString() string {
456         return "c188156d"
457 }
458 func NewACLDump() api.Message {
459         return &ACLDump{}
460 }
461
462 // ACLDetails represents the VPP binary API message 'acl_details'.
463 // Generated from 'bin_api/acl.api.json', line 126:
464 //
465 //        ["acl_details",
466 //            ["u16", "_vl_msg_id"],
467 //            ["u32", "context"],
468 //            ["u32", "acl_index"],
469 //            ["u8", "tag", 64],
470 //            ["u32", "count"],
471 //            ["vl_api_acl_rule_t", "r", 0, "count"],
472 //            {"crc" : "0x1c8916b7"}
473 //        ],
474 //
475 type ACLDetails struct {
476         ACLIndex uint32
477         Tag      []byte `struc:"[64]byte"`
478         Count    uint32 `struc:"sizeof=R"`
479         R        []ACLRule
480 }
481
482 func (*ACLDetails) GetMessageName() string {
483         return "acl_details"
484 }
485 func (*ACLDetails) GetMessageType() api.MessageType {
486         return api.ReplyMessage
487 }
488 func (*ACLDetails) GetCrcString() string {
489         return "1c8916b7"
490 }
491 func NewACLDetails() api.Message {
492         return &ACLDetails{}
493 }
494
495 // ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'.
496 // Generated from 'bin_api/acl.api.json', line 135:
497 //
498 //        ["acl_interface_list_dump",
499 //            ["u16", "_vl_msg_id"],
500 //            ["u32", "client_index"],
501 //            ["u32", "context"],
502 //            ["u32", "sw_if_index"],
503 //            {"crc" : "0xadfe84b8"}
504 //        ],
505 //
506 type ACLInterfaceListDump struct {
507         SwIfIndex uint32
508 }
509
510 func (*ACLInterfaceListDump) GetMessageName() string {
511         return "acl_interface_list_dump"
512 }
513 func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
514         return api.RequestMessage
515 }
516 func (*ACLInterfaceListDump) GetCrcString() string {
517         return "adfe84b8"
518 }
519 func NewACLInterfaceListDump() api.Message {
520         return &ACLInterfaceListDump{}
521 }
522
523 // ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'.
524 // Generated from 'bin_api/acl.api.json', line 142:
525 //
526 //        ["acl_interface_list_details",
527 //            ["u16", "_vl_msg_id"],
528 //            ["u32", "context"],
529 //            ["u32", "sw_if_index"],
530 //            ["u8", "count"],
531 //            ["u8", "n_input"],
532 //            ["u32", "acls", 0, "count"],
533 //            {"crc" : "0xc8150656"}
534 //        ],
535 //
536 type ACLInterfaceListDetails struct {
537         SwIfIndex uint32
538         Count     uint8 `struc:"sizeof=Acls"`
539         NInput    uint8
540         Acls      []uint32
541 }
542
543 func (*ACLInterfaceListDetails) GetMessageName() string {
544         return "acl_interface_list_details"
545 }
546 func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
547         return api.ReplyMessage
548 }
549 func (*ACLInterfaceListDetails) GetCrcString() string {
550         return "c8150656"
551 }
552 func NewACLInterfaceListDetails() api.Message {
553         return &ACLInterfaceListDetails{}
554 }
555
556 // MacipACLAdd represents the VPP binary API message 'macip_acl_add'.
557 // Generated from 'bin_api/acl.api.json', line 151:
558 //
559 //        ["macip_acl_add",
560 //            ["u16", "_vl_msg_id"],
561 //            ["u32", "client_index"],
562 //            ["u32", "context"],
563 //            ["u8", "tag", 64],
564 //            ["u32", "count"],
565 //            ["vl_api_macip_acl_rule_t", "r", 0, "count"],
566 //            {"crc" : "0x33356284"}
567 //        ],
568 //
569 type MacipACLAdd struct {
570         Tag   []byte `struc:"[64]byte"`
571         Count uint32 `struc:"sizeof=R"`
572         R     []MacipACLRule
573 }
574
575 func (*MacipACLAdd) GetMessageName() string {
576         return "macip_acl_add"
577 }
578 func (*MacipACLAdd) GetMessageType() api.MessageType {
579         return api.RequestMessage
580 }
581 func (*MacipACLAdd) GetCrcString() string {
582         return "33356284"
583 }
584 func NewMacipACLAdd() api.Message {
585         return &MacipACLAdd{}
586 }
587
588 // MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'.
589 // Generated from 'bin_api/acl.api.json', line 160:
590 //
591 //        ["macip_acl_add_reply",
592 //            ["u16", "_vl_msg_id"],
593 //            ["u32", "context"],
594 //            ["u32", "acl_index"],
595 //            ["i32", "retval"],
596 //            {"crc" : "0x472edb4c"}
597 //        ],
598 //
599 type MacipACLAddReply struct {
600         ACLIndex uint32
601         Retval   int32
602 }
603
604 func (*MacipACLAddReply) GetMessageName() string {
605         return "macip_acl_add_reply"
606 }
607 func (*MacipACLAddReply) GetMessageType() api.MessageType {
608         return api.ReplyMessage
609 }
610 func (*MacipACLAddReply) GetCrcString() string {
611         return "472edb4c"
612 }
613 func NewMacipACLAddReply() api.Message {
614         return &MacipACLAddReply{}
615 }
616
617 // MacipACLDel represents the VPP binary API message 'macip_acl_del'.
618 // Generated from 'bin_api/acl.api.json', line 167:
619 //
620 //        ["macip_acl_del",
621 //            ["u16", "_vl_msg_id"],
622 //            ["u32", "client_index"],
623 //            ["u32", "context"],
624 //            ["u32", "acl_index"],
625 //            {"crc" : "0xdde1141f"}
626 //        ],
627 //
628 type MacipACLDel struct {
629         ACLIndex uint32
630 }
631
632 func (*MacipACLDel) GetMessageName() string {
633         return "macip_acl_del"
634 }
635 func (*MacipACLDel) GetMessageType() api.MessageType {
636         return api.RequestMessage
637 }
638 func (*MacipACLDel) GetCrcString() string {
639         return "dde1141f"
640 }
641 func NewMacipACLDel() api.Message {
642         return &MacipACLDel{}
643 }
644
645 // MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'.
646 // Generated from 'bin_api/acl.api.json', line 174:
647 //
648 //        ["macip_acl_del_reply",
649 //            ["u16", "_vl_msg_id"],
650 //            ["u32", "context"],
651 //            ["i32", "retval"],
652 //            {"crc" : "0xeeb60e0f"}
653 //        ],
654 //
655 type MacipACLDelReply struct {
656         Retval int32
657 }
658
659 func (*MacipACLDelReply) GetMessageName() string {
660         return "macip_acl_del_reply"
661 }
662 func (*MacipACLDelReply) GetMessageType() api.MessageType {
663         return api.ReplyMessage
664 }
665 func (*MacipACLDelReply) GetCrcString() string {
666         return "eeb60e0f"
667 }
668 func NewMacipACLDelReply() api.Message {
669         return &MacipACLDelReply{}
670 }
671
672 // MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'.
673 // Generated from 'bin_api/acl.api.json', line 180:
674 //
675 //        ["macip_acl_interface_add_del",
676 //            ["u16", "_vl_msg_id"],
677 //            ["u32", "client_index"],
678 //            ["u32", "context"],
679 //            ["u8", "is_add"],
680 //            ["u32", "sw_if_index"],
681 //            ["u32", "acl_index"],
682 //            {"crc" : "0x03a4fab2"}
683 //        ],
684 //
685 type MacipACLInterfaceAddDel struct {
686         IsAdd     uint8
687         SwIfIndex uint32
688         ACLIndex  uint32
689 }
690
691 func (*MacipACLInterfaceAddDel) GetMessageName() string {
692         return "macip_acl_interface_add_del"
693 }
694 func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
695         return api.RequestMessage
696 }
697 func (*MacipACLInterfaceAddDel) GetCrcString() string {
698         return "03a4fab2"
699 }
700 func NewMacipACLInterfaceAddDel() api.Message {
701         return &MacipACLInterfaceAddDel{}
702 }
703
704 // MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'.
705 // Generated from 'bin_api/acl.api.json', line 189:
706 //
707 //        ["macip_acl_interface_add_del_reply",
708 //            ["u16", "_vl_msg_id"],
709 //            ["u32", "context"],
710 //            ["i32", "retval"],
711 //            {"crc" : "0x9e9ee485"}
712 //        ],
713 //
714 type MacipACLInterfaceAddDelReply struct {
715         Retval int32
716 }
717
718 func (*MacipACLInterfaceAddDelReply) GetMessageName() string {
719         return "macip_acl_interface_add_del_reply"
720 }
721 func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
722         return api.ReplyMessage
723 }
724 func (*MacipACLInterfaceAddDelReply) GetCrcString() string {
725         return "9e9ee485"
726 }
727 func NewMacipACLInterfaceAddDelReply() api.Message {
728         return &MacipACLInterfaceAddDelReply{}
729 }
730
731 // MacipACLDump represents the VPP binary API message 'macip_acl_dump'.
732 // Generated from 'bin_api/acl.api.json', line 195:
733 //
734 //        ["macip_acl_dump",
735 //            ["u16", "_vl_msg_id"],
736 //            ["u32", "client_index"],
737 //            ["u32", "context"],
738 //            ["u32", "acl_index"],
739 //            {"crc" : "0xd38227cb"}
740 //        ],
741 //
742 type MacipACLDump struct {
743         ACLIndex uint32
744 }
745
746 func (*MacipACLDump) GetMessageName() string {
747         return "macip_acl_dump"
748 }
749 func (*MacipACLDump) GetMessageType() api.MessageType {
750         return api.RequestMessage
751 }
752 func (*MacipACLDump) GetCrcString() string {
753         return "d38227cb"
754 }
755 func NewMacipACLDump() api.Message {
756         return &MacipACLDump{}
757 }
758
759 // MacipACLDetails represents the VPP binary API message 'macip_acl_details'.
760 // Generated from 'bin_api/acl.api.json', line 202:
761 //
762 //        ["macip_acl_details",
763 //            ["u16", "_vl_msg_id"],
764 //            ["u32", "context"],
765 //            ["u32", "acl_index"],
766 //            ["u8", "tag", 64],
767 //            ["u32", "count"],
768 //            ["vl_api_macip_acl_rule_t", "r", 0, "count"],
769 //            {"crc" : "0xee1c50db"}
770 //        ],
771 //
772 type MacipACLDetails struct {
773         ACLIndex uint32
774         Tag      []byte `struc:"[64]byte"`
775         Count    uint32 `struc:"sizeof=R"`
776         R        []MacipACLRule
777 }
778
779 func (*MacipACLDetails) GetMessageName() string {
780         return "macip_acl_details"
781 }
782 func (*MacipACLDetails) GetMessageType() api.MessageType {
783         return api.ReplyMessage
784 }
785 func (*MacipACLDetails) GetCrcString() string {
786         return "ee1c50db"
787 }
788 func NewMacipACLDetails() api.Message {
789         return &MacipACLDetails{}
790 }
791
792 // MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'.
793 // Generated from 'bin_api/acl.api.json', line 211:
794 //
795 //        ["macip_acl_interface_get",
796 //            ["u16", "_vl_msg_id"],
797 //            ["u32", "client_index"],
798 //            ["u32", "context"],
799 //            {"crc" : "0x317ce31c"}
800 //        ],
801 //
802 type MacipACLInterfaceGet struct {
803 }
804
805 func (*MacipACLInterfaceGet) GetMessageName() string {
806         return "macip_acl_interface_get"
807 }
808 func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
809         return api.RequestMessage
810 }
811 func (*MacipACLInterfaceGet) GetCrcString() string {
812         return "317ce31c"
813 }
814 func NewMacipACLInterfaceGet() api.Message {
815         return &MacipACLInterfaceGet{}
816 }
817
818 // MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'.
819 // Generated from 'bin_api/acl.api.json', line 217:
820 //
821 //        ["macip_acl_interface_get_reply",
822 //            ["u16", "_vl_msg_id"],
823 //            ["u32", "context"],
824 //            ["u32", "count"],
825 //            ["u32", "acls", 0, "count"],
826 //            {"crc" : "0x6c86a56c"}
827 //        ]
828 //
829 type MacipACLInterfaceGetReply struct {
830         Count uint32 `struc:"sizeof=Acls"`
831         Acls  []uint32
832 }
833
834 func (*MacipACLInterfaceGetReply) GetMessageName() string {
835         return "macip_acl_interface_get_reply"
836 }
837 func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
838         return api.ReplyMessage
839 }
840 func (*MacipACLInterfaceGetReply) GetCrcString() string {
841         return "6c86a56c"
842 }
843 func NewMacipACLInterfaceGetReply() api.Message {
844         return &MacipACLInterfaceGetReply{}
845 }