OpenVPN 3 Core Library
|
#include <wintun.hpp>
Classes | |
struct | TUN_PACKET |
struct | TUN_PACKET_HEADER |
Public Member Functions | |
WintunClient (openvpn_io::io_context &io_context_arg, ClientConfig *config_arg, TunClientParent &parent_arg) | |
void | tun_start (const OptionList &opt, TransportClient &transcli, CryptoDCSettings &) override |
void | stop () override |
void | set_disconnect () override |
bool | tun_send (BufferAllocated &buf) override |
std::string | tun_name () const override |
std::string | vpn_ip4 () const override |
std::string | vpn_ip6 () const override |
std::string | vpn_gw4 () const override |
std::string | vpn_gw6 () const override |
int | vpn_mtu () const override |
![]() | |
virtual void | adjust_mss (int mss) |
virtual void | apply_push_update (const OptionList &opt, TransportClient &cli) |
Notifies tun client about received PUSH_UPDATE control channel message. | |
virtual std::uint32_t | vpn_interface_index () const |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Private Types | |
typedef RCPtr< WintunClient > | Ptr |
Private Member Functions | |
void | read () |
size_t | packet_align (size_t size) |
ULONG | wrap (ULONG value) |
Private Attributes | |
openvpn_io::io_context & | io_context |
TunPersist::Ptr | tun_persist |
ClientConfig::Ptr | config |
TunClientParent & | parent |
TunProp::State::Ptr | state |
TunWin::SetupBase::Ptr | tun_setup |
BufferAllocated | buf |
Frame::Ptr | frame |
bool | halt = false |
ScopedHANDLE | driver_handle |
RingBuffer::Ptr | ring_buffer |
Additional Inherited Members | |
![]() | |
typedef RCPtr< TunClient > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 11 of file wintun.hpp.
|
private |
Definition at line 13 of file wintun.hpp.
|
inline |
Definition at line 16 of file wintun.hpp.
|
inlineprivate |
|
inlineprivate |
Definition at line 210 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 124 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 114 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 167 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 128 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 28 of file wintun.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClient.
Definition at line 188 of file wintun.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClient.
Definition at line 196 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 172 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 180 of file wintun.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 204 of file wintun.hpp.
|
inlineprivate |
|
private |
Definition at line 312 of file wintun.hpp.
|
private |
Definition at line 307 of file wintun.hpp.
|
private |
Definition at line 318 of file wintun.hpp.
|
private |
Definition at line 314 of file wintun.hpp.
|
private |
Definition at line 316 of file wintun.hpp.
|
private |
Definition at line 305 of file wintun.hpp.
|
private |
Definition at line 308 of file wintun.hpp.
|
private |
Definition at line 320 of file wintun.hpp.
|
private |
Definition at line 309 of file wintun.hpp.
|
private |
Definition at line 306 of file wintun.hpp.
|
private |
Definition at line 310 of file wintun.hpp.