OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunWin::Setup::UseDNS Class Reference

Public Member Functions

 UseDNS ()=default
 
 UseDNS (const TunBuilderCapture &pull)
 
int add (const DnsAddress &addr, const TunBuilderCapture &pull)
 
int ipv4 () const
 
int ipv6 () const
 

Static Public Member Functions

static bool enabled (const DnsAddress &addr, const TunBuilderCapture &pull)
 

Private Attributes

int indices [2] = {0, 0}
 

Detailed Description

Definition at line 293 of file tunsetup.hpp.

Constructor & Destructor Documentation

◆ UseDNS() [1/2]

openvpn::TunWin::Setup::UseDNS::UseDNS ( )
default

◆ UseDNS() [2/2]

openvpn::TunWin::Setup::UseDNS::UseDNS ( const TunBuilderCapture pull)
inline

Definition at line 298 of file tunsetup.hpp.

Member Function Documentation

◆ add()

int openvpn::TunWin::Setup::UseDNS::add ( const DnsAddress addr,
const TunBuilderCapture pull 
)
inline

Definition at line 312 of file tunsetup.hpp.

Here is the caller graph for this function:

◆ enabled()

static bool openvpn::TunWin::Setup::UseDNS::enabled ( const DnsAddress addr,
const TunBuilderCapture pull 
)
inlinestatic

Definition at line 306 of file tunsetup.hpp.

Here is the caller graph for this function:

◆ ipv4()

int openvpn::TunWin::Setup::UseDNS::ipv4 ( ) const
inline

Definition at line 321 of file tunsetup.hpp.

Here is the caller graph for this function:

◆ ipv6()

int openvpn::TunWin::Setup::UseDNS::ipv6 ( ) const
inline

Definition at line 325 of file tunsetup.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ indices

int openvpn::TunWin::Setup::UseDNS::indices[2] = {0, 0}
private

Definition at line 331 of file tunsetup.hpp.


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