aboutsummaryrefslogtreecommitdiffstats
path: root/examples/binapi/ethernet_types/ethernet_types.ba.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2020-06-18 08:22:13 +0200
committerOndrej Fabry <ofabry@cisco.com>2020-06-22 14:37:14 +0200
commit94620e85f0bdbb054af07ce3670fadc1f76cfdf0 (patch)
tree7784ddf381c4e08a6a1ece5b55911b47ea8395f3 /examples/binapi/ethernet_types/ethernet_types.ba.go
parent280b1c6c83b676ef4e592f4ecf60cb5b54b6a753 (diff)
Refactored binapi generator with message encoding
Change-Id: I5a6abb68b9d058866f94818169300e5c2fc43895 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/binapi/ethernet_types/ethernet_types.ba.go')
-rw-r--r--examples/binapi/ethernet_types/ethernet_types.ba.go44
1 files changed, 0 insertions, 44 deletions
diff --git a/examples/binapi/ethernet_types/ethernet_types.ba.go b/examples/binapi/ethernet_types/ethernet_types.ba.go
deleted file mode 100644
index fffa6b1..0000000
--- a/examples/binapi/ethernet_types/ethernet_types.ba.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
-// source: /usr/share/vpp/api/core/ethernet_types.api.json
-
-/*
-Package ethernet_types is a generated VPP binary API for 'ethernet_types' module.
-
-It consists of:
- 1 alias
-*/
-package ethernet_types
-
-import (
- "bytes"
- "context"
- "io"
- "strconv"
-
- api "git.fd.io/govpp.git/api"
- struc "github.com/lunixbochs/struc"
-)
-
-const (
- // ModuleName is the name of this module.
- ModuleName = "ethernet_types"
- // VersionCrc is the CRC of this module.
- VersionCrc = 0xd4ff2808
-)
-
-// MacAddress represents VPP binary API alias 'mac_address'.
-type MacAddress [6]uint8
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the GoVPP api package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// GoVPP api package needs to be updated.
-const _ = api.GoVppAPIPackageIsVersion1 // please upgrade the GoVPP api package
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = api.RegisterMessage
-var _ = bytes.NewBuffer
-var _ = context.Background
-var _ = io.Copy
-var _ = strconv.Itoa
-var _ = struc.Pack