[TUNTAP]: Allow setting the linktype of the tap device from userspace
authorMike Kershaw <dragorn@kismetwireless.net>
Fri, 2 Sep 2005 00:40:05 +0000 (17:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2005 00:40:05 +0000 (17:40 -0700)
commitff4cc3ac93e1d0369928fd60ec1fe82417afc576
treec8f9380cfaedfd9f63f8e2eb0fff2d660aa81bab
parent80ac2912f846c01d702774bb6aa7100ec71e88b9
[TUNTAP]: Allow setting the linktype of the tap device from userspace

Currently tun/tap only supports the EN10MB ARP type.  For use with
wireless and other networking types it should be possible to set the
ARP type via an ioctl.

Patch v2: Included check that the tap interface is down before changing the
link type out from underneath it

Signed-off-by: Mike Kershaw <dragorn@kismetwireless.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
include/linux/if_tun.h
This page took 0.028831 seconds and 5 git commands to generate.