16 #include <boost/asio/ip/address.hpp> 21 #include <vapi/ip.api.vapi.hpp> 30 void to_api(
const ip_address_t&
a, vapi_type_address& v);
31 void to_api(
const boost::asio::ip::address_v4&
a, vapi_type_ip4_address& v);
32 void to_api(
const boost::asio::ip::address_v6&
a, vapi_type_ip6_address& v);
34 vapi_union_address_union& u,
35 vapi_enum_address_family& af);
37 boost::asio::ip::address_v4
from_api(
const vapi_type_ip4_address& v);
38 boost::asio::ip::address_v6
from_api(
const vapi_type_ip6_address& v);
39 ip_address_t
from_api(
const vapi_type_address& v);
40 ip_address_t
from_api(
const vapi_union_address_union& u,
41 vapi_enum_address_family af);
boost::asio::ip::address ip_address_t
vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t &f)
The VPP Object Model (VOM) library.
const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f)
Type def of a Ethernet address.