0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/tun/linux/client
James Yonan 7cbac69e3d Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags
This change replaces the boolean add_bypass_routes with a new
flags parameter -- set the TunConfigFlags::ADD_BYPASS_ROUTES
flag to achieve the same functionality.

We also add some new flags for finer-grained control over
actions taken by tun_config:

* TunConfigFlags::DISABLE_IFACE_UP -- disable bringing the interface up

* TunConfigFlags::DISABLE_REROUTE_GW -- disable redirect-gateway

Signed-off-by: James Yonan <james@openvpn.net>
2021-11-24 13:18:35 -07:00
..
genl.hpp genl.hpp: implement get_peer() API to retrieve peer data from DCO 2021-06-09 17:23:03 +02:00
sitnl.hpp sitnl: move large memory block from stack to heap 2021-05-24 21:19:57 +02:00
tuncli.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tuniproute.hpp Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
tunmethods.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunnetlink.hpp Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
tunsetup.hpp Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00