#include <httpvpn.hpp>
Definition at line 21 of file httpvpn.hpp.
◆ Ptr
◆ GatewayType
Enumerator |
---|
NONE | |
GW | |
GW4 | |
GW6 | |
Definition at line 28 of file httpvpn.hpp.
◆ ViaVPN() [1/2]
openvpn::WS::ViaVPN::ViaVPN |
( |
const OptionList & |
opt | ) |
|
|
inline |
◆ ViaVPN() [2/2]
openvpn::WS::ViaVPN::ViaVPN |
( |
std::string |
conn_info_fn, |
|
|
const std::string & |
gw |
|
) |
| |
|
inline |
◆ client_ip()
IP::Addr openvpn::WS::ViaVPN::client_ip |
( |
| ) |
const |
|
inline |
◆ client_new_if_enabled()
◆ client_update_host()
template<typename HOST >
Json::Value openvpn::WS::ViaVPN::client_update_host |
( |
HOST & |
host | ) |
const |
|
inline |
◆ gw_type_to_string()
static std::string openvpn::WS::ViaVPN::gw_type_to_string |
( |
const GatewayType |
gw_type | ) |
|
|
inlinestaticprivate |
◆ is_enabled()
static bool openvpn::WS::ViaVPN::is_enabled |
( |
const OptionList & |
opt | ) |
|
|
inlinestatic |
◆ maybe_swap()
static void openvpn::WS::ViaVPN::maybe_swap |
( |
std::string & |
s1, |
|
|
std::string & |
s2 |
|
) |
| |
|
inlinestaticprivate |
◆ OPENVPN_EXCEPTION()
openvpn::WS::ViaVPN::OPENVPN_EXCEPTION |
( |
via_vpn_error |
| ) |
|
◆ parse_gw_type()
static GatewayType openvpn::WS::ViaVPN::parse_gw_type |
( |
const std::string & |
gw | ) |
|
|
inlinestaticprivate |
◆ server_local_addr()
template<typename LISTEN_ITEM >
static IP::Addr openvpn::WS::ViaVPN::server_local_addr |
( |
const LISTEN_ITEM & |
listen_item, |
|
|
const GatewayType |
gw_type |
|
) |
| |
|
inlinestatic |
◆ set_host_field()
static void openvpn::WS::ViaVPN::set_host_field |
( |
std::string & |
dest, |
|
|
const Json::Value & |
root, |
|
|
const std::string & |
name, |
|
|
const std::string & |
title |
|
) |
| |
|
inlinestaticprivate |
◆ to_string()
std::string openvpn::WS::ViaVPN::to_string |
( |
| ) |
const |
|
inline |
◆ connection_info_fn
std::string openvpn::WS::ViaVPN::connection_info_fn |
|
private |
◆ gw_type
The documentation for this class was generated from the following file: