Mark McLoughlin e3b9955697 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 <markmc@redhat.com>
Acked-by: Max Krasnyansky <maxk@qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-15 19:52:19 -07:00
..
2008-07-24 10:47:41 -07:00
2008-07-25 10:53:49 -07:00
2008-08-12 16:07:31 -07:00
2008-07-25 10:53:30 -07:00
2008-08-13 17:32:56 -07:00
2008-08-08 19:18:18 +01:00
2008-08-10 23:32:07 +02:00
2008-07-26 12:00:11 -07:00
2008-08-11 12:20:31 -07:00
2008-08-04 12:51:06 +09:00
2008-07-21 21:54:55 -07:00
2008-08-13 17:33:00 -07:00