|
OpenVPN 3 Core Library
|
#include <tunnetlink.hpp>
Public Types | |
| typedef RCPtr< NetlinkRoute6 > | 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 | |
| NetlinkRoute6 () | |
| 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 |
| 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 | |
| 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 371 of file tunnetlink.hpp.
Definition at line 373 of file tunnetlink.hpp.
|
inline |
|
inline |
Definition at line 379 of file tunnetlink.hpp.
|
inline |
Definition at line 393 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 403 of file tunnetlink.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 428 of file tunnetlink.hpp.
| bool openvpn::TunNetlink::NetlinkRoute6::add = true |
Definition at line 440 of file tunnetlink.hpp.
| std::string openvpn::TunNetlink::NetlinkRoute6::dev |
Definition at line 438 of file tunnetlink.hpp.
| IPv6::Addr openvpn::TunNetlink::NetlinkRoute6::gw |
Definition at line 437 of file tunnetlink.hpp.
| int openvpn::TunNetlink::NetlinkRoute6::metric = -1 |
Definition at line 439 of file tunnetlink.hpp.
| IP::Route6 openvpn::TunNetlink::NetlinkRoute6::route |
Definition at line 436 of file tunnetlink.hpp.