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

/linux-master/tools/include/uapi/linux/
H A Dif_tun.h79 #define IFF_PERSIST 0x0800 macro
/linux-master/include/uapi/linux/
H A Dif_tun.h81 #define IFF_PERSIST 0x0800 macro
/linux-master/drivers/net/
H A Dtun.c683 if (!(tun->flags & IFF_PERSIST) &&
750 if (tun->flags & IFF_PERSIST)
2383 if (nla_put_u8(skb, IFLA_TUN_PERSIST, !!(tun->flags & IFF_PERSIST)))
2691 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP);
3178 if (arg && !(tun->flags & IFF_PERSIST)) {
3179 tun->flags |= IFF_PERSIST;
3183 if (!arg && (tun->flags & IFF_PERSIST)) {
3184 tun->flags &= ~IFF_PERSIST;

Completed in 178 milliseconds