// Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: // binapi-generator: v0.6.0-dev // VPP: 22.02-release // source: /usr/share/vpp/api/core/ip_neighbor.api.json // Package ip_neighbor contains generated bindings for API file ip_neighbor.api. // // Contents: // 2 enums // 1 struct // 18 messages // package ip_neighbor import ( "strconv" api "go.fd.io/govpp/api" ethernet_types "go.fd.io/govpp/binapi/ethernet_types" interface_types "go.fd.io/govpp/binapi/interface_types" ip_types "go.fd.io/govpp/binapi/ip_types" codec "go.fd.io/govpp/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 = "ip_neighbor" APIVersion = "1.0.0" 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<