16 #include <boost/asio/ip/address.hpp> 21 #include <vapi/ip.api.vapi.hpp> 22 #include <vapi/ip_neighbor.api.vapi.hpp> 37 void to_api(
const ip_address_t&
a, vapi_type_address& v);
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);
48 ip_address_t
from_api(
const vapi_type_address& v);
49 ip_address_t
from_api(
const vapi_union_address_union& u,
50 vapi_enum_address_family af);
51 ip_address_t
from_api(
const vapi_union_address_union& u,
52 vapi_enum_fib_path_nh_proto
proto);
boost::asio::ip::address ip_address_t
An L3 protocol can be used to construct a prefix that is used to match packets are part of a route...
vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t &f)
Types belonging to Routing.
invalid_decode(const std::string reason)
manual_print typedef address
The VPP Object Model (VOM) library.
const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f)
Type def of a Ethernet address.