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

#include <peeraddr.hpp>

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

Public Types

typedef RCPtr< PeerAddrPtr
 

Public Member Functions

 PeerAddr ()
 
std::string to_string () const
 
- Public Member Functions inherited from openvpn::RCCopyable< thread_unsafe_refcount >
virtual ~RCCopyable ()=default
 
 RCCopyable () noexcept=default
 
 RCCopyable (const RCCopyable &) noexcept
 Construct a new RCCopyable object.
 
 RCCopyable (RCCopyable &&) noexcept
 Construct a new RCCopyable object by move.
 
RCCopyableoperator= (const RCCopyable &) noexcept
 Ensures the new ref count is not copied with the rest of the object.
 
RCCopyableoperator= (RCCopyable &&) noexcept
 Ensures the new ref count is not moved with the rest of the object.
 
olong use_count () const noexcept
 Returns the use count as reported by defering to the injected ref count type.
 

Public Attributes

AddrPort remote
 
AddrPort local
 
bool tcp
 

Detailed Description

Definition at line 57 of file peeraddr.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 59 of file peeraddr.hpp.

Constructor & Destructor Documentation

◆ PeerAddr()

openvpn::PeerAddr::PeerAddr ( )
inline

Definition at line 61 of file peeraddr.hpp.

Member Function Documentation

◆ to_string()

std::string openvpn::PeerAddr::to_string ( ) const
inline

Definition at line 66 of file peeraddr.hpp.

Member Data Documentation

◆ local

AddrPort openvpn::PeerAddr::local

Definition at line 88 of file peeraddr.hpp.

◆ remote

AddrPort openvpn::PeerAddr::remote

Definition at line 87 of file peeraddr.hpp.

◆ tcp

bool openvpn::PeerAddr::tcp

Definition at line 89 of file peeraddr.hpp.


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