|
OpenVPN 3 Core Library
|
Namespaces | |
| namespace | internal |
Classes | |
| class | Addr |
| class | AddressSpaceSplitter |
| class | AddrList |
| struct | AddrMaskPair |
| class | PoolType |
| class | RangePartitionType |
| divide a range of IP addresses into smaller, equal-sized partitions More... | |
| class | RangeType |
| designed to represent and manage a range of IP addresses. More... | |
| class | RouteType |
| struct | RouteTypeList |
Typedefs | |
| using | Pool = PoolType< IP::Addr > |
| using | Range = RangeType< IP::Addr > |
| using | RangePartition = RangePartitionType< IP::Addr > |
| using | Route = RouteType< IP::Addr > |
| using | Route4 = RouteType< IPv4::Addr > |
| using | Route6 = RouteType< IPv6::Addr > |
| using | RouteList = RouteTypeList< IP::Addr > |
| using | Route4List = RouteTypeList< IPv4::Addr > |
| using | Route6List = RouteTypeList< IPv6::Addr > |
Functions | |
| OPENVPN_EXCEPTION (ip_exception) | |
| IPv4::Addr | random_addr_v4 (RandomAPI &prng) |
| IPv6::Addr | random_addr_v6 (RandomAPI &prng) |
| Addr | random_addr (const Addr::Version v, RandomAPI &prng) |
| Route | random_subnet (const Route &templ, const unsigned int prefix_len, RandomAPI &prng) |
| std::string | v4_regex () |
| std::string | v6_regex () |
| const std::regex | re_v4 (v4_regex(), std::regex_constants::ECMAScript|std::regex_constants::nosubs) |
| const std::regex | re_v6 (v6_regex(), std::regex_constants::ECMAScript|std::regex_constants::nosubs) |
| bool | is_ipv4_address (const std::string &host) |
| bool | is_ipv6_address (const std::string &host) |
| bool | is_ip_address (const std::string &host) |
| OPENVPN_OSTREAM (Route, to_string) | |
| OPENVPN_OSTREAM (RouteList, to_string) | |
| template<typename TITLE > | |
| Route | route_from_string_prefix (const std::string &addrstr, const unsigned int prefix_len, const TITLE &title, const IP::Addr::Version required_version=IP::Addr::UNSPEC) |
| template<typename TITLE > | |
| Route | route_from_string (const std::string &rtstr, const TITLE &title, const IP::Addr::Version required_version=IP::Addr::UNSPEC) |
| using openvpn::IP::Pool = typedef PoolType<IP::Addr> |
| using openvpn::IP::Range = typedef RangeType<IP::Addr> |
| using openvpn::IP::RangePartition = typedef RangePartitionType<IP::Addr> |
| using openvpn::IP::Route = typedef RouteType<IP::Addr> |
| using openvpn::IP::Route4 = typedef RouteType<IPv4::Addr> |
| using openvpn::IP::Route4List = typedef RouteTypeList<IPv4::Addr> |
| using openvpn::IP::Route6 = typedef RouteType<IPv6::Addr> |
| using openvpn::IP::Route6List = typedef RouteTypeList<IPv6::Addr> |
| using openvpn::IP::RouteList = typedef RouteTypeList<IP::Addr> |
|
inline |
Definition at line 34 of file regex_static.hpp.
|
inline |
|
inline |
| openvpn::IP::OPENVPN_EXCEPTION | ( | ip_exception | ) |
| openvpn::IP::OPENVPN_OSTREAM | ( | Route | , |
| to_string | |||
| ) |
| openvpn::IP::OPENVPN_OSTREAM | ( | RouteList | , |
| to_string | |||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 46 of file randaddr.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |