|
| MyListener (openvpn_io::io_context &io_context, const WS::Server::Config::Ptr &config, const Listen::List &listen_list, const WS::Server::Listener::Client::Factory::Ptr &client_factory) |
|
ScopedFD | establish_tun (const TunBuilderCapture &tbc, TunBuilderSetup::Config *config, Stop *stop, std::ostream &os) |
|
void | destroy_tun (std::ostream &os) |
|
void | set_watchdog (pid_t pid) |
|
void | unset_watchdog () |
|
void | add_bypass_route (const std::string &host, bool ipv6) |
|
| MyListener (const MyConfig &config_arg, openvpn_io::io_context &io_context, const WS::Server::Config::Ptr &hconf, const Listen::List &listen_list, const WS::Server::Listener::Client::Factory::Ptr &client_factory) |
|
Win::ScopedHANDLE | tun_get_handle (std::ostream &os, const TunWin::Type tun_type, bool allow_local_dns_resolvers) |
|
TunWin::Util::TapNameGuidPair | get_adapter_state () |
|
Win::ScopedHANDLE | establish_tun (const TunBuilderCapture &tbc, const std::wstring &openvpn_app_path, DWORD client_process_id, Stop *stop, std::ostream &os, TunWin::Type tun_type, bool allow_local_dns_resolvers, TunWin::Util::TapNameGuidPair tap) |
|
bool | destroy_tun (std::ostream &os) |
|
void | destroy_tun_exit () |
|
void | set_client_process (Win::ScopedHANDLE &&proc) |
|
void | set_client_confirm_event (const std::string &confirm_handle_hex) |
|
void | set_client_destroy_event (const std::string &event_handle_hex) |
|
HANDLE | get_client_process () |
|
void | set_remote_tap_handle_hex (const HANDLE tap_handle) |
|
const std::string & | get_remote_tap_handle_hex () |
|
void | assign_ring_buffer (TunWin::RingBuffer *ring_buffer_arg) |
|
void | add_bypass_route (const std::string &host, bool ipv6) |
|
template<typename L > |
| Listener (openvpn_io::io_context &io_context_arg, const Config::Ptr &config_arg, const L &listen_item_or_list, const Client::Factory::Ptr &client_factory_arg) |
|
void | start () override |
|
void | stop () override |
|
template<typename CLIENT_INSTANCE , typename FUNC > |
void | walk (FUNC func) const |
|
Definition at line 123 of file ovpnagent.cpp.
◆ Ptr [1/2]
◆ Ptr [2/2]
◆ MyListener() [1/2]
◆ MyListener() [2/2]
◆ add_bypass_route() [1/2]
void MyListener::add_bypass_route |
( |
const std::string & |
host, |
|
|
bool |
ipv6 |
|
) |
| |
|
inline |
◆ add_bypass_route() [2/2]
void MyListener::add_bypass_route |
( |
const std::string & |
host, |
|
|
bool |
ipv6 |
|
) |
| |
|
inline |
◆ allow_client() [1/2]
|
inlineoverrideprivatevirtual |
◆ allow_client() [2/2]
|
inlineoverrideprivatevirtual |
◆ assign_ring_buffer()
◆ destroy_tun() [1/2]
void MyListener::destroy_tun |
( |
std::ostream & |
os | ) |
|
|
inline |
◆ destroy_tun() [2/2]
bool MyListener::destroy_tun |
( |
std::ostream & |
os | ) |
|
|
inline |
◆ destroy_tun_exit()
void MyListener::destroy_tun_exit |
( |
| ) |
|
|
inline |
◆ establish_tun() [1/2]
◆ establish_tun() [2/2]
◆ get_adapter_state()
◆ get_client_process()
HANDLE MyListener::get_client_process |
( |
| ) |
|
|
inline |
◆ get_remote_tap_handle_hex()
const std::string & MyListener::get_remote_tap_handle_hex |
( |
| ) |
|
|
inline |
◆ set_client_confirm_event()
void MyListener::set_client_confirm_event |
( |
const std::string & |
confirm_handle_hex | ) |
|
|
inline |
◆ set_client_destroy_event()
void MyListener::set_client_destroy_event |
( |
const std::string & |
event_handle_hex | ) |
|
|
inline |
◆ set_client_process()
◆ set_remote_tap_handle_hex()
void MyListener::set_remote_tap_handle_hex |
( |
const HANDLE |
tap_handle | ) |
|
|
inline |
◆ set_watchdog()
void MyListener::set_watchdog |
( |
pid_t |
pid | ) |
|
|
inline |
◆ tun_get_handle()
◆ unset_watchdog()
void MyListener::unset_watchdog |
( |
| ) |
|
|
inline |
◆ bypass_host
std::string MyListener::bypass_host |
|
private |
◆ client_confirm_event
openvpn_io::windows::object_handle MyListener::client_confirm_event |
|
private |
◆ client_destroy_event
openvpn_io::windows::object_handle MyListener::client_destroy_event |
|
private |
◆ client_process
openvpn_io::windows::object_handle MyListener::client_process |
|
private |
◆ config
◆ io_context_
openvpn_io::io_context& MyListener::io_context_ |
|
private |
◆ remote_tap_handle_hex
std::string MyListener::remote_tap_handle_hex |
|
private |
◆ remove_cmds_bypass_hosts
◆ ring_buffer
◆ tun [1/2]
◆ tun [2/2]
◆ vpn_interface_index
DWORD MyListener::vpn_interface_index = DWORD(-1) |
|
private |
◆ watchdog
The documentation for this class was generated from the following files: