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

#include <vpnservnetblock.hpp>

Inheritance diagram for openvpn::VPNServerNetblock::ClientNetblock:
[legend]
Collaboration diagram for openvpn::VPNServerNetblock::ClientNetblock:
[legend]

Public Member Functions

 ClientNetblock ()
 
 ClientNetblock (const IP::Route &route)
 
std::string to_string () const
 
- Public Member Functions inherited from openvpn::VPNServerNetblock::Netblock
 Netblock ()
 
 Netblock (const IP::Route &route)
 
void override_server_gw (const IP::Addr &gw)
 
bool defined () const
 
IP::Addr netmask () const
 
bool contains (const IP::Addr &a) const
 
IP::Route route () const
 
std::string to_string () const
 

Public Attributes

IP::Range clients
 
IP::Addr bcast
 
- Public Attributes inherited from openvpn::VPNServerNetblock::Netblock
IP::Addr net
 
IP::Addr server_gw
 
unsigned int prefix_len = 0
 

Detailed Description

Definition at line 90 of file vpnservnetblock.hpp.

Constructor & Destructor Documentation

◆ ClientNetblock() [1/2]

openvpn::VPNServerNetblock::ClientNetblock::ClientNetblock ( )
inline

Definition at line 92 of file vpnservnetblock.hpp.

◆ ClientNetblock() [2/2]

openvpn::VPNServerNetblock::ClientNetblock::ClientNetblock ( const IP::Route route)
inline

Definition at line 96 of file vpnservnetblock.hpp.

Member Function Documentation

◆ to_string()

std::string openvpn::VPNServerNetblock::ClientNetblock::to_string ( ) const
inline

Definition at line 104 of file vpnservnetblock.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bcast

IP::Addr openvpn::VPNServerNetblock::ClientNetblock::bcast

Definition at line 112 of file vpnservnetblock.hpp.

◆ clients

IP::Range openvpn::VPNServerNetblock::ClientNetblock::clients

Definition at line 111 of file vpnservnetblock.hpp.


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