#include <gwnetlink.hpp>
Definition at line 25 of file gwnetlink.hpp.
◆ LinuxGWNetlink()
openvpn::LinuxGWNetlink::LinuxGWNetlink |
( |
const std::string & |
addr, |
|
|
const std::string & |
iface_to_ignore, |
|
|
bool |
ipv6 |
|
) |
| |
|
inline |
Provides gateway which is used to reach given address
- Parameters
-
addr | address which we want to reach |
iface_to_ignore | this allows to exclude certain interface from discovered gateways. Used when we want to exclude VPN interface when there is active VPN connection with redirected default gateway |
ipv6 | true if address is IPv6 |
Definition at line 40 of file gwnetlink.hpp.
◆ addr()
const IP::Addr & openvpn::LinuxGWNetlink::addr |
( |
| ) |
const |
|
inline |
◆ defined()
bool openvpn::LinuxGWNetlink::defined |
( |
| ) |
const |
|
inline |
◆ dev()
const std::string & openvpn::LinuxGWNetlink::dev |
( |
| ) |
const |
|
inline |
◆ OPENVPN_EXCEPTION()
openvpn::LinuxGWNetlink::OPENVPN_EXCEPTION |
( |
linux_gw_netlink_error |
| ) |
|
◆ to_string()
std::string openvpn::LinuxGWNetlink::to_string |
( |
| ) |
const |
|
inline |
◆ addr_
◆ dev_
std::string openvpn::LinuxGWNetlink::dev_ |
|
private |
The documentation for this class was generated from the following file: