OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunWin::WFP::Context Class Reference

Wrapper class for a WFP session. More...

#include <wfp.hpp>

Inheritance diagram for openvpn::TunWin::WFP::Context:
[legend]
Collaboration diagram for openvpn::TunWin::WFP::Context:
[legend]

Public Types

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

Private Member Functions

void block (const std::wstring &openvpn_app_path, const NET_IFINDEX itf_index, const Block block_type, std::ostream &log)
 
void unblock (std::ostream &log)
 

Private Attributes

WFP::Ptr wfp
 

Friends

class ActionBase
 

Additional Inherited Members

- 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 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

Wrapper class for a WFP session.

Definition at line 163 of file wfp.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 166 of file wfp.hpp.

Member Function Documentation

◆ block()

void openvpn::TunWin::WFP::Context::block ( const std::wstring &  openvpn_app_path,
const NET_IFINDEX  itf_index,
const Block  block_type,
std::ostream &  log 
)
inlineprivate

Definition at line 171 of file wfp.hpp.

◆ unblock()

void openvpn::TunWin::WFP::Context::unblock ( std::ostream &  log)
inlineprivate

Definition at line 181 of file wfp.hpp.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ActionBase

friend class ActionBase
friend

Definition at line 169 of file wfp.hpp.

Member Data Documentation

◆ wfp

WFP::Ptr openvpn::TunWin::WFP::Context::wfp
private

Definition at line 190 of file wfp.hpp.


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