aboutsummaryrefslogtreecommitdiffstats
path: root/examples/binapi/ethernet_types/ethernet_types.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binapi/ethernet_types/ethernet_types.ba.go')
-rw-r--r--examples/binapi/ethernet_types/ethernet_types.ba.go43
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/binapi/ethernet_types/ethernet_types.ba.go b/examples/binapi/ethernet_types/ethernet_types.ba.go
new file mode 100644
index 0000000..c7f836b
--- /dev/null
+++ b/examples/binapi/ethernet_types/ethernet_types.ba.go
@@ -0,0 +1,43 @@
+// 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 "bytes"
+ context "context"
+ api "git.fd.io/govpp.git/api"
+ struc "github.com/lunixbochs/struc"
+ io "io"
+ strconv "strconv"
+)
+
+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