diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2020-03-18 08:52:42 +0100 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-03-18 08:52:42 +0100 |
commit | d4d3b9c6fa67fe454f8d8adc7502b3b645ecab10 (patch) | |
tree | 17f421e8bcfd5a3ba15372bd6b5830946ac6cd2f /examples/binapi/ethernet_types/ethernet_types.ba.go | |
parent | 2df59463fcbb1a5aec2173712b32fb9740157a9d (diff) |
Release 0.3.0v0.3.0
- regenerate examples/binapi for latest VPP from stable/2001
- add import-prefix flag to set custom prefix (fallbacks to using go list)
Change-Id: Ib09f134cf9662e348be2575448964de2b9e5c1ee
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.go | 43 |
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 |