34 return os <<
"nowhere";
40 return os <<
"global";
46 boost::asio::ip::address ip,
47 boost::asio::ip::address broadcast,
53 , m_broadcast(broadcast)
54 , m_prefixLength(prefixLength)
Copyright (c) 2013-2017 Regents of the University of California.
boost::asio::ip::address getIp() const
Returns the IP address (v4 or v6)
uint8_t getPrefixLength() const
Returns the prefix length.
Stores one IP address supported by a network interface.
NetworkAddress(AddressFamily family, boost::asio::ip::address ip, boost::asio::ip::address broadcast, uint8_t prefixLength, AddressScope scope, uint32_t flags)
std::ostream & operator<<(std::ostream &os, AddressScope scope)