NetworkManager/src/platform
Thomas Haller ef93f6caad platform: support creating non-persistant TUN/TAP devices
For completeness, extend the API to support non-persistant
device. That requires that nm_platform_link_tun_add()
returns the file descriptor.

While NetworkManager doesn't create such devices itself,
it recognizes the IFLA_TUN_PERSIST / IFF_PERSIST flag.
Since ip-tuntap (obviously) cannot create such devices,
we cannot add a test for how non-persistent devices look
in the platform cache. Well, we could instead add them
with ioctl directly, but instead, just extend the platform
API to allow for that.

Also, use the function from test-lldp.c to (optionally) use
nm_platform_link_tun_add() to create the tap device.
2018-04-09 20:16:31 +02:00
..
tests platform: support creating non-persistant TUN/TAP devices 2018-04-09 20:16:31 +02:00
wifi platform: move genl_ctrl_resolve to nm-netlink.c 2018-03-30 22:09:04 +02:00
nm-fake-platform.c wifi: always build nl80211 CRIT_PROTOCOL support 2018-01-15 20:29:26 +01:00
nm-fake-platform.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-linux-platform.c platform: support creating non-persistant TUN/TAP devices 2018-04-09 20:16:31 +02:00
nm-linux-platform.h platform: use NMDedupMultiIndex for routes in NMPCache 2017-07-05 18:37:38 +02:00
nm-netlink.c platform: move genl_ctrl_resolve to nm-netlink.c 2018-03-30 22:09:04 +02:00
nm-netlink.h platform: move genl_ctrl_resolve to nm-netlink.c 2018-03-30 22:09:04 +02:00
nm-platform-private.h platform: expose emit-signal function from platform 2017-07-05 18:37:39 +02:00
nm-platform-utils.c platform: add NM_IP_CONFIG_SOURCE_IP6LL source type 2018-04-04 14:57:07 +02:00
nm-platform-utils.h udev: drop libgudev in favor of libudev 2017-03-22 12:41:06 +01:00
nm-platform.c platform: support creating non-persistant TUN/TAP devices 2018-04-09 20:16:31 +02:00
nm-platform.h platform: support creating non-persistant TUN/TAP devices 2018-04-09 20:16:31 +02:00
nmp-netns.c platform/netns: don't try to overlay ro /sys with a rw one 2018-02-12 20:46:47 +01:00
nmp-netns.h core: cleanup implementation of nm_auto* macros to use nm_auto() 2017-10-11 08:43:40 +02:00
nmp-object.c platform: adding onlink gateway route for manual addresses 2018-04-04 14:57:07 +02:00
nmp-object.h platform: adding onlink gateway route for manual addresses 2018-04-04 14:57:07 +02:00