OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface Class Reference

#include <tunutil.hpp>

Inheritance diagram for openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface:
[legend]
Collaboration diagram for openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface:
[legend]

Public Member Functions

 ActionDeleteAllRoutesOnInterface (const DWORD iface_index_arg)
 
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
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Static Private Member Functions

static void remove_all_ipv4_routes_on_iface (DWORD index, ActionList &actions)
 
static void remove_all_ipv6_routes_on_iface (DWORD index, ActionList &actions)
 

Private Attributes

const DWORD iface_index
 

Additional Inherited Members

- Public Types inherited from openvpn::Action
typedef RCPtr< ActionPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 
- 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.
 
- Public Attributes inherited from openvpn::Action
std::string mark
 

Detailed Description

Definition at line 1204 of file tunutil.hpp.

Constructor & Destructor Documentation

◆ ActionDeleteAllRoutesOnInterface()

openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface::ActionDeleteAllRoutesOnInterface ( const DWORD  iface_index_arg)
inline

Definition at line 1207 of file tunutil.hpp.

Member Function Documentation

◆ execute()

virtual void openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface::execute ( std::ostream &  os)
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 1212 of file tunutil.hpp.

◆ remove_all_ipv4_routes_on_iface()

static void openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface::remove_all_ipv4_routes_on_iface ( DWORD  index,
ActionList actions 
)
inlinestaticprivate

Definition at line 1228 of file tunutil.hpp.

Here is the caller graph for this function:

◆ remove_all_ipv6_routes_on_iface()

static void openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface::remove_all_ipv6_routes_on_iface ( DWORD  index,
ActionList actions 
)
inlinestaticprivate

Definition at line 1255 of file tunutil.hpp.

Here is the caller graph for this function:

◆ to_string()

virtual std::string openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface::to_string ( ) const
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 1222 of file tunutil.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ iface_index

const DWORD openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface::iface_index
private

Definition at line 1287 of file tunutil.hpp.


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