From debc52dea8a81417bb08ca5bb934c7876b6d65e0 Mon Sep 17 00:00:00 2001 From: mhalaj1 Date: Thu, 26 Aug 2021 13:10:48 +0200 Subject: regenerate binapi Signed-off-by: mhalaj1 Change-Id: I9bb6a5ca00aa542128bde0bfbbba7b57b9f16ed2 --- binapi/ip_neighbor/ip_neighbor.ba.go | 221 ++++++++++++++++++++++++++++--- binapi/ip_neighbor/ip_neighbor_rpc.ba.go | 10 ++ 2 files changed, 216 insertions(+), 15 deletions(-) (limited to 'binapi/ip_neighbor') diff --git a/binapi/ip_neighbor/ip_neighbor.ba.go b/binapi/ip_neighbor/ip_neighbor.ba.go index ec5b5ed..b06cb7e 100644 --- a/binapi/ip_neighbor/ip_neighbor.ba.go +++ b/binapi/ip_neighbor/ip_neighbor.ba.go @@ -1,15 +1,15 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: -// binapi-generator: v0.4.0 -// VPP: 20.05.1-release +// binapi-generator: v0.3.5-56-gc0da1f2-dirty +// VPP: 21.06-release // source: /usr/share/vpp/api/core/ip_neighbor.api.json // Package ip_neighbor contains generated bindings for API file ip_neighbor.api. // // Contents: -// 1 enum +// 2 enums // 1 struct -// 15 messages +// 18 messages // package ip_neighbor @@ -32,9 +32,55 @@ const _ = api.GoVppAPIPackageIsVersion2 const ( APIFile = "ip_neighbor" APIVersion = "1.0.0" - VersionCrc = 0xe6512b94 + VersionCrc = 0xfde4a69a ) +// IPNeighborEventFlags defines enum 'ip_neighbor_event_flags'. +type IPNeighborEventFlags uint32 + +const ( + IP_NEIGHBOR_API_EVENT_FLAG_ADDED IPNeighborEventFlags = 1 + IP_NEIGHBOR_API_EVENT_FLAG_REMOVED IPNeighborEventFlags = 2 +) + +var ( + IPNeighborEventFlags_name = map[uint32]string{ + 1: "IP_NEIGHBOR_API_EVENT_FLAG_ADDED", + 2: "IP_NEIGHBOR_API_EVENT_FLAG_REMOVED", + } + IPNeighborEventFlags_value = map[string]uint32{ + "IP_NEIGHBOR_API_EVENT_FLAG_ADDED": 1, + "IP_NEIGHBOR_API_EVENT_FLAG_REMOVED": 2, + } +) + +func (x IPNeighborEventFlags) String() string { + s, ok := IPNeighborEventFlags_name[uint32(x)] + if ok { + return s + } + str := func(n uint32) string { + s, ok := IPNeighborEventFlags_name[uint32(n)] + if ok { + return s + } + return "IPNeighborEventFlags(" + strconv.Itoa(int(n)) + ")" + } + for i := uint32(0); i <= 32; i++ { + val := uint32(x) + if val&(1<