X-Git-Url: https://gerrit.fd.io/r/gitweb?p=govpp.git;a=blobdiff_plain;f=binapi%2Fgbp%2Fgbp.ba.go;fp=binapi%2Fgbp%2Fgbp.ba.go;h=0000000000000000000000000000000000000000;hp=7071d33593be617bc8244f5e5e70fb922349d96a;hb=4102c72bce694babd94a481b1201d33895a6f9c5;hpb=a4112fac7b86fe09650d2bb57969fe46404edd7d diff --git a/binapi/gbp/gbp.ba.go b/binapi/gbp/gbp.ba.go deleted file mode 100644 index 7071d33..0000000 --- a/binapi/gbp/gbp.ba.go +++ /dev/null @@ -1,2568 +0,0 @@ -// Code generated by GoVPP's binapi-generator. DO NOT EDIT. -// versions: -// binapi-generator: v0.5.0-dev -// VPP: 21.06-release -// source: /usr/share/vpp/api/plugins/gbp.api.json - -// Package gbp contains generated bindings for API file gbp.api. -// -// Contents: -// 1 alias -// 7 enums -// 14 structs -// 48 messages -// -package gbp - -import ( - "strconv" - - api "git.fd.io/govpp.git/api" - ethernet_types "git.fd.io/govpp.git/binapi/ethernet_types" - interface_types "git.fd.io/govpp.git/binapi/interface_types" - ip_types "git.fd.io/govpp.git/binapi/ip_types" - codec "git.fd.io/govpp.git/codec" -) - -// 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.GoVppAPIPackageIsVersion2 - -const ( - APIFile = "gbp" - APIVersion = "2.0.0" - VersionCrc = 0x5b2d93 -) - -// GbpBridgeDomainFlags defines enum 'gbp_bridge_domain_flags'. -type GbpBridgeDomainFlags uint32 - -const ( - GBP_BD_API_FLAG_NONE GbpBridgeDomainFlags = 0 - GBP_BD_API_FLAG_DO_NOT_LEARN GbpBridgeDomainFlags = 1 - GBP_BD_API_FLAG_UU_FWD_DROP GbpBridgeDomainFlags = 2 - GBP_BD_API_FLAG_MCAST_DROP GbpBridgeDomainFlags = 4 - GBP_BD_API_FLAG_UCAST_ARP GbpBridgeDomainFlags = 8 -) - -var ( - GbpBridgeDomainFlags_name = map[uint32]string{ - 0: "GBP_BD_API_FLAG_NONE", - 1: "GBP_BD_API_FLAG_DO_NOT_LEARN", - 2: "GBP_BD_API_FLAG_UU_FWD_DROP", - 4: "GBP_BD_API_FLAG_MCAST_DROP", - 8: "GBP_BD_API_FLAG_UCAST_ARP", - } - GbpBridgeDomainFlags_value = map[string]uint32{ - "GBP_BD_API_FLAG_NONE": 0, - "GBP_BD_API_FLAG_DO_NOT_LEARN": 1, - "GBP_BD_API_FLAG_UU_FWD_DROP": 2, - "GBP_BD_API_FLAG_MCAST_DROP": 4, - "GBP_BD_API_FLAG_UCAST_ARP": 8, - } -) - -func (x GbpBridgeDomainFlags) String() string { - s, ok := GbpBridgeDomainFlags_name[uint32(x)] - if ok { - return s - } - str := func(n uint32) string { - s, ok := GbpBridgeDomainFlags_name[uint32(n)] - if ok { - return s - } - return "GbpBridgeDomainFlags(" + strconv.Itoa(int(n)) + ")" - } - for i := uint32(0); i <= 32; i++ { - val := uint32(x) - if val&(1<