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

#include <tunbase.hpp>

Public Member Functions

 NativeHandle ()
 
 NativeHandle (const int fd_arg, const int peer_id_arg)
 
bool fd_defined () const
 
bool defined () const
 

Public Attributes

int fd = -1
 
int peer_id = -1
 

Detailed Description

Definition at line 31 of file tunbase.hpp.

Constructor & Destructor Documentation

◆ NativeHandle() [1/2]

openvpn::TunClientInstance::NativeHandle::NativeHandle ( )
inline

Definition at line 33 of file tunbase.hpp.

◆ NativeHandle() [2/2]

openvpn::TunClientInstance::NativeHandle::NativeHandle ( const int  fd_arg,
const int  peer_id_arg 
)
inline

Definition at line 37 of file tunbase.hpp.

Member Function Documentation

◆ defined()

bool openvpn::TunClientInstance::NativeHandle::defined ( ) const
inline

Definition at line 48 of file tunbase.hpp.

◆ fd_defined()

bool openvpn::TunClientInstance::NativeHandle::fd_defined ( ) const
inline

Definition at line 43 of file tunbase.hpp.

Member Data Documentation

◆ fd

int openvpn::TunClientInstance::NativeHandle::fd = -1

Definition at line 53 of file tunbase.hpp.

◆ peer_id

int openvpn::TunClientInstance::NativeHandle::peer_id = -1

Definition at line 54 of file tunbase.hpp.


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