From: Mark McLoughlin Date: Fri, 15 Aug 2008 22:09:56 +0000 (-0700) Subject: tun: TUNGETIFF interface to query name and flags X-Git-Tag: v2.6.27-rc4~39^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b99556975907530aeb9745e7b3945a0da48f17;p=pandora-kernel.git tun: TUNGETIFF interface to query name and flags Add a TUNGETIFF interface so that userspace can query a tun/tap descriptor for its name and flags. This is needed because it is common for one app to create a tap interface, exec another app and pass it the file descriptor for the interface. Without TUNGETIFF the spawned app has no way of detecting wheter the interface has e.g. IFF_VNET_HDR set. Signed-off-by: Mark McLoughlin Acked-by: Max Krasnyansky Signed-off-by: David S. Miller --- Reading git-diff-tree failed