Searched refs:TUN_TYPE_MASK (Results 1 – 2 of 2) sorted by relevance
29 #define TUN_TYPE_MASK 0x000f macro
478 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()