X-Git-Url: https://gerrit.fd.io/r/gitweb?p=govpp.git;a=blobdiff_plain;f=internal%2Ftestbinapi%2Fbinapi2001%2Fflowprobe%2Fflowprobe.ba.go;fp=internal%2Ftestbinapi%2Fbinapi2001%2Fflowprobe%2Fflowprobe.ba.go;h=0000000000000000000000000000000000000000;hp=158242a767ff9ac9bcfb68c711f76bdb2e4fe0cc;hb=e9567fa8c853dda16c54afbd2ba99b7263fa37f1;hpb=4102c72bce694babd94a481b1201d33895a6f9c5 diff --git a/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go b/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go deleted file mode 100644 index 158242a..0000000 --- a/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go +++ /dev/null @@ -1,553 +0,0 @@ -// Code generated by GoVPP's binapi-generator. DO NOT EDIT. -// versions: -// binapi-generator: v0.5.0-dev -// VPP: 20.01 -// source: .vppapi/plugins/flowprobe.api.json - -// Package flowprobe contains generated bindings for API file flowprobe.api. -// -// Contents: -// 1 alias -// 8 enums -// 4 messages -// -package flowprobe - -import ( - "strconv" - - api "git.fd.io/govpp.git/api" - 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 = "flowprobe" - APIVersion = "1.0.0" - VersionCrc = 0xbb4dfc0d -) - -// FlowprobeRecordFlags defines enum 'flowprobe_record_flags'. -type FlowprobeRecordFlags uint8 - -const ( - FLOWPROBE_RECORD_FLAG_L2 FlowprobeRecordFlags = 1 - FLOWPROBE_RECORD_FLAG_L3 FlowprobeRecordFlags = 2 - FLOWPROBE_RECORD_FLAG_L4 FlowprobeRecordFlags = 4 -) - -var ( - FlowprobeRecordFlags_name = map[uint8]string{ - 1: "FLOWPROBE_RECORD_FLAG_L2", - 2: "FLOWPROBE_RECORD_FLAG_L3", - 4: "FLOWPROBE_RECORD_FLAG_L4", - } - FlowprobeRecordFlags_value = map[string]uint8{ - "FLOWPROBE_RECORD_FLAG_L2": 1, - "FLOWPROBE_RECORD_FLAG_L3": 2, - "FLOWPROBE_RECORD_FLAG_L4": 4, - } -) - -func (x FlowprobeRecordFlags) String() string { - s, ok := FlowprobeRecordFlags_name[uint8(x)] - if ok { - return s - } - str := func(n uint8) string { - s, ok := FlowprobeRecordFlags_name[uint8(n)] - if ok { - return s - } - return "FlowprobeRecordFlags(" + strconv.Itoa(int(n)) + ")" - } - for i := uint8(0); i <= 8; i++ { - val := uint8(x) - if val&(1<