#include <tunsetup.hpp>
|
static void | add_del_route (const std::string &addr_str, const int prefix_len, const std::string &gateway_str, const std::string &iface, const unsigned int flags, Action::Ptr &create, Action::Ptr &destroy) |
|
static void | add_del_route (const std::string &addr_str, const int prefix_len, const std::string &gateway_str, const std::string &iface, const unsigned int flags, ActionList &create, ActionList &destroy) |
|
static void | tun_config (const std::string &iface_name, const TunBuilderCapture &pull, ActionList &create, ActionList &destroy, std::ostream &os) |
|
Definition at line 44 of file tunsetup.hpp.
◆ Ptr
◆ anonymous enum
Enumerator |
---|
R_IPv6 | |
R_IFACE | |
R_IFACE_HINT | |
R_ONLINK | |
R_REJECT | |
R_BLACKHOLE | |
Definition at line 172 of file tunsetup.hpp.
◆ ~Setup()
virtual openvpn::TunMac::Setup::~Setup |
( |
| ) |
|
|
inlinevirtual |
◆ add_bypass_route() [1/2]
bool openvpn::TunMac::Setup::add_bypass_route |
( |
const std::string & |
address, |
|
|
bool |
ipv6, |
|
|
std::ostream & |
os |
|
) |
| |
|
inline |
◆ add_bypass_route() [2/2]
static void openvpn::TunMac::Setup::add_bypass_route |
( |
const std::string & |
route, |
|
|
bool |
ipv6, |
|
|
ActionList & |
add_cmds, |
|
|
ActionList & |
remove_cmds_bypass_gw |
|
) |
| |
|
inlinestatic |
◆ add_del_route() [1/2]
static void openvpn::TunMac::Setup::add_del_route |
( |
const std::string & |
addr_str, |
|
|
const int |
prefix_len, |
|
|
const std::string & |
gateway_str, |
|
|
const std::string & |
iface, |
|
|
const unsigned int |
flags, |
|
|
Action::Ptr & |
create, |
|
|
Action::Ptr & |
destroy |
|
) |
| |
|
inlinestaticprivate |
◆ add_del_route() [2/2]
static void openvpn::TunMac::Setup::add_del_route |
( |
const std::string & |
addr_str, |
|
|
const int |
prefix_len, |
|
|
const std::string & |
gateway_str, |
|
|
const std::string & |
iface, |
|
|
const unsigned int |
flags, |
|
|
ActionList & |
create, |
|
|
ActionList & |
destroy |
|
) |
| |
|
inlinestaticprivate |
◆ destroy()
void openvpn::TunMac::Setup::destroy |
( |
std::ostream & |
os | ) |
|
|
inlineoverridevirtual |
◆ establish()
◆ OPENVPN_EXCEPTION()
openvpn::TunMac::Setup::OPENVPN_EXCEPTION |
( |
tun_mac_setup |
| ) |
|
◆ tun_config()
◆ remove_cmds
The documentation for this class was generated from the following file: