NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
address-converter.hpp File Reference
#include "../common.hpp"
#include <boost/asio/ip/address.hpp>
#include <boost/system/error_code.hpp>
Include dependency graph for address-converter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::ip
 

Functions

optional< std::string > ndn::ip::scopeNameFromId (unsigned int scopeId)
 Convert scope ID of IPv6 address into interface name. More...
 
boost::asio::ip::address ndn::ip::addressFromString (const std::string &str)
 parse and convert the input string into an IP address More...
 
boost::asio::ip::address ndn::ip::addressFromString (const std::string &str, boost::system::error_code &ec)
 parse and convert the input string into an IP address More...
 
boost::asio::ip::address_v6 ndn::ip::addressV6FromString (const std::string &str)
 parse and convert the input string into an IPv6 address More...
 
boost::asio::ip::address_v6 ndn::ip::addressV6FromString (const std::string &str, boost::system::error_code &ec)
 parse and convert the input string into an IPv6 address More...