OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config Struct Reference

#include <tunsetup.hpp>

Inheritance diagram for openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config:
[legend]
Collaboration diagram for openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config:
[legend]

Public Member Functions

virtual Json::Value to_json () override
 
virtual void from_json (const Json::Value &root, const std::string &title) override
 
- Public Member Functions inherited from openvpn::TunBuilderSetup::Config
virtual ~Config ()=default
 

Public Attributes

std::string iface_name
 
Layer layer
 
std::string dev_name
 
int txqueuelen = 0
 
bool add_bypass_routes_on_establish = false
 
bool dco = false
 

Detailed Description

template<class TUNMETHODS>
struct openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config

Definition at line 66 of file tunsetup.hpp.

Member Function Documentation

◆ from_json()

template<class TUNMETHODS >
virtual void openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::from_json ( const Json::Value &  root,
const std::string &  title 
)
inlineoverridevirtual

Implements openvpn::TunBuilderSetup::Config.

Definition at line 87 of file tunsetup.hpp.

◆ to_json()

template<class TUNMETHODS >
virtual Json::Value openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::to_json ( )
inlineoverridevirtual

Implements openvpn::TunBuilderSetup::Config.

Definition at line 76 of file tunsetup.hpp.

Member Data Documentation

◆ add_bypass_routes_on_establish

template<class TUNMETHODS >
bool openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::add_bypass_routes_on_establish = false

Definition at line 72 of file tunsetup.hpp.

◆ dco

template<class TUNMETHODS >
bool openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::dco = false

Definition at line 73 of file tunsetup.hpp.

◆ dev_name

template<class TUNMETHODS >
std::string openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::dev_name

Definition at line 70 of file tunsetup.hpp.

◆ iface_name

template<class TUNMETHODS >
std::string openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::iface_name

Definition at line 68 of file tunsetup.hpp.

◆ layer

template<class TUNMETHODS >
Layer openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::layer

Definition at line 69 of file tunsetup.hpp.

◆ txqueuelen

template<class TUNMETHODS >
int openvpn::TunLinuxSetup::Setup< TUNMETHODS >::Config::txqueuelen = 0

Definition at line 71 of file tunsetup.hpp.


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