OpenVPN 3 Core Library
|
#include <tunnetlink.hpp>
Public Types | |
typedef RCPtr< NetlinkLinkSet > | Ptr |
![]() | |
typedef RCPtr< Action > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
NetlinkLinkSet () | |
NetlinkLinkSet (std::string dev_arg, bool up_arg, int mtu_arg) | |
NetlinkLinkSet * | copy () const |
virtual void | execute (std::ostream &os) override |
virtual std::string | to_string () const override |
![]() | |
virtual Json::Value | to_json () const |
virtual | ~Action ()=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. | |
Public Attributes | |
std::string | dev |
bool | up = true |
int | mtu = TUN_MTU_DEFAULT |
![]() | |
std::string | mark |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 33 of file tunnetlink.hpp.
Definition at line 35 of file tunnetlink.hpp.
|
inline |
|
inline |
Definition at line 41 of file tunnetlink.hpp.
|
inline |
Definition at line 48 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 57 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 80 of file tunnetlink.hpp.
std::string openvpn::TunNetlink::NetlinkLinkSet::dev |
Definition at line 87 of file tunnetlink.hpp.
int openvpn::TunNetlink::NetlinkLinkSet::mtu = TUN_MTU_DEFAULT |
Definition at line 89 of file tunnetlink.hpp.
bool openvpn::TunNetlink::NetlinkLinkSet::up = true |
Definition at line 88 of file tunnetlink.hpp.