>From a high level description of this patchset, please refer to "[PATCH 0/4] add netlink support for Linux" sent to the mailing list on Apr, 20th 2018.
Changes from v2: - addressed some of Arne's comments sent to the mailing list - renamed networking_ip.* to networking_iproute2.* - fixed minor bugs discovered during the integration with OVPN3 Changes from v1: - introduced opaque context object containing implementation specific state; - fixed env passed to ip command (thanks to opaque context); - rebased on to pof latest master (00d78cd5) Regards, Antonio Quartulli (7): implement networking API for iproute2 introduce sitnl: Simplified Interface To NetLink tun.c: use new networking API to handle tun interface on Linux route.c: use new networking API to handle routing table on Linux route.c: use sitnl to implement get_default_gateway_ipv6() unit tests: implement test for sitnl travis.yml: add test for iproute2 net implementation .travis.yml | 3 + configure.ac | 15 +- src/openvpn/Makefile.am | 2 + src/openvpn/errlevel.h | 1 + src/openvpn/forward.c | 2 +- src/openvpn/init.c | 55 +- src/openvpn/init.h | 5 +- src/openvpn/networking.h | 8 +- src/openvpn/networking_iproute2.c | 385 ++++++ src/openvpn/networking_iproute2.h | 36 + src/openvpn/networking_sitnl.c | 1228 ++++++++++++++++++++ src/openvpn/networking_sitnl.h | 28 + src/openvpn/openvpn.c | 4 +- src/openvpn/openvpn.h | 2 + src/openvpn/options.c | 10 +- src/openvpn/options.h | 1 + src/openvpn/route.c | 497 +++----- src/openvpn/route.h | 26 +- src/openvpn/sitnl.h | 217 ++++ src/openvpn/ssl.c | 2 +- src/openvpn/ssl_common.h | 1 + src/openvpn/tun.c | 233 ++-- src/openvpn/tun.h | 14 +- tests/Makefile.am | 3 +- tests/t_net.sh | 180 +++ tests/unit_tests/openvpn/Makefile.am | 30 +- tests/unit_tests/openvpn/test_networking.c | 229 ++++ 27 files changed, 2707 insertions(+), 510 deletions(-) create mode 100644 src/openvpn/networking_iproute2.c create mode 100644 src/openvpn/networking_iproute2.h create mode 100644 src/openvpn/networking_sitnl.c create mode 100644 src/openvpn/networking_sitnl.h create mode 100644 src/openvpn/sitnl.h create mode 100755 tests/t_net.sh create mode 100644 tests/unit_tests/openvpn/test_networking.c -- 2.19.2 _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel