OpenVPN 3 Core Library
|
#include <dcocli.hpp>
Public Types | |
typedef RCPtr< ClientConfig > | Ptr |
![]() | |
typedef RCPtr< DCO > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
![]() | |
typedef RCPtr< TransportClientFactory > | Ptr |
![]() | |
typedef RCPtr< TunClientFactory > | Ptr |
Public Member Functions | |
void | process_push (const OptionList &opt) override |
void | finalize (const bool disconnected) override |
TunClientFactory::Ptr | new_tun_factory (const DCO::TunConfig &conf, const OptionList &opt) override |
TransportClientFactory::Ptr | new_transport_factory (const DCO::TransportConfig &conf) override |
TunClient::Ptr | new_tun_client_obj (openvpn_io::io_context &io_context, TunClientParent &parent, TransportClient *transcli) override |
TransportClient::Ptr | new_transport_client_obj (openvpn_io::io_context &io_context, TransportClientParent *parent) override |
bool | supports_epoch_data () 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. | |
![]() | |
virtual bool | is_relay () |
![]() | |
virtual bool | layer_2_supported () const |
Static Public Member Functions | |
static DCO::Ptr | new_controller (TunBuilderBase *tb) |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Public Attributes | |
std::string | dev_name |
DCO::TransportConfig | transport |
DCO::TunConfig | tun |
unsigned int | ping_restart_override = 0 |
![]() | |
TunBuilderBase * | builder = nullptr |
Protected Member Functions | |
ClientConfig ()=default | |
Definition at line 63 of file dcocli.hpp.
Definition at line 68 of file dcocli.hpp.
|
protecteddefault |
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClientFactory.
Definition at line 82 of file dcocli.hpp.
|
inlinestatic |
Definition at line 127 of file dcocli.hpp.
|
overridevirtual |
Implements openvpn::TransportClientFactory.
|
inlineoverridevirtual |
Implements openvpn::DCO.
Definition at line 114 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClientFactory.
Definition at line 340 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::DCO.
Definition at line 90 of file dcocli.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TransportClientFactory.
Definition at line 77 of file dcocli.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 135 of file dcocli.hpp.
std::string openvpn::DCOTransport::ClientConfig::dev_name |
Definition at line 70 of file dcocli.hpp.
unsigned int openvpn::DCOTransport::ClientConfig::ping_restart_override = 0 |
Definition at line 75 of file dcocli.hpp.
DCO::TransportConfig openvpn::DCOTransport::ClientConfig::transport |
Definition at line 72 of file dcocli.hpp.
DCO::TunConfig openvpn::DCOTransport::ClientConfig::tun |
Definition at line 73 of file dcocli.hpp.