OpenVPN 3 Core Library
|
#include <clientconfig.hpp>
Public Types | |
typedef RCPtr< ClientConfig > | Ptr |
![]() | |
typedef RCPtr< TunClientFactory > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
TunWin::SetupBase::Ptr | new_setup_obj (openvpn_io::io_context &io_context) |
TunClient::Ptr | new_tun_client_obj (openvpn_io::io_context &io_context, TunClientParent &parent, TransportClient *transcli) override |
bool | supports_epoch_data () override |
void | finalize (const bool disconnected) override |
bool | layer_2_supported () const override |
![]() | |
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. | |
Static Public Member Functions | |
static Ptr | new_obj () |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Public Attributes | |
TunProp::Config | tun_prop |
int | n_parallel = 8 |
TunWin::Type | tun_type = TunWin::TapWindows6 |
bool | allow_local_dns_resolvers = false |
Frame::Ptr | frame |
SessionStats::Ptr | stats |
Stop * | stop = nullptr |
TunPersist::Ptr | tun_persist |
TunWin::SetupFactory::Ptr | tun_setup_factory |
Friends | |
class | Client |
Definition at line 42 of file clientconfig.hpp.
Definition at line 47 of file clientconfig.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClientFactory.
Definition at line 85 of file clientconfig.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClientFactory.
Definition at line 91 of file clientconfig.hpp.
|
inlinestatic |
|
inline |
Definition at line 63 of file clientconfig.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClientFactory.
Definition at line 433 of file tuncli.hpp.
|
inlineoverridevirtual |
Return whether this tun implementation will support data v3 features (AEAD tag at the end and combined 16 bit epoch id + 48 bit packet counters).
This is more a property of the data encryption layer than of the tun device but since all of our DCO encryptions are setup with the tun setup, we also make it the responsibility of the tun client to signal v3 data layer support.
Implements openvpn::TunClientFactory.
Definition at line 80 of file clientconfig.hpp.
|
friend |
Definition at line 44 of file clientconfig.hpp.
bool openvpn::TunWin::ClientConfig::allow_local_dns_resolvers = false |
Definition at line 52 of file clientconfig.hpp.
Frame::Ptr openvpn::TunWin::ClientConfig::frame |
Definition at line 54 of file clientconfig.hpp.
int openvpn::TunWin::ClientConfig::n_parallel = 8 |
Definition at line 50 of file clientconfig.hpp.
SessionStats::Ptr openvpn::TunWin::ClientConfig::stats |
Definition at line 55 of file clientconfig.hpp.
Stop* openvpn::TunWin::ClientConfig::stop = nullptr |
Definition at line 57 of file clientconfig.hpp.
TunPersist::Ptr openvpn::TunWin::ClientConfig::tun_persist |
Definition at line 59 of file clientconfig.hpp.
TunProp::Config openvpn::TunWin::ClientConfig::tun_prop |
Definition at line 49 of file clientconfig.hpp.
TunWin::SetupFactory::Ptr openvpn::TunWin::ClientConfig::tun_setup_factory |
Definition at line 61 of file clientconfig.hpp.
TunWin::Type openvpn::TunWin::ClientConfig::tun_type = TunWin::TapWindows6 |
Definition at line 51 of file clientconfig.hpp.