Home
last modified time | relevance | path

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

/linux-6.12.1/tools/include/uapi/linux/
Dif_tun.h79 #define IFF_PERSIST 0x0800 macro
/linux-6.12.1/include/uapi/linux/
Dif_tun.h81 #define IFF_PERSIST 0x0800 macro
/linux-6.12.1/drivers/net/
Dtun.c683 if (!(tun->flags & IFF_PERSIST) && in __tun_detach()
750 if (tun->flags & IFF_PERSIST) in tun_detach_all()
2388 if (nla_put_u8(skb, IFLA_TUN_PERSIST, !!(tun->flags & IFF_PERSIST))) in tun_fill_info()
2702 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
3189 if (arg && !(tun->flags & IFF_PERSIST)) { in __tun_chr_ioctl()
3190 tun->flags |= IFF_PERSIST; in __tun_chr_ioctl()
3194 if (!arg && (tun->flags & IFF_PERSIST)) { in __tun_chr_ioctl()
3195 tun->flags &= ~IFF_PERSIST; in __tun_chr_ioctl()