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 | |
typedef PoolType< IP::Addr > | Pool |
using | Range = RangeType< IP::Addr > |
using | RangePartition = RangePartitionType< IP::Addr > |
typedef RouteType< IP::Addr > | Route |
typedef RouteType< IPv4::Addr > | Route4 |
typedef RouteType< IPv6::Addr > | Route6 |
typedef RouteTypeList< IP::Addr > | RouteList |
typedef RouteTypeList< IPv4::Addr > | Route4List |
typedef RouteTypeList< IPv6::Addr > | Route6List |
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) |
typedef PoolType<IP::Addr> openvpn::IP::Pool |
using openvpn::IP::Range = typedef RangeType<IP::Addr> |
using openvpn::IP::RangePartition = typedef RangePartitionType<IP::Addr> |
typedef RouteType<IP::Addr> openvpn::IP::Route |
typedef RouteType<IPv4::Addr> openvpn::IP::Route4 |
typedef RouteType<IPv6::Addr> openvpn::IP::Route6 |
typedef RouteTypeList<IP::Addr> openvpn::IP::RouteList |
|
inline |
Definition at line 34 of file regex_static.hpp.
|
inline |
|
inline |
openvpn::IP::OPENVPN_EXCEPTION | ( | ip_exception | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 46 of file randaddr.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |