Home
last modified time | relevance | path

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

/linux-6.12.1/tools/include/uapi/linux/
Dif_tun.h29 #define TUN_TYPE_MASK 0x000f macro
/linux-6.12.1/include/uapi/linux/
Dif_tun.h29 #define TUN_TYPE_MASK 0x000f macro
/linux-6.12.1/drivers/net/
Dtun.c1375 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 …]