24 #ifndef NDN_NET_NETWORK_ADDRESS_HPP    25 #define NDN_NET_NETWORK_ADDRESS_HPP    29 #include <boost/asio/ip/address.hpp>    57                  boost::asio::ip::address ip,
    58                  boost::asio::ip::address broadcast,
    73   boost::asio::ip::address
    81   boost::asio::ip::address
    92     return m_prefixLength;
   114     return a.m_ip < b.m_ip;
   119   boost::asio::ip::address m_ip;
   120   boost::asio::ip::address m_broadcast;
   121   uint8_t m_prefixLength;
   132 #endif // NDN_NET_NETWORK_ADDRESS_HPP 
AddressScope getScope() const
Returns the address scope. 
boost::asio::ip::address getIp() const
Returns the IP address (v4 or v6) 
AddressFamily getFamily() const
Returns the address family. 
uint32_t getFlags() const
Returns a bitset of platform-specific flags enabled on the address. 
Stores one IP address supported by a network interface. 
boost::asio::ip::address getBroadcast() const
Returns the IP broadcast address. 
uint8_t getPrefixLength() const
Returns the prefix length. 
Common includes and macros used throughout the library. 
bool operator<(optional< T > const &x, optional< U > const &y)
std::ostream & operator<<(std::ostream &os, AddressScope scope)