Home
last modified time | relevance | path

Searched refs:IFF_TUN (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Dif_tun.h27 #define TUN_TUN_DEV IFF_TUN
64 #define IFF_TUN 0x0001 macro
/Linux-v4.19/Documentation/networking/
Dtuntap.txt85 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
90 ifr.ifr_flags = IFF_TUN;
133 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
Dphonet.txt65 requires IFF_TUN mode, _without_ the IFF_NO_PI flag. In this case,
/Linux-v4.19/drivers/net/
Dtun.c1364 case IFF_TUN: in tun_net_init()
1842 case IFF_TUN: in tun_get_user()
2452 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
2520 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff()
2569 if (ifr->ifr_flags & IFF_TUN) { in tun_set_iff()
2571 flags |= IFF_TUN; in tun_set_iff()
2855 return put_user(IFF_TUN | IFF_TAP | TUN_FEATURES, in __tun_chr_ioctl()
3326 case IFF_TUN: in tun_get_drvinfo()