16 #include <boost/asio/ip/address.hpp>
21 #include <vapi/ip.api.vapi.hpp>
22 #include <vapi/ip_neighbor.api.vapi.hpp>
38 void to_api(
const boost::asio::ip::address_v4&
a, vapi_type_ip4_address& v);
39 void to_api(
const boost::asio::ip::address_v6&
a, vapi_type_ip6_address& v);
41 vapi_union_address_union& u,
42 vapi_enum_address_family&
af);
46 boost::asio::ip::address_v4
from_api(
const vapi_type_ip4_address& v);
47 boost::asio::ip::address_v6
from_api(
const vapi_type_ip6_address& v);
50 vapi_enum_address_family
af);
52 vapi_enum_fib_path_nh_proto
proto);