|
OpenVPN 3 Core Library
|
#include <dcocli.hpp>
Public Types | |
| typedef RCPtr< ClientConfig > | Ptr |
Public Types inherited from openvpn::DCO | |
| using | Ptr = RCPtr< DCO > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Public Types inherited from openvpn::TransportClientFactory | |
| using | Ptr = RCPtr< TransportClientFactory > |
Public Types inherited from openvpn::TunClientFactory | |
| using | Ptr = RCPtr< TunClientFactory > |
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 |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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. | |
Public Member Functions inherited from openvpn::TransportClientFactory | |
| virtual bool | is_relay () |
Public Member Functions inherited from openvpn::TunClientFactory | |
| virtual bool | layer_2_supported () const |
Static Public Member Functions | |
| static DCO::Ptr | new_controller (TunBuilderBase *tb) |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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 |
Public Attributes inherited from openvpn::DCO | |
| TunBuilderBase * | builder = nullptr |
Protected Member Functions | |
| ClientConfig ()=default | |
Definition at line 59 of file dcocli.hpp.
Definition at line 64 of file dcocli.hpp.
|
protecteddefault |
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClientFactory.
Definition at line 78 of file dcocli.hpp.
|
inlinestatic |
Definition at line 123 of file dcocli.hpp.
|
overridevirtual |
Implements openvpn::TransportClientFactory.
|
inlineoverridevirtual |
Implements openvpn::DCO.
Definition at line 110 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClientFactory.
Definition at line 336 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::DCO.
Definition at line 86 of file dcocli.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TransportClientFactory.
Definition at line 73 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 131 of file dcocli.hpp.
| std::string openvpn::DCOTransport::ClientConfig::dev_name |
Definition at line 66 of file dcocli.hpp.
| unsigned int openvpn::DCOTransport::ClientConfig::ping_restart_override = 0 |
Definition at line 71 of file dcocli.hpp.
| DCO::TransportConfig openvpn::DCOTransport::ClientConfig::transport |
Definition at line 68 of file dcocli.hpp.
| DCO::TunConfig openvpn::DCOTransport::ClientConfig::tun |
Definition at line 69 of file dcocli.hpp.