|
OpenVPN 3 Core Library
|
#include <tunnetlink.hpp>
Public Types | |
| using | Ptr = RCPtr< NetlinkRoute6 > |
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 | |
| NetlinkRoute6 ()=default | |
| NetlinkRoute6 (IPv6::Addr &dst_arg, int prefixlen_arg, IPv6::Addr &gw_arg, std::string dev_arg, int metric_arg, bool add_arg) | |
| NetlinkRoute6 * | 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 | |
| IP::Route6 | route |
| IPv6::Addr | gw |
| std::string | dev |
| int | metric = -1 |
| 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 361 of file tunnetlink.hpp.
Definition at line 363 of file tunnetlink.hpp.
|
default |
|
inline |
Definition at line 367 of file tunnetlink.hpp.
|
inline |
Definition at line 381 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 391 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 416 of file tunnetlink.hpp.
| bool openvpn::TunNetlink::NetlinkRoute6::add = true |
Definition at line 428 of file tunnetlink.hpp.
| std::string openvpn::TunNetlink::NetlinkRoute6::dev |
Definition at line 426 of file tunnetlink.hpp.
| IPv6::Addr openvpn::TunNetlink::NetlinkRoute6::gw |
Definition at line 425 of file tunnetlink.hpp.
| int openvpn::TunNetlink::NetlinkRoute6::metric = -1 |
Definition at line 427 of file tunnetlink.hpp.
| IP::Route6 openvpn::TunNetlink::NetlinkRoute6::route |
Definition at line 424 of file tunnetlink.hpp.