OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::EmulateExcludeRoute Struct Referenceabstract

#include <emuexr.hpp>

Inheritance diagram for openvpn::EmulateExcludeRoute:
[legend]
Collaboration diagram for openvpn::EmulateExcludeRoute:
[legend]

Public Types

typedef RCPtr< EmulateExcludeRoutePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

virtual void add_route (const bool add, const IP::Addr &addr, const int prefix_len)=0
 
virtual bool enabled (const IPVerFlags &ipv) const =0
 
virtual void emulate (TunBuilderBase *tb, IPVerFlags &ipv, const IP::Addr &server_addr) const =0
 
virtual void add_default_routes (bool ipv4, bool ipv6)=0
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

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.
 

Detailed Description

Definition at line 22 of file emuexr.hpp.

Member Typedef Documentation

◆ Ptr

Member Function Documentation

◆ add_default_routes()

virtual void openvpn::EmulateExcludeRoute::add_default_routes ( bool  ipv4,
bool  ipv6 
)
pure virtual

◆ add_route()

virtual void openvpn::EmulateExcludeRoute::add_route ( const bool  add,
const IP::Addr addr,
const int  prefix_len 
)
pure virtual

Implemented in openvpn::EmulateExcludeRouteImpl.

Here is the caller graph for this function:

◆ emulate()

virtual void openvpn::EmulateExcludeRoute::emulate ( TunBuilderBase tb,
IPVerFlags ipv,
const IP::Addr server_addr 
) const
pure virtual

◆ enabled()

virtual bool openvpn::EmulateExcludeRoute::enabled ( const IPVerFlags ipv) const
pure virtual

The documentation for this struct was generated from the following file: