X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fapi_types.hpp;fp=extras%2Fvom%2Fvom%2Fapi_types.hpp;h=789bbb19401ba16dfe27710905ac044a645e7ca8;hb=6fef74ad3083f630648eae65545a0dd46af1102e;hp=ac9a65e84af03f8e97abe2eba7497f695bfd9476;hpb=22ad815d654294d77ccbb2b7286a73b544bf3f52;p=vpp.git diff --git a/extras/vom/vom/api_types.hpp b/extras/vom/vom/api_types.hpp index ac9a65e84af..789bbb19401 100644 --- a/extras/vom/vom/api_types.hpp +++ b/extras/vom/vom/api_types.hpp @@ -14,6 +14,7 @@ */ #include +#include #include #include @@ -23,6 +24,9 @@ namespace VOM { typedef boost::asio::ip::address ip_address_t; +vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t& f); +const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f); + void to_api(const ip_address_t& a, vapi_type_address& v); void to_api(const boost::asio::ip::address_v4& a, vapi_type_ip4_address& v); void to_api(const boost::asio::ip::address_v6& a, vapi_type_ip6_address& v);