NetworkManager/src/platform
Thomas Haller 18d611d5d2 platform: detect TUN/TAP device in link_extract_type() independently of platform cache
link_extract_type() would call tun_get_properties() to determine whether
the link if a TAP or TUN device. The previous implementation would
receive the ifindex, and resolve the ifname via lookup in the platform
cache.
This means, the call on link_extract_type() will only succeed to detect
the TUN/TAP properties, if the libnl object is already in the cache.
Currently that is always the case and there is no problem.

It is desireable, that we can resolve the link type of an object without
consulting the platform cache first.
2015-05-01 14:25:59 -05:00
..
tests build/trivial: reorder and break lines in Makefile.am 2015-04-22 22:30:46 +02:00
wifi platform: rework link type detection for better fallback (bgo #743209) 2015-05-01 14:25:58 -05:00
Makefile.am platform: add minimal Makefile.am for convenience 2013-06-19 13:48:29 +02:00
nm-fake-platform.c platform: don't wait for udev before announcing links 2015-05-01 14:25:55 -05:00
nm-fake-platform.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-linux-platform.c platform: detect TUN/TAP device in link_extract_type() independently of platform cache 2015-05-01 14:25:59 -05:00
nm-linux-platform.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-platform.c platform: don't wait for udev before announcing links 2015-05-01 14:25:55 -05:00
nm-platform.h platform: don't wait for udev before announcing links 2015-05-01 14:25:55 -05:00