aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/tap/tap.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bin_api/tap/tap.ba.go')
-rw-r--r--examples/bin_api/tap/tap.ba.go44
1 files changed, 5 insertions, 39 deletions
diff --git a/examples/bin_api/tap/tap.ba.go b/examples/bin_api/tap/tap.ba.go
index d2878ea..d4daa1d 100644
--- a/examples/bin_api/tap/tap.ba.go
+++ b/examples/bin_api/tap/tap.ba.go
@@ -1,15 +1,13 @@
// Code generated by GoVPP binapi-generator. DO NOT EDIT.
-// source: tap.api.json
+// source: tap.api.json
/*
-Package tap is a generated VPP binary API of the 'tap' VPP module.
+ Package tap is a generated from VPP binary API module 'tap'.
-It is generated from this file:
- tap.api.json
+ It contains following objects:
+ 8 messages
+ 4 services
-It contains these VPP binary API objects:
- 8 messages
- 4 services
*/
package tap
@@ -25,7 +23,6 @@ var _ = bytes.NewBuffer
/* Messages */
// TapConnect represents the VPP binary API message 'tap_connect'.
-// Generated from 'tap.api.json', line 4:
//
// "tap_connect",
// [
@@ -121,12 +118,8 @@ func (*TapConnect) GetCrcString() string {
func (*TapConnect) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewTapConnect() api.Message {
- return &TapConnect{}
-}
// TapConnectReply represents the VPP binary API message 'tap_connect_reply'.
-// Generated from 'tap.api.json', line 75:
//
// "tap_connect_reply",
// [
@@ -163,12 +156,8 @@ func (*TapConnectReply) GetCrcString() string {
func (*TapConnectReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewTapConnectReply() api.Message {
- return &TapConnectReply{}
-}
// TapModify represents the VPP binary API message 'tap_modify'.
-// Generated from 'tap.api.json', line 97:
//
// "tap_modify",
// [
@@ -231,12 +220,8 @@ func (*TapModify) GetCrcString() string {
func (*TapModify) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewTapModify() api.Message {
- return &TapModify{}
-}
// TapModifyReply represents the VPP binary API message 'tap_modify_reply'.
-// Generated from 'tap.api.json', line 141:
//
// "tap_modify_reply",
// [
@@ -273,12 +258,8 @@ func (*TapModifyReply) GetCrcString() string {
func (*TapModifyReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewTapModifyReply() api.Message {
- return &TapModifyReply{}
-}
// TapDelete represents the VPP binary API message 'tap_delete'.
-// Generated from 'tap.api.json', line 163:
//
// "tap_delete",
// [
@@ -314,12 +295,8 @@ func (*TapDelete) GetCrcString() string {
func (*TapDelete) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewTapDelete() api.Message {
- return &TapDelete{}
-}
// TapDeleteReply represents the VPP binary API message 'tap_delete_reply'.
-// Generated from 'tap.api.json', line 185:
//
// "tap_delete_reply",
// [
@@ -351,12 +328,8 @@ func (*TapDeleteReply) GetCrcString() string {
func (*TapDeleteReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewTapDeleteReply() api.Message {
- return &TapDeleteReply{}
-}
// SwInterfaceTapDump represents the VPP binary API message 'sw_interface_tap_dump'.
-// Generated from 'tap.api.json', line 203:
//
// "sw_interface_tap_dump",
// [
@@ -386,12 +359,8 @@ func (*SwInterfaceTapDump) GetCrcString() string {
func (*SwInterfaceTapDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceTapDump() api.Message {
- return &SwInterfaceTapDump{}
-}
// SwInterfaceTapDetails represents the VPP binary API message 'sw_interface_tap_details'.
-// Generated from 'tap.api.json', line 221:
//
// "sw_interface_tap_details",
// [
@@ -429,9 +398,6 @@ func (*SwInterfaceTapDetails) GetCrcString() string {
func (*SwInterfaceTapDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceTapDetails() api.Message {
- return &SwInterfaceTapDetails{}
-}
/* Services */