aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/acl/acl.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bin_api/acl/acl.ba.go')
-rw-r--r--examples/bin_api/acl/acl.ba.go152
1 files changed, 6 insertions, 146 deletions
diff --git a/examples/bin_api/acl/acl.ba.go b/examples/bin_api/acl/acl.ba.go
index 0dfd335..47b79cf 100644
--- a/examples/bin_api/acl/acl.ba.go
+++ b/examples/bin_api/acl/acl.ba.go
@@ -1,16 +1,14 @@
// Code generated by GoVPP binapi-generator. DO NOT EDIT.
-// source: acl.api.json
+// source: acl.api.json
/*
-Package acl is a generated VPP binary API of the 'acl' VPP module.
+ Package acl is a generated from VPP binary API module 'acl'.
-It is generated from this file:
- acl.api.json
+ It contains following objects:
+ 34 messages
+ 2 types
+ 17 services
-It contains these VPP binary API objects:
- 34 messages
- 2 types
- 17 services
*/
package acl
@@ -26,7 +24,6 @@ var _ = bytes.NewBuffer
/* Types */
// ACLRule represents the VPP binary API type 'acl_rule'.
-// Generated from 'acl.api.json', line 922:
//
// "acl_rule",
// [
@@ -111,7 +108,6 @@ func (*ACLRule) GetCrcString() string {
}
// MacipACLRule represents the VPP binary API type 'macip_acl_rule'.
-// Generated from 'acl.api.json', line 982:
//
// "macip_acl_rule",
// [
@@ -164,7 +160,6 @@ func (*MacipACLRule) GetCrcString() string {
/* Messages */
// ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'.
-// Generated from 'acl.api.json', line 4:
//
// "acl_plugin_get_version",
// [
@@ -194,12 +189,8 @@ func (*ACLPluginGetVersion) GetCrcString() string {
func (*ACLPluginGetVersion) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLPluginGetVersion() api.Message {
- return &ACLPluginGetVersion{}
-}
// ACLPluginGetVersionReply represents the VPP binary API message 'acl_plugin_get_version_reply'.
-// Generated from 'acl.api.json', line 22:
//
// "acl_plugin_get_version_reply",
// [
@@ -236,12 +227,8 @@ func (*ACLPluginGetVersionReply) GetCrcString() string {
func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLPluginGetVersionReply() api.Message {
- return &ACLPluginGetVersionReply{}
-}
// ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'.
-// Generated from 'acl.api.json', line 44:
//
// "acl_plugin_control_ping",
// [
@@ -271,12 +258,8 @@ func (*ACLPluginControlPing) GetCrcString() string {
func (*ACLPluginControlPing) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLPluginControlPing() api.Message {
- return &ACLPluginControlPing{}
-}
// ACLPluginControlPingReply represents the VPP binary API message 'acl_plugin_control_ping_reply'.
-// Generated from 'acl.api.json', line 62:
//
// "acl_plugin_control_ping_reply",
// [
@@ -318,12 +301,8 @@ func (*ACLPluginControlPingReply) GetCrcString() string {
func (*ACLPluginControlPingReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLPluginControlPingReply() api.Message {
- return &ACLPluginControlPingReply{}
-}
// ACLAddReplace represents the VPP binary API message 'acl_add_replace'.
-// Generated from 'acl.api.json', line 88:
//
// "acl_add_replace",
// [
@@ -377,12 +356,8 @@ func (*ACLAddReplace) GetCrcString() string {
func (*ACLAddReplace) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLAddReplace() api.Message {
- return &ACLAddReplace{}
-}
// ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'.
-// Generated from 'acl.api.json', line 125:
//
// "acl_add_replace_reply",
// [
@@ -419,12 +394,8 @@ func (*ACLAddReplaceReply) GetCrcString() string {
func (*ACLAddReplaceReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLAddReplaceReply() api.Message {
- return &ACLAddReplaceReply{}
-}
// ACLDel represents the VPP binary API message 'acl_del'.
-// Generated from 'acl.api.json', line 147:
//
// "acl_del",
// [
@@ -460,12 +431,8 @@ func (*ACLDel) GetCrcString() string {
func (*ACLDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLDel() api.Message {
- return &ACLDel{}
-}
// ACLDelReply represents the VPP binary API message 'acl_del_reply'.
-// Generated from 'acl.api.json', line 169:
//
// "acl_del_reply",
// [
@@ -497,12 +464,8 @@ func (*ACLDelReply) GetCrcString() string {
func (*ACLDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLDelReply() api.Message {
- return &ACLDelReply{}
-}
// ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'.
-// Generated from 'acl.api.json', line 187:
//
// "acl_interface_add_del",
// [
@@ -553,12 +516,8 @@ func (*ACLInterfaceAddDel) GetCrcString() string {
func (*ACLInterfaceAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLInterfaceAddDel() api.Message {
- return &ACLInterfaceAddDel{}
-}
// ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'.
-// Generated from 'acl.api.json', line 221:
//
// "acl_interface_add_del_reply",
// [
@@ -590,12 +549,8 @@ func (*ACLInterfaceAddDelReply) GetCrcString() string {
func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLInterfaceAddDelReply() api.Message {
- return &ACLInterfaceAddDelReply{}
-}
// ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'.
-// Generated from 'acl.api.json', line 239:
//
// "acl_interface_set_acl_list",
// [
@@ -648,12 +603,8 @@ func (*ACLInterfaceSetACLList) GetCrcString() string {
func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLInterfaceSetACLList() api.Message {
- return &ACLInterfaceSetACLList{}
-}
// ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'.
-// Generated from 'acl.api.json', line 275:
//
// "acl_interface_set_acl_list_reply",
// [
@@ -685,12 +636,8 @@ func (*ACLInterfaceSetACLListReply) GetCrcString() string {
func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLInterfaceSetACLListReply() api.Message {
- return &ACLInterfaceSetACLListReply{}
-}
// ACLDump represents the VPP binary API message 'acl_dump'.
-// Generated from 'acl.api.json', line 293:
//
// "acl_dump",
// [
@@ -726,12 +673,8 @@ func (*ACLDump) GetCrcString() string {
func (*ACLDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLDump() api.Message {
- return &ACLDump{}
-}
// ACLDetails represents the VPP binary API message 'acl_details'.
-// Generated from 'acl.api.json', line 315:
//
// "acl_details",
// [
@@ -781,12 +724,8 @@ func (*ACLDetails) GetCrcString() string {
func (*ACLDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLDetails() api.Message {
- return &ACLDetails{}
-}
// ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'.
-// Generated from 'acl.api.json', line 348:
//
// "acl_interface_list_dump",
// [
@@ -822,12 +761,8 @@ func (*ACLInterfaceListDump) GetCrcString() string {
func (*ACLInterfaceListDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLInterfaceListDump() api.Message {
- return &ACLInterfaceListDump{}
-}
// ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'.
-// Generated from 'acl.api.json', line 370:
//
// "acl_interface_list_details",
// [
@@ -876,12 +811,8 @@ func (*ACLInterfaceListDetails) GetCrcString() string {
func (*ACLInterfaceListDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLInterfaceListDetails() api.Message {
- return &ACLInterfaceListDetails{}
-}
// MacipACLAdd represents the VPP binary API message 'macip_acl_add'.
-// Generated from 'acl.api.json', line 402:
//
// "macip_acl_add",
// [
@@ -930,12 +861,8 @@ func (*MacipACLAdd) GetCrcString() string {
func (*MacipACLAdd) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLAdd() api.Message {
- return &MacipACLAdd{}
-}
// MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'.
-// Generated from 'acl.api.json', line 435:
//
// "macip_acl_add_reply",
// [
@@ -972,12 +899,8 @@ func (*MacipACLAddReply) GetCrcString() string {
func (*MacipACLAddReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLAddReply() api.Message {
- return &MacipACLAddReply{}
-}
// MacipACLAddReplace represents the VPP binary API message 'macip_acl_add_replace'.
-// Generated from 'acl.api.json', line 457:
//
// "macip_acl_add_replace",
// [
@@ -1031,12 +954,8 @@ func (*MacipACLAddReplace) GetCrcString() string {
func (*MacipACLAddReplace) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLAddReplace() api.Message {
- return &MacipACLAddReplace{}
-}
// MacipACLAddReplaceReply represents the VPP binary API message 'macip_acl_add_replace_reply'.
-// Generated from 'acl.api.json', line 494:
//
// "macip_acl_add_replace_reply",
// [
@@ -1073,12 +992,8 @@ func (*MacipACLAddReplaceReply) GetCrcString() string {
func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLAddReplaceReply() api.Message {
- return &MacipACLAddReplaceReply{}
-}
// MacipACLDel represents the VPP binary API message 'macip_acl_del'.
-// Generated from 'acl.api.json', line 516:
//
// "macip_acl_del",
// [
@@ -1114,12 +1029,8 @@ func (*MacipACLDel) GetCrcString() string {
func (*MacipACLDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLDel() api.Message {
- return &MacipACLDel{}
-}
// MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'.
-// Generated from 'acl.api.json', line 538:
//
// "macip_acl_del_reply",
// [
@@ -1151,12 +1062,8 @@ func (*MacipACLDelReply) GetCrcString() string {
func (*MacipACLDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLDelReply() api.Message {
- return &MacipACLDelReply{}
-}
// MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'.
-// Generated from 'acl.api.json', line 556:
//
// "macip_acl_interface_add_del",
// [
@@ -1202,12 +1109,8 @@ func (*MacipACLInterfaceAddDel) GetCrcString() string {
func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLInterfaceAddDel() api.Message {
- return &MacipACLInterfaceAddDel{}
-}
// MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'.
-// Generated from 'acl.api.json', line 586:
//
// "macip_acl_interface_add_del_reply",
// [
@@ -1239,12 +1142,8 @@ func (*MacipACLInterfaceAddDelReply) GetCrcString() string {
func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLInterfaceAddDelReply() api.Message {
- return &MacipACLInterfaceAddDelReply{}
-}
// MacipACLDump represents the VPP binary API message 'macip_acl_dump'.
-// Generated from 'acl.api.json', line 604:
//
// "macip_acl_dump",
// [
@@ -1280,12 +1179,8 @@ func (*MacipACLDump) GetCrcString() string {
func (*MacipACLDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLDump() api.Message {
- return &MacipACLDump{}
-}
// MacipACLDetails represents the VPP binary API message 'macip_acl_details'.
-// Generated from 'acl.api.json', line 626:
//
// "macip_acl_details",
// [
@@ -1335,12 +1230,8 @@ func (*MacipACLDetails) GetCrcString() string {
func (*MacipACLDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLDetails() api.Message {
- return &MacipACLDetails{}
-}
// MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'.
-// Generated from 'acl.api.json', line 659:
//
// "macip_acl_interface_get",
// [
@@ -1370,12 +1261,8 @@ func (*MacipACLInterfaceGet) GetCrcString() string {
func (*MacipACLInterfaceGet) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLInterfaceGet() api.Message {
- return &MacipACLInterfaceGet{}
-}
// MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'.
-// Generated from 'acl.api.json', line 677:
//
// "macip_acl_interface_get_reply",
// [
@@ -1414,12 +1301,8 @@ func (*MacipACLInterfaceGetReply) GetCrcString() string {
func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLInterfaceGetReply() api.Message {
- return &MacipACLInterfaceGetReply{}
-}
// MacipACLInterfaceListDump represents the VPP binary API message 'macip_acl_interface_list_dump'.
-// Generated from 'acl.api.json', line 701:
//
// "macip_acl_interface_list_dump",
// [
@@ -1455,12 +1338,8 @@ func (*MacipACLInterfaceListDump) GetCrcString() string {
func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMacipACLInterfaceListDump() api.Message {
- return &MacipACLInterfaceListDump{}
-}
// MacipACLInterfaceListDetails represents the VPP binary API message 'macip_acl_interface_list_details'.
-// Generated from 'acl.api.json', line 723:
//
// "macip_acl_interface_list_details",
// [
@@ -1504,12 +1383,8 @@ func (*MacipACLInterfaceListDetails) GetCrcString() string {
func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewMacipACLInterfaceListDetails() api.Message {
- return &MacipACLInterfaceListDetails{}
-}
// ACLInterfaceSetEtypeWhitelist represents the VPP binary API message 'acl_interface_set_etype_whitelist'.
-// Generated from 'acl.api.json', line 751:
//
// "acl_interface_set_etype_whitelist",
// [
@@ -1562,12 +1437,8 @@ func (*ACLInterfaceSetEtypeWhitelist) GetCrcString() string {
func (*ACLInterfaceSetEtypeWhitelist) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLInterfaceSetEtypeWhitelist() api.Message {
- return &ACLInterfaceSetEtypeWhitelist{}
-}
// ACLInterfaceSetEtypeWhitelistReply represents the VPP binary API message 'acl_interface_set_etype_whitelist_reply'.
-// Generated from 'acl.api.json', line 787:
//
// "acl_interface_set_etype_whitelist_reply",
// [
@@ -1599,12 +1470,8 @@ func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString() string {
func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLInterfaceSetEtypeWhitelistReply() api.Message {
- return &ACLInterfaceSetEtypeWhitelistReply{}
-}
// ACLInterfaceEtypeWhitelistDump represents the VPP binary API message 'acl_interface_etype_whitelist_dump'.
-// Generated from 'acl.api.json', line 805:
//
// "acl_interface_etype_whitelist_dump",
// [
@@ -1640,12 +1507,8 @@ func (*ACLInterfaceEtypeWhitelistDump) GetCrcString() string {
func (*ACLInterfaceEtypeWhitelistDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewACLInterfaceEtypeWhitelistDump() api.Message {
- return &ACLInterfaceEtypeWhitelistDump{}
-}
// ACLInterfaceEtypeWhitelistDetails represents the VPP binary API message 'acl_interface_etype_whitelist_details'.
-// Generated from 'acl.api.json', line 827:
//
// "acl_interface_etype_whitelist_details",
// [
@@ -1694,9 +1557,6 @@ func (*ACLInterfaceEtypeWhitelistDetails) GetCrcString() string {
func (*ACLInterfaceEtypeWhitelistDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewACLInterfaceEtypeWhitelistDetails() api.Message {
- return &ACLInterfaceEtypeWhitelistDetails{}
-}
/* Services */