OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::IPv4ReversePathFilter Class Reference

#include <procfs.hpp>

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

Public Member Functions

 IPv4ReversePathFilter (const std::string &dev, const unsigned int value)
 
- Public Member Functions inherited from openvpn::ProcFS
 OPENVPN_EXCEPTION (procfs_error)
 
 ProcFS (std::string fn_arg, std::string text_arg)
 
virtual void execute (std::ostream &os) override
 
virtual std::string to_string () const override
 
- Public Member Functions inherited from openvpn::Action
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 Public Member Functions

static void write (const std::string &dev, const unsigned int value, Stop *stop=nullptr)
 
- Static Public Member Functions inherited from openvpn::ProcFS
static std::string to_string (const std::string &fn, const std::string &text)
 
static void write_sys (const std::string &fn, const std::string &text, Stop *async_stop=nullptr)
 
- 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.
 

Static Private Member Functions

static std::string key_fn (const std::string &dev)
 

Additional Inherited Members

- Public Types inherited from openvpn::Action
typedef RCPtr< ActionPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 
- Public Attributes inherited from openvpn::Action
std::string mark
 

Detailed Description

Definition at line 111 of file procfs.hpp.

Constructor & Destructor Documentation

◆ IPv4ReversePathFilter()

openvpn::IPv4ReversePathFilter::IPv4ReversePathFilter ( const std::string &  dev,
const unsigned int  value 
)
inline

Definition at line 114 of file procfs.hpp.

Member Function Documentation

◆ key_fn()

static std::string openvpn::IPv4ReversePathFilter::key_fn ( const std::string &  dev)
inlinestaticprivate

Definition at line 126 of file procfs.hpp.

Here is the caller graph for this function:

◆ write()

static void openvpn::IPv4ReversePathFilter::write ( const std::string &  dev,
const unsigned int  value,
Stop stop = nullptr 
)
inlinestatic

Definition at line 120 of file procfs.hpp.


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