0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/tun
Heiko Hund 51bd6d4201 use DCO opportunistically
If DCO support is compiled in, detect if it is available (i.e. Windows driver
or Linux kernel module is loaded) and then use it, if it is.

This changes the default configuration for DCO from off to on, so users of
the library need to set ClientAPI::Config::dco to false in case they do not
want to use dco for a connection.

The change is also reflected in the reference client "ovpncli". If DCO is
enabled in a build, it will detect and use it. The previously available
"ovpncliovpndco" and "ovpncliovpndcowin" clients have thus been removed.

Signed-off-by: Heiko Hund <heiko@openvpn.net>
2021-05-27 17:20:24 +02:00
..
builder TunBuilder Base: pass reference IP addresses 2021-02-24 08:59:55 +01:00
client tunprop.hpp: handle dhcp-option DOMAIN-SEARCH 2021-03-03 17:16:08 +01:00
extern Update copyrights 2020-03-18 19:37:32 +01:00
linux/client use DCO opportunistically 2021-05-27 17:20:24 +02:00
mac set struct sockaddr_ctl::sc_reserved to zero 2021-05-18 05:30:08 +02:00
persist Update copyrights 2020-03-18 19:37:32 +01:00
server Update copyrights 2020-03-18 19:37:32 +01:00
win win/tunsetup: fix build error caused by merge conflict 2021-04-16 09:23:24 +03:00
ipv6_setting.hpp Update copyrights 2020-03-18 19:37:32 +01:00
layer.hpp Update copyrights 2020-03-18 19:37:32 +01:00
proxy.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunio.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunlog.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunmtu.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunspec.hpp Update copyrights 2020-03-18 19:37:32 +01:00