platform, devices: add support for vxlan devices

System Internals / NetworkManager - Dan Winship [gnome.org] - 6 March 2014 08:48 UTC

Since vxlan is new-ish, and vxlan IPv6 support in particular has only been in the kernel since 3.11, we include our own copy of the vxlan netlink constants rather than depending on the installed headers.

42df06e platform, devices: add support for vxlan devices
include/NetworkManager.h | 1 +
introspection/Makefile.am | 1 +
introspection/nm-device-vxlan.xml | 122 ++++++++++++
src/Makefile.am | 3 +
src/devices/nm-device-vxlan.c | 372 +++++++++++++++++++++++++++++++++++++
src/devices/nm-device-vxlan.h | 69 +++++++
src/nm-manager.c | 4 +
src/platform/nm-fake-platform.c | 7 +
src/platform/nm-linux-platform.c | 115 ++++++++++++
src/platform/nm-platform.c | 11 ++
src/platform/nm-platform.h | 24 +++
src/platform/tests/platform.c | 49 +++++
12 files changed, 778 insertions(+)

Upstream: cgit.freedesktop.org


  • Share