]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move to common backend_driver type in struct tuntap
authorArne Schwabe <arne@rfc2549.org>
Sun, 22 Sep 2024 20:37:49 +0000 (22:37 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 22 Sep 2024 20:44:52 +0000 (22:44 +0200)
commitd8490738e64a5bbf00d6f08af03fef58f7488140
tree600dbb6a8c5f6663ed2c81d35b7d78c47e191828
parentb322690394b75a9d4987d4b27107ccb01bbcd90e
Move to common backend_driver type in struct tuntap

With the introduction of utun on macOS and DCO on Linux, FreeBSD and
Windows, a lot of platforms have now more than one driver/backend for
the tun interface but each one uses a different mechanism. Unify these
approach with using a common enum that defines the driver_type.

Change-Id: I8c0e9f32b235cb262ca2be6aac8d520e49b30d74
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20240922203749.9802-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29352.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c
src/openvpn/dco_win.c
src/openvpn/forward.c
src/openvpn/init.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/tun.c
src/openvpn/tun.h