Searched refs:TUN_TYPE_MASK (Results 1 – 3 of 3) sorted by relevance
29 #define TUN_TYPE_MASK 0x000f macro
1375 switch (tun->flags & TUN_TYPE_MASK) { 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()1877 switch (tun->flags & TUN_TYPE_MASK) { in tun_get_user()2374 if (nla_put_u8(skb, IFLA_TUN_TYPE, tun->flags & TUN_TYPE_MASK)) in tun_fill_info()2762 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff()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()[all …]