OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunNetlink::NetlinkAddr4PtP Struct Reference

#include <tunnetlink.hpp>

Inheritance diagram for openvpn::TunNetlink::NetlinkAddr4PtP:
[legend]
Collaboration diagram for openvpn::TunNetlink::NetlinkAddr4PtP:
[legend]

Public Types

typedef RCPtr< NetlinkAddr4PtPPtr
 
- Public Types inherited from openvpn::Action
typedef RCPtr< ActionPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 NetlinkAddr4PtP ()
 
 NetlinkAddr4PtP (std::string dev_arg, IPv4::Addr local_arg, IPv4::Addr remote_arg, bool add_arg)
 
NetlinkAddr4PtPcopy () 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
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Public Attributes

std::string dev
 
IPv4::Addr local
 
IPv4::Addr remote
 
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.
 

Detailed Description

Definition at line 233 of file tunnetlink.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ NetlinkAddr4PtP() [1/2]

openvpn::TunNetlink::NetlinkAddr4PtP::NetlinkAddr4PtP ( )
inline

Definition at line 237 of file tunnetlink.hpp.

Here is the caller graph for this function:

◆ NetlinkAddr4PtP() [2/2]

openvpn::TunNetlink::NetlinkAddr4PtP::NetlinkAddr4PtP ( std::string  dev_arg,
IPv4::Addr  local_arg,
IPv4::Addr  remote_arg,
bool  add_arg 
)
inline

Definition at line 241 of file tunnetlink.hpp.

Member Function Documentation

◆ copy()

NetlinkAddr4PtP * openvpn::TunNetlink::NetlinkAddr4PtP::copy ( ) const
inline

Definition at line 252 of file tunnetlink.hpp.

◆ execute()

virtual void openvpn::TunNetlink::NetlinkAddr4PtP::execute ( std::ostream &  os)
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 262 of file tunnetlink.hpp.

◆ to_string()

virtual std::string openvpn::TunNetlink::NetlinkAddr4PtP::to_string ( ) const
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 287 of file tunnetlink.hpp.

Member Data Documentation

◆ add

bool openvpn::TunNetlink::NetlinkAddr4PtP::add = true

Definition at line 296 of file tunnetlink.hpp.

◆ dev

std::string openvpn::TunNetlink::NetlinkAddr4PtP::dev

Definition at line 293 of file tunnetlink.hpp.

◆ local

IPv4::Addr openvpn::TunNetlink::NetlinkAddr4PtP::local

Definition at line 294 of file tunnetlink.hpp.

◆ remote

IPv4::Addr openvpn::TunNetlink::NetlinkAddr4PtP::remote

Definition at line 295 of file tunnetlink.hpp.


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