| 
    OpenVPN 3 Core Library
    
   | 
 
#include <tunnetlink.hpp>
Public Types | |
| typedef RCPtr< NetlinkRoute4 > | 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 | |
| NetlinkRoute4 () | |
| NetlinkRoute4 (IPv4::Addr &dst_arg, int prefixlen_arg, IPv4::Addr &gw_arg, std::string dev_arg, int metric_arg, bool add_arg) | |
| NetlinkRoute4 * | 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::Route4 | route | 
| IPv4::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 299 of file tunnetlink.hpp.
Definition at line 301 of file tunnetlink.hpp.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 307 of file tunnetlink.hpp.
      
  | 
  inline | 
Definition at line 321 of file tunnetlink.hpp.
      
  | 
  inlineoverridevirtual | 
Implements openvpn::Action.
Definition at line 331 of file tunnetlink.hpp.
      
  | 
  inlineoverridevirtual | 
Implements openvpn::Action.
Definition at line 356 of file tunnetlink.hpp.
| bool openvpn::TunNetlink::NetlinkRoute4::add = true | 
Definition at line 368 of file tunnetlink.hpp.
| std::string openvpn::TunNetlink::NetlinkRoute4::dev | 
Definition at line 366 of file tunnetlink.hpp.
| IPv4::Addr openvpn::TunNetlink::NetlinkRoute4::gw | 
Definition at line 365 of file tunnetlink.hpp.
| int openvpn::TunNetlink::NetlinkRoute4::metric = -1 | 
Definition at line 367 of file tunnetlink.hpp.
| IP::Route4 openvpn::TunNetlink::NetlinkRoute4::route | 
Definition at line 364 of file tunnetlink.hpp.