]> git.ipfire.org Git - thirdparty/openvpn.git/commit
networking: implement net_iface_new and net_iface_del APIs
authorAntonio Quartulli <a@unstable.cc>
Thu, 7 Apr 2022 09:41:46 +0000 (11:41 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 8 Apr 2022 10:09:43 +0000 (12:09 +0200)
commitc838a9f98fa2d8b6d7b2658e8399bc9d19ec60e0
treed6faecf7655484017430daaf3a460e5e5841997d
parent545f6bdea30e04a09b118c4e1faf6523544fd935
networking: implement net_iface_new and net_iface_del APIs

These two new methods can be used to create and delete a tun or an
ovpn-dco interface via networking API.

Implementations for SITNL and iproute2 are provided

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220407094146.7684-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24088.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/networking.h
src/openvpn/networking_iproute2.c
src/openvpn/networking_sitnl.c
tests/unit_tests/openvpn/test_networking.c