diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-08-15 15:09:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-15 19:52:19 -0700 |
commit | e3b99556975907530aeb9745e7b3945a0da48f17 (patch) | |
tree | 97f764e5c8587efcba64ad8d0edce9fee094e143 /include/linux/amba | |
parent | 04a0551c87363f100b04d28d7a15a632b70e18e7 (diff) |
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>
Diffstat (limited to 'include/linux/amba')
0 files changed, 0 insertions, 0 deletions