![]() |
libfilezilla
|
Various functions to deal with IP address strings. More...
Go to the source code of this file.
Classes | |
struct | network_interface |
Namespaces | |
namespace | fz |
The namespace used by libfilezilla. | |
Enumerations | |
enum class | address_type { unknown , ipv4 , ipv6 , unix } |
Functions | |
std::string | get_ipv6_long_form (std::string_view const &short_address) |
Given a shortened IPv6 address, returns the full, unshortened address. | |
std::wstring | get_ipv6_long_form (std::wstring_view const &short_address) |
bool | is_routable_address (std::string_view const &address) |
Tests whether the passed IP address is routable on the public Internet. | |
bool | is_routable_address (std::wstring_view const &address) |
address_type | get_address_type (std::string_view const &address) |
Gets the type of the passed IP address. | |
address_type | get_address_type (std::wstring_view const &address) |
std::optional< std::vector< network_interface > > | get_network_interfaces () |
Various functions to deal with IP address strings.