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'
6 import "git.fd.io/govpp.git/api"
8 // VlApiVersion contains version of the API.
9 const VlAPIVersion = 0x1db2ece9
11 // ACLRule represents the VPP binary API data type 'acl_rule'.
12 // Generated from '../../bin_api/acl.api.json', line 836:
30 // "src_ip_prefix_len"
39 // "dst_ip_prefix_len"
47 // "srcport_or_icmptype_first"
51 // "srcport_or_icmptype_last"
55 // "dstport_or_icmpcode_first"
59 // "dstport_or_icmpcode_last"
70 // "crc": "0x6f99bf4d"
76 SrcIPAddr []byte `struc:"[16]byte"`
78 DstIPAddr []byte `struc:"[16]byte"`
81 SrcportOrIcmptypeFirst uint16
82 SrcportOrIcmptypeLast uint16
83 DstportOrIcmpcodeFirst uint16
84 DstportOrIcmpcodeLast uint16
89 func (*ACLRule) GetTypeName() string {
92 func (*ACLRule) GetCrcString() string {
96 // MacipACLRule represents the VPP binary API data type 'macip_acl_rule'.
97 // Generated from '../../bin_api/acl.api.json', line 896:
125 // "src_ip_prefix_len"
128 // "crc": "0x70589f1e"
131 type MacipACLRule struct {
134 SrcMac []byte `struc:"[6]byte"`
135 SrcMacMask []byte `struc:"[6]byte"`
136 SrcIPAddr []byte `struc:"[16]byte"`
140 func (*MacipACLRule) GetTypeName() string {
141 return "macip_acl_rule"
143 func (*MacipACLRule) GetCrcString() string {
147 // ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'.
148 // Generated from '../../bin_api/acl.api.json', line 87:
150 // "acl_plugin_get_version",
164 // "crc": "0x51077d14"
167 type ACLPluginGetVersion struct {
170 func (*ACLPluginGetVersion) GetMessageName() string {
171 return "acl_plugin_get_version"
173 func (*ACLPluginGetVersion) GetMessageType() api.MessageType {
174 return api.RequestMessage
176 func (*ACLPluginGetVersion) GetCrcString() string {
179 func NewACLPluginGetVersion() api.Message {
180 return &ACLPluginGetVersion{}
183 // ACLPluginGetVersionReply represents the VPP binary API message 'acl_plugin_get_version_reply'.
184 // Generated from '../../bin_api/acl.api.json', line 105:
186 // "acl_plugin_get_version_reply",
204 // "crc": "0x9b32cf86"
207 type ACLPluginGetVersionReply struct {
212 func (*ACLPluginGetVersionReply) GetMessageName() string {
213 return "acl_plugin_get_version_reply"
215 func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType {
216 return api.ReplyMessage
218 func (*ACLPluginGetVersionReply) GetCrcString() string {
221 func NewACLPluginGetVersionReply() api.Message {
222 return &ACLPluginGetVersionReply{}
225 // ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'.
226 // Generated from '../../bin_api/acl.api.json', line 127:
228 // "acl_plugin_control_ping",
242 // "crc": "0x51077d14"
245 type ACLPluginControlPing struct {
248 func (*ACLPluginControlPing) GetMessageName() string {
249 return "acl_plugin_control_ping"
251 func (*ACLPluginControlPing) GetMessageType() api.MessageType {
252 return api.RequestMessage
254 func (*ACLPluginControlPing) GetCrcString() string {
257 func NewACLPluginControlPing() api.Message {
258 return &ACLPluginControlPing{}
261 // ACLPluginControlPingReply represents the VPP binary API message 'acl_plugin_control_ping_reply'.
262 // Generated from '../../bin_api/acl.api.json', line 145:
264 // "acl_plugin_control_ping_reply",
286 // "crc": "0xf6b0b8ca"
289 type ACLPluginControlPingReply struct {
295 func (*ACLPluginControlPingReply) GetMessageName() string {
296 return "acl_plugin_control_ping_reply"
298 func (*ACLPluginControlPingReply) GetMessageType() api.MessageType {
299 return api.ReplyMessage
301 func (*ACLPluginControlPingReply) GetCrcString() string {
304 func NewACLPluginControlPingReply() api.Message {
305 return &ACLPluginControlPingReply{}
308 // ACLAddReplace represents the VPP binary API message 'acl_add_replace'.
309 // Generated from '../../bin_api/acl.api.json', line 171:
311 // "acl_add_replace",
338 // "vl_api_acl_rule_t",
344 // "crc": "0xe839997e"
347 type ACLAddReplace struct {
349 Tag []byte `struc:"[64]byte"`
350 Count uint32 `struc:"sizeof=R"`
354 func (*ACLAddReplace) GetMessageName() string {
355 return "acl_add_replace"
357 func (*ACLAddReplace) GetMessageType() api.MessageType {
358 return api.RequestMessage
360 func (*ACLAddReplace) GetCrcString() string {
363 func NewACLAddReplace() api.Message {
364 return &ACLAddReplace{}
367 // ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'.
368 // Generated from '../../bin_api/acl.api.json', line 208:
370 // "acl_add_replace_reply",
388 // "crc": "0xac407b0c"
391 type ACLAddReplaceReply struct {
396 func (*ACLAddReplaceReply) GetMessageName() string {
397 return "acl_add_replace_reply"
399 func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
400 return api.ReplyMessage
402 func (*ACLAddReplaceReply) GetCrcString() string {
405 func NewACLAddReplaceReply() api.Message {
406 return &ACLAddReplaceReply{}
409 // ACLDel represents the VPP binary API message 'acl_del'.
410 // Generated from '../../bin_api/acl.api.json', line 230:
430 // "crc": "0xef34fea4"
437 func (*ACLDel) GetMessageName() string {
440 func (*ACLDel) GetMessageType() api.MessageType {
441 return api.RequestMessage
443 func (*ACLDel) GetCrcString() string {
446 func NewACLDel() api.Message {
450 // ACLDelReply represents the VPP binary API message 'acl_del_reply'.
451 // Generated from '../../bin_api/acl.api.json', line 252:
467 // "crc": "0xe8d4e804"
470 type ACLDelReply struct {
474 func (*ACLDelReply) GetMessageName() string {
475 return "acl_del_reply"
477 func (*ACLDelReply) GetMessageType() api.MessageType {
478 return api.ReplyMessage
480 func (*ACLDelReply) GetCrcString() string {
483 func NewACLDelReply() api.Message {
484 return &ACLDelReply{}
487 // ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'.
488 // Generated from '../../bin_api/acl.api.json', line 270:
490 // "acl_interface_add_del",
520 // "crc": "0x0b2aedd1"
523 type ACLInterfaceAddDel struct {
530 func (*ACLInterfaceAddDel) GetMessageName() string {
531 return "acl_interface_add_del"
533 func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
534 return api.RequestMessage
536 func (*ACLInterfaceAddDel) GetCrcString() string {
539 func NewACLInterfaceAddDel() api.Message {
540 return &ACLInterfaceAddDel{}
543 // ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'.
544 // Generated from '../../bin_api/acl.api.json', line 304:
546 // "acl_interface_add_del_reply",
560 // "crc": "0xe8d4e804"
563 type ACLInterfaceAddDelReply struct {
567 func (*ACLInterfaceAddDelReply) GetMessageName() string {
568 return "acl_interface_add_del_reply"
570 func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
571 return api.ReplyMessage
573 func (*ACLInterfaceAddDelReply) GetCrcString() string {
576 func NewACLInterfaceAddDelReply() api.Message {
577 return &ACLInterfaceAddDelReply{}
580 // ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'.
581 // Generated from '../../bin_api/acl.api.json', line 322:
583 // "acl_interface_set_acl_list",
615 // "crc": "0x8baece38"
618 type ACLInterfaceSetACLList struct {
620 Count uint8 `struc:"sizeof=Acls"`
625 func (*ACLInterfaceSetACLList) GetMessageName() string {
626 return "acl_interface_set_acl_list"
628 func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
629 return api.RequestMessage
631 func (*ACLInterfaceSetACLList) GetCrcString() string {
634 func NewACLInterfaceSetACLList() api.Message {
635 return &ACLInterfaceSetACLList{}
638 // ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'.
639 // Generated from '../../bin_api/acl.api.json', line 358:
641 // "acl_interface_set_acl_list_reply",
655 // "crc": "0xe8d4e804"
658 type ACLInterfaceSetACLListReply struct {
662 func (*ACLInterfaceSetACLListReply) GetMessageName() string {
663 return "acl_interface_set_acl_list_reply"
665 func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
666 return api.ReplyMessage
668 func (*ACLInterfaceSetACLListReply) GetCrcString() string {
671 func NewACLInterfaceSetACLListReply() api.Message {
672 return &ACLInterfaceSetACLListReply{}
675 // ACLDump represents the VPP binary API message 'acl_dump'.
676 // Generated from '../../bin_api/acl.api.json', line 376:
696 // "crc": "0xef34fea4"
699 type ACLDump struct {
703 func (*ACLDump) GetMessageName() string {
706 func (*ACLDump) GetMessageType() api.MessageType {
707 return api.RequestMessage
709 func (*ACLDump) GetCrcString() string {
712 func NewACLDump() api.Message {
716 // ACLDetails represents the VPP binary API message 'acl_details'.
717 // Generated from '../../bin_api/acl.api.json', line 398:
742 // "vl_api_acl_rule_t",
748 // "crc": "0x5bd895be"
751 type ACLDetails struct {
753 Tag []byte `struc:"[64]byte"`
754 Count uint32 `struc:"sizeof=R"`
758 func (*ACLDetails) GetMessageName() string {
761 func (*ACLDetails) GetMessageType() api.MessageType {
762 return api.ReplyMessage
764 func (*ACLDetails) GetCrcString() string {
767 func NewACLDetails() api.Message {
771 // ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'.
772 // Generated from '../../bin_api/acl.api.json', line 431:
774 // "acl_interface_list_dump",
792 // "crc": "0x529cb13f"
795 type ACLInterfaceListDump struct {
799 func (*ACLInterfaceListDump) GetMessageName() string {
800 return "acl_interface_list_dump"
802 func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
803 return api.RequestMessage
805 func (*ACLInterfaceListDump) GetCrcString() string {
808 func NewACLInterfaceListDump() api.Message {
809 return &ACLInterfaceListDump{}
812 // ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'.
813 // Generated from '../../bin_api/acl.api.json', line 453:
815 // "acl_interface_list_details",
843 // "crc": "0xd5e80809"
846 type ACLInterfaceListDetails struct {
848 Count uint8 `struc:"sizeof=Acls"`
853 func (*ACLInterfaceListDetails) GetMessageName() string {
854 return "acl_interface_list_details"
856 func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
857 return api.ReplyMessage
859 func (*ACLInterfaceListDetails) GetCrcString() string {
862 func NewACLInterfaceListDetails() api.Message {
863 return &ACLInterfaceListDetails{}
866 // MacipACLAdd represents the VPP binary API message 'macip_acl_add'.
867 // Generated from '../../bin_api/acl.api.json', line 485:
892 // "vl_api_macip_acl_rule_t",
898 // "crc": "0xb3d3d65a"
901 type MacipACLAdd struct {
902 Tag []byte `struc:"[64]byte"`
903 Count uint32 `struc:"sizeof=R"`
907 func (*MacipACLAdd) GetMessageName() string {
908 return "macip_acl_add"
910 func (*MacipACLAdd) GetMessageType() api.MessageType {
911 return api.RequestMessage
913 func (*MacipACLAdd) GetCrcString() string {
916 func NewMacipACLAdd() api.Message {
917 return &MacipACLAdd{}
920 // MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'.
921 // Generated from '../../bin_api/acl.api.json', line 518:
923 // "macip_acl_add_reply",
941 // "crc": "0xac407b0c"
944 type MacipACLAddReply struct {
949 func (*MacipACLAddReply) GetMessageName() string {
950 return "macip_acl_add_reply"
952 func (*MacipACLAddReply) GetMessageType() api.MessageType {
953 return api.ReplyMessage
955 func (*MacipACLAddReply) GetCrcString() string {
958 func NewMacipACLAddReply() api.Message {
959 return &MacipACLAddReply{}
962 // MacipACLAddReplace represents the VPP binary API message 'macip_acl_add_replace'.
963 // Generated from '../../bin_api/acl.api.json', line 540:
965 // "macip_acl_add_replace",
992 // "vl_api_macip_acl_rule_t",
998 // "crc": "0xa0e8c01b"
1001 type MacipACLAddReplace struct {
1003 Tag []byte `struc:"[64]byte"`
1004 Count uint32 `struc:"sizeof=R"`
1008 func (*MacipACLAddReplace) GetMessageName() string {
1009 return "macip_acl_add_replace"
1011 func (*MacipACLAddReplace) GetMessageType() api.MessageType {
1012 return api.RequestMessage
1014 func (*MacipACLAddReplace) GetCrcString() string {
1017 func NewMacipACLAddReplace() api.Message {
1018 return &MacipACLAddReplace{}
1021 // MacipACLAddReplaceReply represents the VPP binary API message 'macip_acl_add_replace_reply'.
1022 // Generated from '../../bin_api/acl.api.json', line 577:
1024 // "macip_acl_add_replace_reply",
1042 // "crc": "0xac407b0c"
1045 type MacipACLAddReplaceReply struct {
1050 func (*MacipACLAddReplaceReply) GetMessageName() string {
1051 return "macip_acl_add_replace_reply"
1053 func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType {
1054 return api.ReplyMessage
1056 func (*MacipACLAddReplaceReply) GetCrcString() string {
1059 func NewMacipACLAddReplaceReply() api.Message {
1060 return &MacipACLAddReplaceReply{}
1063 // MacipACLDel represents the VPP binary API message 'macip_acl_del'.
1064 // Generated from '../../bin_api/acl.api.json', line 599:
1084 // "crc": "0xef34fea4"
1087 type MacipACLDel struct {
1091 func (*MacipACLDel) GetMessageName() string {
1092 return "macip_acl_del"
1094 func (*MacipACLDel) GetMessageType() api.MessageType {
1095 return api.RequestMessage
1097 func (*MacipACLDel) GetCrcString() string {
1100 func NewMacipACLDel() api.Message {
1101 return &MacipACLDel{}
1104 // MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'.
1105 // Generated from '../../bin_api/acl.api.json', line 621:
1107 // "macip_acl_del_reply",
1121 // "crc": "0xe8d4e804"
1124 type MacipACLDelReply struct {
1128 func (*MacipACLDelReply) GetMessageName() string {
1129 return "macip_acl_del_reply"
1131 func (*MacipACLDelReply) GetMessageType() api.MessageType {
1132 return api.ReplyMessage
1134 func (*MacipACLDelReply) GetCrcString() string {
1137 func NewMacipACLDelReply() api.Message {
1138 return &MacipACLDelReply{}
1141 // MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'.
1142 // Generated from '../../bin_api/acl.api.json', line 639:
1144 // "macip_acl_interface_add_del",
1170 // "crc": "0x6a6be97c"
1173 type MacipACLInterfaceAddDel struct {
1179 func (*MacipACLInterfaceAddDel) GetMessageName() string {
1180 return "macip_acl_interface_add_del"
1182 func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
1183 return api.RequestMessage
1185 func (*MacipACLInterfaceAddDel) GetCrcString() string {
1188 func NewMacipACLInterfaceAddDel() api.Message {
1189 return &MacipACLInterfaceAddDel{}
1192 // MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'.
1193 // Generated from '../../bin_api/acl.api.json', line 669:
1195 // "macip_acl_interface_add_del_reply",
1209 // "crc": "0xe8d4e804"
1212 type MacipACLInterfaceAddDelReply struct {
1216 func (*MacipACLInterfaceAddDelReply) GetMessageName() string {
1217 return "macip_acl_interface_add_del_reply"
1219 func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
1220 return api.ReplyMessage
1222 func (*MacipACLInterfaceAddDelReply) GetCrcString() string {
1225 func NewMacipACLInterfaceAddDelReply() api.Message {
1226 return &MacipACLInterfaceAddDelReply{}
1229 // MacipACLDump represents the VPP binary API message 'macip_acl_dump'.
1230 // Generated from '../../bin_api/acl.api.json', line 687:
1232 // "macip_acl_dump",
1250 // "crc": "0xef34fea4"
1253 type MacipACLDump struct {
1257 func (*MacipACLDump) GetMessageName() string {
1258 return "macip_acl_dump"
1260 func (*MacipACLDump) GetMessageType() api.MessageType {
1261 return api.RequestMessage
1263 func (*MacipACLDump) GetCrcString() string {
1266 func NewMacipACLDump() api.Message {
1267 return &MacipACLDump{}
1270 // MacipACLDetails represents the VPP binary API message 'macip_acl_details'.
1271 // Generated from '../../bin_api/acl.api.json', line 709:
1273 // "macip_acl_details",
1296 // "vl_api_macip_acl_rule_t",
1302 // "crc": "0xdd2b55ba"
1305 type MacipACLDetails struct {
1307 Tag []byte `struc:"[64]byte"`
1308 Count uint32 `struc:"sizeof=R"`
1312 func (*MacipACLDetails) GetMessageName() string {
1313 return "macip_acl_details"
1315 func (*MacipACLDetails) GetMessageType() api.MessageType {
1316 return api.ReplyMessage
1318 func (*MacipACLDetails) GetCrcString() string {
1321 func NewMacipACLDetails() api.Message {
1322 return &MacipACLDetails{}
1325 // MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'.
1326 // Generated from '../../bin_api/acl.api.json', line 742:
1328 // "macip_acl_interface_get",
1342 // "crc": "0x51077d14"
1345 type MacipACLInterfaceGet struct {
1348 func (*MacipACLInterfaceGet) GetMessageName() string {
1349 return "macip_acl_interface_get"
1351 func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
1352 return api.RequestMessage
1354 func (*MacipACLInterfaceGet) GetCrcString() string {
1357 func NewMacipACLInterfaceGet() api.Message {
1358 return &MacipACLInterfaceGet{}
1361 // MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'.
1362 // Generated from '../../bin_api/acl.api.json', line 760:
1364 // "macip_acl_interface_get_reply",
1384 // "crc": "0xaccf9b05"
1387 type MacipACLInterfaceGetReply struct {
1388 Count uint32 `struc:"sizeof=Acls"`
1392 func (*MacipACLInterfaceGetReply) GetMessageName() string {
1393 return "macip_acl_interface_get_reply"
1395 func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
1396 return api.ReplyMessage
1398 func (*MacipACLInterfaceGetReply) GetCrcString() string {
1401 func NewMacipACLInterfaceGetReply() api.Message {
1402 return &MacipACLInterfaceGetReply{}
1405 // MacipACLInterfaceListDump represents the VPP binary API message 'macip_acl_interface_list_dump'.
1406 // Generated from '../../bin_api/acl.api.json', line 784:
1408 // "macip_acl_interface_list_dump",
1426 // "crc": "0x529cb13f"
1429 type MacipACLInterfaceListDump struct {
1433 func (*MacipACLInterfaceListDump) GetMessageName() string {
1434 return "macip_acl_interface_list_dump"
1436 func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType {
1437 return api.RequestMessage
1439 func (*MacipACLInterfaceListDump) GetCrcString() string {
1442 func NewMacipACLInterfaceListDump() api.Message {
1443 return &MacipACLInterfaceListDump{}
1446 // MacipACLInterfaceListDetails represents the VPP binary API message 'macip_acl_interface_list_details'.
1447 // Generated from '../../bin_api/acl.api.json', line 806:
1449 // "macip_acl_interface_list_details",
1473 // "crc": "0x29783fa0"
1476 type MacipACLInterfaceListDetails struct {
1478 Count uint8 `struc:"sizeof=Acls"`
1482 func (*MacipACLInterfaceListDetails) GetMessageName() string {
1483 return "macip_acl_interface_list_details"
1485 func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType {
1486 return api.ReplyMessage
1488 func (*MacipACLInterfaceListDetails) GetCrcString() string {
1491 func NewMacipACLInterfaceListDetails() api.Message {
1492 return &MacipACLInterfaceListDetails{}