OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunNull::ClientConfig Class Reference

#include <tunnull.hpp>

Inheritance diagram for openvpn::TunNull::ClientConfig:
[legend]
Collaboration diagram for openvpn::TunNull::ClientConfig:
[legend]

Public Types

typedef RCPtr< ClientConfigPtr
 
- Public Types inherited from openvpn::TunClientFactory
typedef RCPtr< TunClientFactoryPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

TunClient::Ptr new_tun_client_obj (openvpn_io::io_context &io_context, TunClientParent &parent, TransportClient *transcli) override
 
bool supports_epoch_data () override
 
- Public Member Functions inherited from openvpn::TunClientFactory
virtual bool layer_2_supported () const
 
virtual void finalize (const bool disconnected)
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (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 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

Frame::Ptr frame
 
SessionStats::Ptr stats
 

Private Member Functions

 ClientConfig ()=default
 

Detailed Description

Definition at line 21 of file tunnull.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ClientConfig()

openvpn::TunNull::ClientConfig::ClientConfig ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ new_obj()

static Ptr openvpn::TunNull::ClientConfig::new_obj ( )
inlinestatic

Definition at line 29 of file tunnull.hpp.

Here is the caller graph for this function:

◆ new_tun_client_obj()

TunClient::Ptr openvpn::TunNull::ClientConfig::new_tun_client_obj ( openvpn_io::io_context &  io_context,
TunClientParent parent,
TransportClient transcli 
)
inlineoverridevirtual

Implements openvpn::TunClientFactory.

Definition at line 110 of file tunnull.hpp.

◆ supports_epoch_data()

bool openvpn::TunNull::ClientConfig::supports_epoch_data ( )
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 38 of file tunnull.hpp.

Member Data Documentation

◆ frame

Frame::Ptr openvpn::TunNull::ClientConfig::frame

Definition at line 26 of file tunnull.hpp.

◆ stats

SessionStats::Ptr openvpn::TunNull::ClientConfig::stats

Definition at line 27 of file tunnull.hpp.


The documentation for this class was generated from the following file: