mbox series

[Openvpn-devel,v2,0/7] introduce networking API and add netlink support for Linux

Message ID 20181011184200.22175-1-a@unstable.cc
Headers show
Series introduce networking API and add netlink support for Linux | expand

Message

Antonio Quartulli Oct. 11, 2018, 7:41 a.m. UTC
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 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 platform generic networking API
  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

 configure.ac                               |   15 +-
 src/openvpn/Makefile.am                    |    3 +
 src/openvpn/errlevel.h                     |    1 +
 src/openvpn/forward.c                      |    2 +-
 src/openvpn/init.c                         |   55 +-
 src/openvpn/init.h                         |    5 +-
 src/openvpn/networking.h                   |  272 +++++
 src/openvpn/networking_ip.c                |  385 ++++++
 src/openvpn/networking_ip.h                |   36 +
 src/openvpn/networking_sitnl.c             | 1227 ++++++++++++++++++++
 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       |   28 +-
 tests/unit_tests/openvpn/test_networking.c |  229 ++++
 26 files changed, 2974 insertions(+), 502 deletions(-)
 create mode 100644 src/openvpn/networking.h
 create mode 100644 src/openvpn/networking_ip.c
 create mode 100644 src/openvpn/networking_ip.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

Comments

Antonio Quartulli Oct. 11, 2018, 7:44 a.m. UTC | #1
Hi,

On 12/10/18 02:41, Antonio Quartulli wrote:
> 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 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)

The last rebase was on top of ed31cf2a

Regards,