NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
address-converter.cpp File Reference
#include "address-converter.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <vector>
#include <net/if.h>
Include dependency graph for address-converter.cpp:

Go to the source code of this file.

Classes

struct  ndn::ip::ParsedAddress
 

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...
 
static unsigned int ndn::ip::scopeIdFromString (const std::string &scope)
 
static ParsedAddress ndn::ip::parseAddressFromString (const std::string &address, boost::system::error_code &ec)
 
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 ndn::ip::addressFromString (const std::string &str)
 parse and convert the input string into an IP 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...
 
boost::asio::ip::address_v6 ndn::ip::addressV6FromString (const std::string &str)
 parse and convert the input string into an IPv6 address More...