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

#include <listenlist.hpp>

Collaboration diagram for openvpn::Listen::Item:
[legend]

Public Types

enum  SSLMode { SSLUnspecified , SSLOn , SSLOff }
 

Public Member Functions

std::string to_string () const
 
Item port_offset (const unsigned int offset) const
 

Public Attributes

std::string directive
 
std::string addr
 
std::string port
 
Protocol proto
 
SSLMode ssl = SSLUnspecified
 
unsigned int n_threads = 0
 

Detailed Description

Definition at line 31 of file listenlist.hpp.

Member Enumeration Documentation

◆ SSLMode

Enumerator
SSLUnspecified 
SSLOn 
SSLOff 

Definition at line 33 of file listenlist.hpp.

Member Function Documentation

◆ port_offset()

Item openvpn::Listen::Item::port_offset ( const unsigned int  offset) const
inline

Definition at line 76 of file listenlist.hpp.

◆ to_string()

std::string openvpn::Listen::Item::to_string ( ) const
inline

Definition at line 50 of file listenlist.hpp.

Member Data Documentation

◆ addr

std::string openvpn::Listen::Item::addr

Definition at line 44 of file listenlist.hpp.

◆ directive

std::string openvpn::Listen::Item::directive

Definition at line 43 of file listenlist.hpp.

◆ n_threads

unsigned int openvpn::Listen::Item::n_threads = 0

Definition at line 48 of file listenlist.hpp.

◆ port

std::string openvpn::Listen::Item::port

Definition at line 45 of file listenlist.hpp.

◆ proto

Protocol openvpn::Listen::Item::proto

Definition at line 46 of file listenlist.hpp.

◆ ssl

SSLMode openvpn::Listen::Item::ssl = SSLUnspecified

Definition at line 47 of file listenlist.hpp.


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