OpenVPN 3 Core Library
|
#include <tunsetup.hpp>
Classes | |
struct | Config |
Public Types | |
typedef RCPtr< Setup > | Ptr |
![]() | |
typedef RCPtr< Base > | Ptr |
![]() | |
typedef RCPtr< DestructorBase > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
Setup () | |
void | destroy (std::ostream &os) override |
bool | add_bypass_route (const std::string &address, bool ipv6, std::ostream &os) |
int | establish (const TunBuilderCapture &pull, TunBuilderSetup::Config *config, Stop *stop, std::ostream &os) override |
![]() | |
virtual | ~DestructorBase ()=default |
![]() | |
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. | |
Private Member Functions | |
int | open_tun (Config *conf) |
void | open_unit (const std::string &name, struct ifreq &ifr, ScopedFD &fd) |
Private Attributes | |
ActionList::Ptr | remove_cmds_bypass_gw = new ActionList() |
ActionListReversed::Ptr | remove_cmds = new ActionListReversed() |
std::string | connected_gw |
std::string | tun_iface_name |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 52 of file tunsetup.hpp.
typedef RCPtr<Setup> openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Ptr |
Definition at line 55 of file tunsetup.hpp.
|
inline |
Definition at line 62 of file tunsetup.hpp.
|
inline |
Definition at line 108 of file tunsetup.hpp.
|
inlineoverridevirtual |
Implements openvpn::DestructorBase.
Definition at line 99 of file tunsetup.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunBuilderSetup::Base.
Definition at line 128 of file tunsetup.hpp.
|
inlineprivate |
|
inlineprivate |
|
private |
Definition at line 252 of file tunsetup.hpp.
|
private |
Definition at line 250 of file tunsetup.hpp.
|
private |
Definition at line 249 of file tunsetup.hpp.
|
private |
Definition at line 254 of file tunsetup.hpp.