Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/include/uapi/linux/
A Dif_tun.h79 #define IFF_PERSIST 0x0800 macro
/linux-6.3-rc2/include/uapi/linux/
A Dif_tun.h81 #define IFF_PERSIST 0x0800 macro
/linux-6.3-rc2/drivers/net/
A Dtun.c682 if (!(tun->flags & IFF_PERSIST) && in __tun_detach()
749 if (tun->flags & IFF_PERSIST) in tun_detach_all()
2368 if (nla_put_u8(skb, IFLA_TUN_PERSIST, !!(tun->flags & IFF_PERSIST))) in tun_fill_info()
2669 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
3153 if (arg && !(tun->flags & IFF_PERSIST)) { in __tun_chr_ioctl()
3154 tun->flags |= IFF_PERSIST; in __tun_chr_ioctl()
3158 if (!arg && (tun->flags & IFF_PERSIST)) { in __tun_chr_ioctl()
3159 tun->flags &= ~IFF_PERSIST; in __tun_chr_ioctl()

Completed in 10 milliseconds