OpenVPN 3 Core Library
|
#include <client.hpp>
Public Types | |
typedef RCPtr< ClientConfig > | Ptr |
![]() | |
typedef RCPtr< TunClientFactory > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
TunClient::Ptr | new_tun_client_obj (openvpn_io::io_context &io_context, TunClientParent &parent, TransportClient *transcli) override |
void | finalize (const bool disconnected) override |
bool | supports_epoch_data () override |
![]() | |
virtual bool | layer_2_supported () 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. | |
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 |
bool | retain_sd |
bool | tun_prefix |
Frame::Ptr | frame |
SessionStats::Ptr | stats |
EmulateExcludeRouteFactory::Ptr | eer_factory |
TunPersist::Ptr | tun_persist |
TunBuilderBase * | builder |
Private Member Functions | |
ClientConfig () | |
Definition at line 72 of file client.hpp.
Definition at line 75 of file client.hpp.
|
inlineprivate |
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClientFactory.
Definition at line 96 of file client.hpp.
|
inlinestatic |
|
inlineoverridevirtual |
Implements openvpn::TunClientFactory.
Definition at line 343 of file client.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 102 of file client.hpp.
TunBuilderBase* openvpn::TunBuilderClient::ClientConfig::builder |
Definition at line 85 of file client.hpp.
EmulateExcludeRouteFactory::Ptr openvpn::TunBuilderClient::ClientConfig::eer_factory |
Definition at line 83 of file client.hpp.
Frame::Ptr openvpn::TunBuilderClient::ClientConfig::frame |
Definition at line 81 of file client.hpp.
int openvpn::TunBuilderClient::ClientConfig::n_parallel |
Definition at line 78 of file client.hpp.
bool openvpn::TunBuilderClient::ClientConfig::retain_sd |
Definition at line 79 of file client.hpp.
SessionStats::Ptr openvpn::TunBuilderClient::ClientConfig::stats |
Definition at line 82 of file client.hpp.
TunPersist::Ptr openvpn::TunBuilderClient::ClientConfig::tun_persist |
Definition at line 84 of file client.hpp.
bool openvpn::TunBuilderClient::ClientConfig::tun_prefix |
Definition at line 80 of file client.hpp.
TunProp::Config openvpn::TunBuilderClient::ClientConfig::tun_prop |
Definition at line 77 of file client.hpp.