|
OpenVPN 3 Core Library
|
#include <tunnetlink.hpp>
Public Types | |
| using | Ptr = RCPtr< NetlinkAddr4PtP > |
Public Types inherited from openvpn::Action | |
| using | Ptr = RCPtr< Action > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Public Member Functions | |
| NetlinkAddr4PtP ()=default | |
| NetlinkAddr4PtP (std::string dev_arg, IPv4::Addr local_arg, IPv4::Addr remote_arg, bool add_arg) | |
| NetlinkAddr4PtP * | copy () const |
| void | execute (std::ostream &os) override |
| std::string | to_string () const override |
Public Member Functions inherited from openvpn::Action | |
| virtual Json::Value | to_json () const |
| virtual | ~Action ()=default |
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 Attributes | |
| std::string | dev |
| IPv4::Addr | local |
| IPv4::Addr | remote |
| bool | add = true |
Public Attributes inherited from openvpn::Action | |
| std::string | mark |
Additional Inherited Members | |
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. | |
Definition at line 227 of file tunnetlink.hpp.
Definition at line 229 of file tunnetlink.hpp.
|
default |
|
inline |
Definition at line 233 of file tunnetlink.hpp.
|
inline |
Definition at line 244 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 254 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 279 of file tunnetlink.hpp.
| bool openvpn::TunNetlink::NetlinkAddr4PtP::add = true |
Definition at line 288 of file tunnetlink.hpp.
| std::string openvpn::TunNetlink::NetlinkAddr4PtP::dev |
Definition at line 285 of file tunnetlink.hpp.
| IPv4::Addr openvpn::TunNetlink::NetlinkAddr4PtP::local |
Definition at line 286 of file tunnetlink.hpp.
| IPv4::Addr openvpn::TunNetlink::NetlinkAddr4PtP::remote |
Definition at line 287 of file tunnetlink.hpp.