#include <rgopt.hpp>
|
enum | Flags {
RG_ENABLE = (1 << 0)
, RG_REROUTE_GW = (1 << 1)
, RG_LOCAL = (1 << 2)
, RG_AUTO_LOCAL = (1 << 3)
,
RG_DEF1 = (1 << 4)
, RG_BYPASS_DHCP = (1 << 5)
, RG_BYPASS_DNS = (1 << 6)
, RG_BLOCK_LOCAL = (1 << 7)
,
RG_IPv4 = (1 << 8)
, RG_IPv6 = (1 << 9)
, RG_DEFAULT = (RG_IPv4)
} |
|
Definition at line 21 of file rgopt.hpp.
◆ Flags
Enumerator |
---|
RG_ENABLE | |
RG_REROUTE_GW | |
RG_LOCAL | |
RG_AUTO_LOCAL | |
RG_DEF1 | |
RG_BYPASS_DHCP | |
RG_BYPASS_DNS | |
RG_BLOCK_LOCAL | |
RG_IPv4 | |
RG_IPv6 | |
RG_DEFAULT | |
Definition at line 24 of file rgopt.hpp.
◆ RedirectGatewayFlags() [1/3]
openvpn::RedirectGatewayFlags::RedirectGatewayFlags |
( |
| ) |
|
|
inline |
◆ RedirectGatewayFlags() [2/3]
openvpn::RedirectGatewayFlags::RedirectGatewayFlags |
( |
unsigned int |
flags | ) |
|
|
inline |
◆ RedirectGatewayFlags() [3/3]
openvpn::RedirectGatewayFlags::RedirectGatewayFlags |
( |
const OptionList & |
opt | ) |
|
|
inlineexplicit |
◆ add_flags()
◆ doinit()
void openvpn::RedirectGatewayFlags::doinit |
( |
const OptionList & |
opt, |
|
|
const std::string & |
directive, |
|
|
const bool |
redirect_gateway |
|
) |
| |
|
inlineprivate |
◆ init()
void openvpn::RedirectGatewayFlags::init |
( |
const OptionList & |
opt | ) |
|
|
inline |
◆ operator()()
unsigned int openvpn::RedirectGatewayFlags::operator() |
( |
| ) |
const |
|
inline |
◆ redirect_gateway_ipv4_enabled()
bool openvpn::RedirectGatewayFlags::redirect_gateway_ipv4_enabled |
( |
| ) |
const |
|
inline |
◆ redirect_gateway_ipv6_enabled()
bool openvpn::RedirectGatewayFlags::redirect_gateway_ipv6_enabled |
( |
| ) |
const |
|
inline |
◆ redirect_gateway_local()
bool openvpn::RedirectGatewayFlags::redirect_gateway_local |
( |
| ) |
const |
|
inline |
◆ rg_enabled()
bool openvpn::RedirectGatewayFlags::rg_enabled |
( |
| ) |
const |
|
inlineprivate |
◆ to_string()
std::string openvpn::RedirectGatewayFlags::to_string |
( |
| ) |
const |
|
inline |
◆ flags_
unsigned int openvpn::RedirectGatewayFlags::flags_ |
|
private |
The documentation for this class was generated from the following file: