Lines Matching refs:IFF_TAP
1390 case IFF_TAP: in tun_net_initialize()
1582 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in tun_can_build_skb()
1794 if ((tun->flags & TUN_TYPE_MASK) == IFF_TAP) { in tun_get_user()
1899 case IFF_TAP: in tun_get_user()
2702 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
2762 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff()
2772 else if ((ifr->ifr_flags & IFF_TAP) && dev->netdev_ops == &tap_netdev_ops) in tun_set_iff()
2823 } else if (ifr->ifr_flags & IFF_TAP) { in tun_set_iff()
2825 flags |= IFF_TAP; in tun_set_iff()
3111 return put_user(IFF_TUN | IFF_TAP | IFF_NO_CARRIER | in __tun_chr_ioctl()
3265 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3349 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3361 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3369 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3611 case IFF_TAP: in tun_get_drvinfo()