Home
last modified time | relevance | path

Searched refs:TUN_TYPE_MASK (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/
Dif_tun.h29 #define TUN_TYPE_MASK 0x000f macro
/linux-2.6.39/drivers/net/
Dtun.c478 switch (tun->flags & TUN_TYPE_MASK) { in tun_net_init()
604 if ((tun->flags & TUN_TYPE_MASK) == TUN_TAP_DEV) { in tun_get_user()
634 switch (tun->flags & TUN_TYPE_MASK) { in tun_get_user()
1325 if ((tun->flags & TUN_TYPE_MASK) != TUN_TAP_DEV) in __tun_chr_ioctl()
1383 if ((tun->flags & TUN_TYPE_MASK) != TUN_TAP_DEV) in __tun_chr_ioctl()
1395 if ((tun->flags & TUN_TYPE_MASK) != TUN_TAP_DEV) in __tun_chr_ioctl()
1570 switch (tun->flags & TUN_TYPE_MASK) { in tun_get_drvinfo()