16 #include <boost/asio/ip/address.hpp> 21 #include <vapi/ip.api.vapi.hpp> 36 void to_api(
const ip_address_t&
a, vapi_type_address& v);
37 void to_api(
const boost::asio::ip::address_v4&
a, vapi_type_ip4_address& v);
38 void to_api(
const boost::asio::ip::address_v6&
a, vapi_type_ip6_address& v);
40 vapi_union_address_union& u,
41 vapi_enum_address_family& af);
44 boost::asio::ip::address_v4
from_api(
const vapi_type_ip4_address& v);
45 boost::asio::ip::address_v6
from_api(
const vapi_type_ip6_address& v);
46 ip_address_t
from_api(
const vapi_type_address& v);
47 ip_address_t
from_api(
const vapi_union_address_union& u,
48 vapi_enum_address_family af);
49 ip_address_t
from_api(
const vapi_union_address_union& u,
50 vapi_enum_fib_path_nh_proto
proto);
boost::asio::ip::address ip_address_t
vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t &f)
Types belonging to Routing.
invalid_decode(const std::string reason)
The VPP Object Model (VOM) library.
const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f)
Type def of a Ethernet address.
vl_api_fib_path_nh_proto_t proto