|
OpenVPN 3 Core Library
|
#include <tunnetlink.hpp>
Public Types | |
| typedef RCPtr< NetlinkAddr4 > | Ptr |
Public Types inherited from openvpn::Action | |
| typedef RCPtr< Action > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Public Member Functions | |
| NetlinkAddr4 () | |
| NetlinkAddr4 (std::string dev_arg, IPv4::Addr &addr_arg, unsigned char prefixlen_arg, IPv4::Addr &broadcast_arg, bool add_arg) | |
| NetlinkAddr4 * | copy () const |
| virtual void | execute (std::ostream &os) override |
| virtual 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 | addr |
| unsigned char | prefixlen = 0 |
| IPv4::Addr | broadcast |
| 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 92 of file tunnetlink.hpp.
Definition at line 94 of file tunnetlink.hpp.
|
inline |
|
inline |
Definition at line 100 of file tunnetlink.hpp.
|
inline |
Definition at line 113 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 124 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 149 of file tunnetlink.hpp.
| bool openvpn::TunNetlink::NetlinkAddr4::add = true |
Definition at line 162 of file tunnetlink.hpp.
| IPv4::Addr openvpn::TunNetlink::NetlinkAddr4::addr |
Definition at line 159 of file tunnetlink.hpp.
| IPv4::Addr openvpn::TunNetlink::NetlinkAddr4::broadcast |
Definition at line 161 of file tunnetlink.hpp.
| std::string openvpn::TunNetlink::NetlinkAddr4::dev |
Definition at line 158 of file tunnetlink.hpp.
| unsigned char openvpn::TunNetlink::NetlinkAddr4::prefixlen = 0 |
Definition at line 160 of file tunnetlink.hpp.