modified test make target
[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' on Fri, 21 Apr 2017 17:10:06 CEST.
3 package acl
4
5 import "gerrit.fd.io/r/govpp.git/api"
6
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0x3cd02d84
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 // ACLAddReplace represents the VPP binary API message 'acl_add_replace'.
138 // Generated from 'bin_api/acl.api.json', line 43:
139 //
140 //        ["acl_add_replace",
141 //            ["u16", "_vl_msg_id"],
142 //            ["u32", "client_index"],
143 //            ["u32", "context"],
144 //            ["u32", "acl_index"],
145 //            ["u8", "tag", 64],
146 //            ["u32", "count"],
147 //            ["vl_api_acl_rule_t", "r", 0, "count"],
148 //            {"crc" : "0x3c317936"}
149 //        ],
150 //
151 type ACLAddReplace struct {
152         ACLIndex uint32
153         Tag      []byte `struc:"[64]byte"`
154         Count    uint32 `struc:"sizeof=R"`
155         R        []ACLRule
156 }
157
158 func (*ACLAddReplace) GetMessageName() string {
159         return "acl_add_replace"
160 }
161 func (*ACLAddReplace) GetMessageType() api.MessageType {
162         return api.RequestMessage
163 }
164 func (*ACLAddReplace) GetCrcString() string {
165         return "3c317936"
166 }
167 func NewACLAddReplace() api.Message {
168         return &ACLAddReplace{}
169 }
170
171 // ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'.
172 // Generated from 'bin_api/acl.api.json', line 53:
173 //
174 //        ["acl_add_replace_reply",
175 //            ["u16", "_vl_msg_id"],
176 //            ["u32", "context"],
177 //            ["u32", "acl_index"],
178 //            ["i32", "retval"],
179 //            {"crc" : "0xa5e6d0cf"}
180 //        ],
181 //
182 type ACLAddReplaceReply struct {
183         ACLIndex uint32
184         Retval   int32
185 }
186
187 func (*ACLAddReplaceReply) GetMessageName() string {
188         return "acl_add_replace_reply"
189 }
190 func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
191         return api.ReplyMessage
192 }
193 func (*ACLAddReplaceReply) GetCrcString() string {
194         return "a5e6d0cf"
195 }
196 func NewACLAddReplaceReply() api.Message {
197         return &ACLAddReplaceReply{}
198 }
199
200 // ACLDel represents the VPP binary API message 'acl_del'.
201 // Generated from 'bin_api/acl.api.json', line 60:
202 //
203 //        ["acl_del",
204 //            ["u16", "_vl_msg_id"],
205 //            ["u32", "client_index"],
206 //            ["u32", "context"],
207 //            ["u32", "acl_index"],
208 //            {"crc" : "0x82cc30ed"}
209 //        ],
210 //
211 type ACLDel struct {
212         ACLIndex uint32
213 }
214
215 func (*ACLDel) GetMessageName() string {
216         return "acl_del"
217 }
218 func (*ACLDel) GetMessageType() api.MessageType {
219         return api.RequestMessage
220 }
221 func (*ACLDel) GetCrcString() string {
222         return "82cc30ed"
223 }
224 func NewACLDel() api.Message {
225         return &ACLDel{}
226 }
227
228 // ACLDelReply represents the VPP binary API message 'acl_del_reply'.
229 // Generated from 'bin_api/acl.api.json', line 67:
230 //
231 //        ["acl_del_reply",
232 //            ["u16", "_vl_msg_id"],
233 //            ["u32", "context"],
234 //            ["i32", "retval"],
235 //            {"crc" : "0xbbb83d84"}
236 //        ],
237 //
238 type ACLDelReply struct {
239         Retval int32
240 }
241
242 func (*ACLDelReply) GetMessageName() string {
243         return "acl_del_reply"
244 }
245 func (*ACLDelReply) GetMessageType() api.MessageType {
246         return api.ReplyMessage
247 }
248 func (*ACLDelReply) GetCrcString() string {
249         return "bbb83d84"
250 }
251 func NewACLDelReply() api.Message {
252         return &ACLDelReply{}
253 }
254
255 // ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'.
256 // Generated from 'bin_api/acl.api.json', line 73:
257 //
258 //        ["acl_interface_add_del",
259 //            ["u16", "_vl_msg_id"],
260 //            ["u32", "client_index"],
261 //            ["u32", "context"],
262 //            ["u8", "is_add"],
263 //            ["u8", "is_input"],
264 //            ["u32", "sw_if_index"],
265 //            ["u32", "acl_index"],
266 //            {"crc" : "0x98b53725"}
267 //        ],
268 //
269 type ACLInterfaceAddDel struct {
270         IsAdd     uint8
271         IsInput   uint8
272         SwIfIndex uint32
273         ACLIndex  uint32
274 }
275
276 func (*ACLInterfaceAddDel) GetMessageName() string {
277         return "acl_interface_add_del"
278 }
279 func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
280         return api.RequestMessage
281 }
282 func (*ACLInterfaceAddDel) GetCrcString() string {
283         return "98b53725"
284 }
285 func NewACLInterfaceAddDel() api.Message {
286         return &ACLInterfaceAddDel{}
287 }
288
289 // ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'.
290 // Generated from 'bin_api/acl.api.json', line 83:
291 //
292 //        ["acl_interface_add_del_reply",
293 //            ["u16", "_vl_msg_id"],
294 //            ["u32", "context"],
295 //            ["i32", "retval"],
296 //            {"crc" : "0xc1b3c077"}
297 //        ],
298 //
299 type ACLInterfaceAddDelReply struct {
300         Retval int32
301 }
302
303 func (*ACLInterfaceAddDelReply) GetMessageName() string {
304         return "acl_interface_add_del_reply"
305 }
306 func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
307         return api.ReplyMessage
308 }
309 func (*ACLInterfaceAddDelReply) GetCrcString() string {
310         return "c1b3c077"
311 }
312 func NewACLInterfaceAddDelReply() api.Message {
313         return &ACLInterfaceAddDelReply{}
314 }
315
316 // ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'.
317 // Generated from 'bin_api/acl.api.json', line 89:
318 //
319 //        ["acl_interface_set_acl_list",
320 //            ["u16", "_vl_msg_id"],
321 //            ["u32", "client_index"],
322 //            ["u32", "context"],
323 //            ["u32", "sw_if_index"],
324 //            ["u8", "count"],
325 //            ["u8", "n_input"],
326 //            ["u32", "acls", 0, "count"],
327 //            {"crc" : "0x7562419c"}
328 //        ],
329 //
330 type ACLInterfaceSetACLList struct {
331         SwIfIndex uint32
332         Count     uint8 `struc:"sizeof=Acls"`
333         NInput    uint8
334         Acls      []uint32
335 }
336
337 func (*ACLInterfaceSetACLList) GetMessageName() string {
338         return "acl_interface_set_acl_list"
339 }
340 func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
341         return api.RequestMessage
342 }
343 func (*ACLInterfaceSetACLList) GetCrcString() string {
344         return "7562419c"
345 }
346 func NewACLInterfaceSetACLList() api.Message {
347         return &ACLInterfaceSetACLList{}
348 }
349
350 // ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'.
351 // Generated from 'bin_api/acl.api.json', line 99:
352 //
353 //        ["acl_interface_set_acl_list_reply",
354 //            ["u16", "_vl_msg_id"],
355 //            ["u32", "context"],
356 //            ["i32", "retval"],
357 //            {"crc" : "0x435ddc2b"}
358 //        ],
359 //
360 type ACLInterfaceSetACLListReply struct {
361         Retval int32
362 }
363
364 func (*ACLInterfaceSetACLListReply) GetMessageName() string {
365         return "acl_interface_set_acl_list_reply"
366 }
367 func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
368         return api.ReplyMessage
369 }
370 func (*ACLInterfaceSetACLListReply) GetCrcString() string {
371         return "435ddc2b"
372 }
373 func NewACLInterfaceSetACLListReply() api.Message {
374         return &ACLInterfaceSetACLListReply{}
375 }
376
377 // ACLDump represents the VPP binary API message 'acl_dump'.
378 // Generated from 'bin_api/acl.api.json', line 105:
379 //
380 //        ["acl_dump",
381 //            ["u16", "_vl_msg_id"],
382 //            ["u32", "client_index"],
383 //            ["u32", "context"],
384 //            ["u32", "acl_index"],
385 //            {"crc" : "0xc188156d"}
386 //        ],
387 //
388 type ACLDump struct {
389         ACLIndex uint32
390 }
391
392 func (*ACLDump) GetMessageName() string {
393         return "acl_dump"
394 }
395 func (*ACLDump) GetMessageType() api.MessageType {
396         return api.RequestMessage
397 }
398 func (*ACLDump) GetCrcString() string {
399         return "c188156d"
400 }
401 func NewACLDump() api.Message {
402         return &ACLDump{}
403 }
404
405 // ACLDetails represents the VPP binary API message 'acl_details'.
406 // Generated from 'bin_api/acl.api.json', line 112:
407 //
408 //        ["acl_details",
409 //            ["u16", "_vl_msg_id"],
410 //            ["u32", "context"],
411 //            ["u32", "acl_index"],
412 //            ["u8", "tag", 64],
413 //            ["u32", "count"],
414 //            ["vl_api_acl_rule_t", "r", 0, "count"],
415 //            {"crc" : "0x1c8916b7"}
416 //        ],
417 //
418 type ACLDetails struct {
419         ACLIndex uint32
420         Tag      []byte `struc:"[64]byte"`
421         Count    uint32 `struc:"sizeof=R"`
422         R        []ACLRule
423 }
424
425 func (*ACLDetails) GetMessageName() string {
426         return "acl_details"
427 }
428 func (*ACLDetails) GetMessageType() api.MessageType {
429         return api.ReplyMessage
430 }
431 func (*ACLDetails) GetCrcString() string {
432         return "1c8916b7"
433 }
434 func NewACLDetails() api.Message {
435         return &ACLDetails{}
436 }
437
438 // ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'.
439 // Generated from 'bin_api/acl.api.json', line 121:
440 //
441 //        ["acl_interface_list_dump",
442 //            ["u16", "_vl_msg_id"],
443 //            ["u32", "client_index"],
444 //            ["u32", "context"],
445 //            ["u32", "sw_if_index"],
446 //            {"crc" : "0xadfe84b8"}
447 //        ],
448 //
449 type ACLInterfaceListDump struct {
450         SwIfIndex uint32
451 }
452
453 func (*ACLInterfaceListDump) GetMessageName() string {
454         return "acl_interface_list_dump"
455 }
456 func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
457         return api.RequestMessage
458 }
459 func (*ACLInterfaceListDump) GetCrcString() string {
460         return "adfe84b8"
461 }
462 func NewACLInterfaceListDump() api.Message {
463         return &ACLInterfaceListDump{}
464 }
465
466 // ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'.
467 // Generated from 'bin_api/acl.api.json', line 128:
468 //
469 //        ["acl_interface_list_details",
470 //            ["u16", "_vl_msg_id"],
471 //            ["u32", "context"],
472 //            ["u32", "sw_if_index"],
473 //            ["u8", "count"],
474 //            ["u8", "n_input"],
475 //            ["u32", "acls", 0, "count"],
476 //            {"crc" : "0xc8150656"}
477 //        ],
478 //
479 type ACLInterfaceListDetails struct {
480         SwIfIndex uint32
481         Count     uint8 `struc:"sizeof=Acls"`
482         NInput    uint8
483         Acls      []uint32
484 }
485
486 func (*ACLInterfaceListDetails) GetMessageName() string {
487         return "acl_interface_list_details"
488 }
489 func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
490         return api.ReplyMessage
491 }
492 func (*ACLInterfaceListDetails) GetCrcString() string {
493         return "c8150656"
494 }
495 func NewACLInterfaceListDetails() api.Message {
496         return &ACLInterfaceListDetails{}
497 }
498
499 // MacipACLAdd represents the VPP binary API message 'macip_acl_add'.
500 // Generated from 'bin_api/acl.api.json', line 137:
501 //
502 //        ["macip_acl_add",
503 //            ["u16", "_vl_msg_id"],
504 //            ["u32", "client_index"],
505 //            ["u32", "context"],
506 //            ["u8", "tag", 64],
507 //            ["u32", "count"],
508 //            ["vl_api_macip_acl_rule_t", "r", 0, "count"],
509 //            {"crc" : "0x33356284"}
510 //        ],
511 //
512 type MacipACLAdd struct {
513         Tag   []byte `struc:"[64]byte"`
514         Count uint32 `struc:"sizeof=R"`
515         R     []MacipACLRule
516 }
517
518 func (*MacipACLAdd) GetMessageName() string {
519         return "macip_acl_add"
520 }
521 func (*MacipACLAdd) GetMessageType() api.MessageType {
522         return api.RequestMessage
523 }
524 func (*MacipACLAdd) GetCrcString() string {
525         return "33356284"
526 }
527 func NewMacipACLAdd() api.Message {
528         return &MacipACLAdd{}
529 }
530
531 // MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'.
532 // Generated from 'bin_api/acl.api.json', line 146:
533 //
534 //        ["macip_acl_add_reply",
535 //            ["u16", "_vl_msg_id"],
536 //            ["u32", "context"],
537 //            ["u32", "acl_index"],
538 //            ["i32", "retval"],
539 //            {"crc" : "0x472edb4c"}
540 //        ],
541 //
542 type MacipACLAddReply struct {
543         ACLIndex uint32
544         Retval   int32
545 }
546
547 func (*MacipACLAddReply) GetMessageName() string {
548         return "macip_acl_add_reply"
549 }
550 func (*MacipACLAddReply) GetMessageType() api.MessageType {
551         return api.ReplyMessage
552 }
553 func (*MacipACLAddReply) GetCrcString() string {
554         return "472edb4c"
555 }
556 func NewMacipACLAddReply() api.Message {
557         return &MacipACLAddReply{}
558 }
559
560 // MacipACLDel represents the VPP binary API message 'macip_acl_del'.
561 // Generated from 'bin_api/acl.api.json', line 153:
562 //
563 //        ["macip_acl_del",
564 //            ["u16", "_vl_msg_id"],
565 //            ["u32", "client_index"],
566 //            ["u32", "context"],
567 //            ["u32", "acl_index"],
568 //            {"crc" : "0xdde1141f"}
569 //        ],
570 //
571 type MacipACLDel struct {
572         ACLIndex uint32
573 }
574
575 func (*MacipACLDel) GetMessageName() string {
576         return "macip_acl_del"
577 }
578 func (*MacipACLDel) GetMessageType() api.MessageType {
579         return api.RequestMessage
580 }
581 func (*MacipACLDel) GetCrcString() string {
582         return "dde1141f"
583 }
584 func NewMacipACLDel() api.Message {
585         return &MacipACLDel{}
586 }
587
588 // MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'.
589 // Generated from 'bin_api/acl.api.json', line 160:
590 //
591 //        ["macip_acl_del_reply",
592 //            ["u16", "_vl_msg_id"],
593 //            ["u32", "context"],
594 //            ["i32", "retval"],
595 //            {"crc" : "0xeeb60e0f"}
596 //        ],
597 //
598 type MacipACLDelReply struct {
599         Retval int32
600 }
601
602 func (*MacipACLDelReply) GetMessageName() string {
603         return "macip_acl_del_reply"
604 }
605 func (*MacipACLDelReply) GetMessageType() api.MessageType {
606         return api.ReplyMessage
607 }
608 func (*MacipACLDelReply) GetCrcString() string {
609         return "eeb60e0f"
610 }
611 func NewMacipACLDelReply() api.Message {
612         return &MacipACLDelReply{}
613 }
614
615 // MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'.
616 // Generated from 'bin_api/acl.api.json', line 166:
617 //
618 //        ["macip_acl_interface_add_del",
619 //            ["u16", "_vl_msg_id"],
620 //            ["u32", "client_index"],
621 //            ["u32", "context"],
622 //            ["u8", "is_add"],
623 //            ["u32", "sw_if_index"],
624 //            ["u32", "acl_index"],
625 //            {"crc" : "0x03a4fab2"}
626 //        ],
627 //
628 type MacipACLInterfaceAddDel struct {
629         IsAdd     uint8
630         SwIfIndex uint32
631         ACLIndex  uint32
632 }
633
634 func (*MacipACLInterfaceAddDel) GetMessageName() string {
635         return "macip_acl_interface_add_del"
636 }
637 func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
638         return api.RequestMessage
639 }
640 func (*MacipACLInterfaceAddDel) GetCrcString() string {
641         return "03a4fab2"
642 }
643 func NewMacipACLInterfaceAddDel() api.Message {
644         return &MacipACLInterfaceAddDel{}
645 }
646
647 // MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'.
648 // Generated from 'bin_api/acl.api.json', line 175:
649 //
650 //        ["macip_acl_interface_add_del_reply",
651 //            ["u16", "_vl_msg_id"],
652 //            ["u32", "context"],
653 //            ["i32", "retval"],
654 //            {"crc" : "0x9e9ee485"}
655 //        ],
656 //
657 type MacipACLInterfaceAddDelReply struct {
658         Retval int32
659 }
660
661 func (*MacipACLInterfaceAddDelReply) GetMessageName() string {
662         return "macip_acl_interface_add_del_reply"
663 }
664 func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
665         return api.ReplyMessage
666 }
667 func (*MacipACLInterfaceAddDelReply) GetCrcString() string {
668         return "9e9ee485"
669 }
670 func NewMacipACLInterfaceAddDelReply() api.Message {
671         return &MacipACLInterfaceAddDelReply{}
672 }
673
674 // MacipACLDump represents the VPP binary API message 'macip_acl_dump'.
675 // Generated from 'bin_api/acl.api.json', line 181:
676 //
677 //        ["macip_acl_dump",
678 //            ["u16", "_vl_msg_id"],
679 //            ["u32", "client_index"],
680 //            ["u32", "context"],
681 //            ["u32", "acl_index"],
682 //            {"crc" : "0xd38227cb"}
683 //        ],
684 //
685 type MacipACLDump struct {
686         ACLIndex uint32
687 }
688
689 func (*MacipACLDump) GetMessageName() string {
690         return "macip_acl_dump"
691 }
692 func (*MacipACLDump) GetMessageType() api.MessageType {
693         return api.RequestMessage
694 }
695 func (*MacipACLDump) GetCrcString() string {
696         return "d38227cb"
697 }
698 func NewMacipACLDump() api.Message {
699         return &MacipACLDump{}
700 }
701
702 // MacipACLDetails represents the VPP binary API message 'macip_acl_details'.
703 // Generated from 'bin_api/acl.api.json', line 188:
704 //
705 //        ["macip_acl_details",
706 //            ["u16", "_vl_msg_id"],
707 //            ["u32", "context"],
708 //            ["u32", "acl_index"],
709 //            ["u8", "tag", 64],
710 //            ["u32", "count"],
711 //            ["vl_api_macip_acl_rule_t", "r", 0, "count"],
712 //            {"crc" : "0xee1c50db"}
713 //        ],
714 //
715 type MacipACLDetails struct {
716         ACLIndex uint32
717         Tag      []byte `struc:"[64]byte"`
718         Count    uint32 `struc:"sizeof=R"`
719         R        []MacipACLRule
720 }
721
722 func (*MacipACLDetails) GetMessageName() string {
723         return "macip_acl_details"
724 }
725 func (*MacipACLDetails) GetMessageType() api.MessageType {
726         return api.ReplyMessage
727 }
728 func (*MacipACLDetails) GetCrcString() string {
729         return "ee1c50db"
730 }
731 func NewMacipACLDetails() api.Message {
732         return &MacipACLDetails{}
733 }
734
735 // MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'.
736 // Generated from 'bin_api/acl.api.json', line 197:
737 //
738 //        ["macip_acl_interface_get",
739 //            ["u16", "_vl_msg_id"],
740 //            ["u32", "client_index"],
741 //            ["u32", "context"],
742 //            {"crc" : "0x317ce31c"}
743 //        ],
744 //
745 type MacipACLInterfaceGet struct {
746 }
747
748 func (*MacipACLInterfaceGet) GetMessageName() string {
749         return "macip_acl_interface_get"
750 }
751 func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
752         return api.RequestMessage
753 }
754 func (*MacipACLInterfaceGet) GetCrcString() string {
755         return "317ce31c"
756 }
757 func NewMacipACLInterfaceGet() api.Message {
758         return &MacipACLInterfaceGet{}
759 }
760
761 // MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'.
762 // Generated from 'bin_api/acl.api.json', line 203:
763 //
764 //        ["macip_acl_interface_get_reply",
765 //            ["u16", "_vl_msg_id"],
766 //            ["u32", "context"],
767 //            ["u32", "count"],
768 //            ["u32", "acls", 0, "count"],
769 //            {"crc" : "0x6c86a56c"}
770 //        ]
771 //
772 type MacipACLInterfaceGetReply struct {
773         Count uint32 `struc:"sizeof=Acls"`
774         Acls  []uint32
775 }
776
777 func (*MacipACLInterfaceGetReply) GetMessageName() string {
778         return "macip_acl_interface_get_reply"
779 }
780 func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
781         return api.ReplyMessage
782 }
783 func (*MacipACLInterfaceGetReply) GetCrcString() string {
784         return "6c86a56c"
785 }
786 func NewMacipACLInterfaceGetReply() api.Message {
787         return &MacipACLInterfaceGetReply{}
788 }