OpenVPN 3 Core Library
|
#include <gwnetlink.hpp>
Public Member Functions | |
LinuxGW46Netlink (const std::string &iface_to_ignore, const std::string &addr="") | |
std::string | to_string () const |
std::string | dev () const |
Public Attributes | |
LinuxGWNetlink | v4 |
LinuxGWNetlink | v6 |
Provides IPv4/6 gateway which is used to reach given address
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 |
addr | address which we want to reach |
Definition at line 116 of file gwnetlink.hpp.
|
inline |
Definition at line 118 of file gwnetlink.hpp.
|
inline |
|
inline |
Definition at line 124 of file gwnetlink.hpp.
LinuxGWNetlink openvpn::LinuxGW46Netlink::v4 |
Definition at line 153 of file gwnetlink.hpp.
LinuxGWNetlink openvpn::LinuxGW46Netlink::v6 |
Definition at line 154 of file gwnetlink.hpp.