From d4d3b9c6fa67fe454f8d8adc7502b3b645ecab10 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Wed, 18 Mar 2020 08:52:42 +0100 Subject: Release 0.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 --- .../binapi/ethernet_types/ethernet_types.ba.go | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 examples/binapi/ethernet_types/ethernet_types.ba.go (limited to 'examples/binapi/ethernet_types/ethernet_types.ba.go') 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 -- cgit 1.2.3-korg