X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fapi_types.hpp;h=c28ae1e997d0e55d8481d902d5ef20fb72f85685;hb=66b48a9c6155a2c088f0f45fc568c846edb4b1af;hp=96e2c47f5580151bcd4e2d658f028fb22ad7cf9a;hpb=f49ba0e81e0cb9b9f8075cb4ce051b5bacde8ad3;p=vpp.git diff --git a/extras/vom/vom/api_types.hpp b/extras/vom/vom/api_types.hpp index 96e2c47f558..c28ae1e997d 100644 --- a/extras/vom/vom/api_types.hpp +++ b/extras/vom/vom/api_types.hpp @@ -24,8 +24,10 @@ namespace VOM { typedef boost::asio::ip::address ip_address_t; void to_api(const ip_address_t& a, vapi_type_address& v); +void to_api(const boost::asio::ip::address& a, vapi_type_ip4_address& v); ip_address_t from_api(const vapi_type_address& v); +ip_address_t from_api(const vapi_type_ip4_address& v); vapi_type_mac_address to_api(const mac_address_t& a);