Functions | |
boost::asio::ip::address | 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 | addressFromString (const std::string &str) |
parse and convert the input string into an IP address More... | |
boost::asio::ip::address_v6 | 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 | addressV6FromString (const std::string &str) |
parse and convert the input string into an IPv6 address More... | |
static ParsedAddress | parseAddressFromString (const std::string &address, boost::system::error_code &ec) |
static unsigned int | scopeIdFromString (const std::string &scope) |
optional< std::string > | 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, |
boost::system::error_code & | ec | ||
) |
parse and convert the input string into an IP address
str | the string to parse |
ec | the error code of failure in conversion |
boost::asio::ip::address
in case of failure Definition at line 101 of file address-converter.cpp.
boost::asio::ip::address ndn::ip::addressFromString | ( | const std::string & | str | ) |
parse and convert the input string into an IP address
str | the string to parse |
boost::system::system_error | in case of failure |
Definition at line 118 of file address-converter.cpp.
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
str | the string to parse |
ec | the error code of failure in conversion |
boost::asio::ip::address_v6
in case of failure Definition at line 129 of file address-converter.cpp.
boost::asio::ip::address_v6 ndn::ip::addressV6FromString | ( | const std::string & | str | ) |
parse and convert the input string into an IPv6 address
str | the string to parse |
boost::system::system_error | in case of failure |
Definition at line 140 of file address-converter.cpp.
|
static |
Definition at line 77 of file address-converter.cpp.
|
static |
Definition at line 54 of file address-converter.cpp.
optional< std::string > ndn::ip::scopeNameFromId | ( | unsigned int | scopeId | ) |
Convert scope ID of IPv6 address into interface name.
scopeId
cannot be converted Definition at line 42 of file address-converter.cpp.