5 #ifndef ctrlplane_address_h
6 #define ctrlplane_address_h
8 #include <boost/asio/ip/address.hpp>
static Family VpnFamilyFromFamily(Family family)
static const uint8_t kMaxV6PrefixLen
boost::system::error_code Ip4PrefixParse(const string &str, Ip4Address *addr, int *plen)
static Family FamilyFromString(const std::string &family)
boost::asio::ip::address IpAddress
static const uint8_t kMaxV4PrefixLen
static std::string FamilyToTableString(Family family)
static Ip4Address GetIp4SubnetAddress(const Ip4Address &prefix, uint16_t plen)
static Ip6Address GetIp6SubnetAddress(const Ip6Address &prefix, uint16_t plen)
static const uint8_t kMaxV4Bytes
boost::asio::ip::address_v6 Ip6Address
static const uint8_t kMaxV6Bytes
boost::asio::ip::address_v4 Ip4Address
boost::system::error_code Ip4SubnetParse(const string &str, Ip4Address *addr, int *plen)
static std::string FamilyToString(Family fmly)
boost::system::error_code Inet6PrefixParse(const string &str, Ip6Address *addr, int *plen)
static Ip4Address V4FromV4MappedV6(const Ip6Address &v6_address)
boost::system::error_code Inet6SubnetParse(const string &str, Ip6Address *addr, int *plen)