#include <tuncli.hpp>
|
static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result.
|
|
Definition at line 70 of file tuncli.hpp.
◆ Ptr
◆ TunImpl
◆ ~Client()
virtual openvpn::TunWin::Client::~Client |
( |
| ) |
|
|
inlinevirtual |
◆ Client()
◆ apply_push_update()
Notifies tun client about received PUSH_UPDATE control channel message.
The merging of exiting and incoming options (including removing options) happens before this call, so implementations are supposed to only undo existing options and apply the new ones, normally by calling stop() and tun_start().
- Parameters
-
opt | merged options, to be applied by implementation |
cli | transport client, passed to tun_start() call |
Reimplemented from openvpn::TunClient.
Definition at line 80 of file tuncli.hpp.
◆ dhcp_inspect()
void openvpn::TunWin::Client::dhcp_inspect |
( |
Buffer & |
buf | ) |
|
|
inlineprivate |
◆ layer_2_schedule_timer()
void openvpn::TunWin::Client::layer_2_schedule_timer |
( |
const unsigned int |
seconds | ) |
|
|
inlineprivate |
◆ layer_2_timer_callback()
void openvpn::TunWin::Client::layer_2_timer_callback |
( |
| ) |
|
|
inlineprivate |
◆ send()
bool openvpn::TunWin::Client::send |
( |
Buffer & |
buf | ) |
|
|
inlineprivate |
◆ set_disconnect()
void openvpn::TunWin::Client::set_disconnect |
( |
| ) |
|
|
inlineoverridevirtual |
◆ stop()
void openvpn::TunWin::Client::stop |
( |
| ) |
|
|
inlineoverridevirtual |
◆ stop_()
void openvpn::TunWin::Client::stop_ |
( |
| ) |
|
|
inlineprivate |
◆ tap_handle()
HANDLE openvpn::TunWin::Client::tap_handle |
( |
| ) |
|
|
inlineprivate |
◆ tap_process_logging()
void openvpn::TunWin::Client::tap_process_logging |
( |
| ) |
|
|
inlineprivate |
◆ tun_error_handler()
void openvpn::TunWin::Client::tun_error_handler |
( |
const Error::Type |
errtype, |
|
|
const openvpn_io::error_code * |
error |
|
) |
| |
|
inlineprivate |
◆ tun_name()
std::string openvpn::TunWin::Client::tun_name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ tun_read_handler()
◆ tun_send()
◆ tun_start()
◆ vpn_gw4()
std::string openvpn::TunWin::Client::vpn_gw4 |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ vpn_gw6()
std::string openvpn::TunWin::Client::vpn_gw6 |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ vpn_interface_index()
std::uint32_t openvpn::TunWin::Client::vpn_interface_index |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ vpn_ip4()
std::string openvpn::TunWin::Client::vpn_ip4 |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ vpn_ip6()
std::string openvpn::TunWin::Client::vpn_ip6 |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ vpn_mtu()
int openvpn::TunWin::Client::vpn_mtu |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ClientConfig
◆ TunIO< Client *, PacketFrom, TunWrapAsioStream< TunPersist > >
◆ config
◆ dhcp_capture
std::unique_ptr<DHCPCapture> openvpn::TunWin::Client::dhcp_capture |
|
private |
◆ frame_context
◆ halt
bool openvpn::TunWin::Client::halt |
|
private |
◆ impl
◆ io_context
openvpn_io::io_context& openvpn::TunWin::Client::io_context |
|
private |
◆ l2_timer
◆ parent
◆ state
◆ tun_persist
◆ tun_setup
The documentation for this class was generated from the following file: