Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dif_tun.h26 #define TUN_TUN_DEV IFF_TUN
55 #define IFF_TUN 0x0001 macro
/linux-4.1.27/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-4.1.27/drivers/net/
Dtun.c940 case IFF_TUN: in tun_net_init()
1140 case IFF_TUN: in tun_get_user()
1517 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
1576 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff()
1618 if (ifr->ifr_flags & IFF_TUN) { in tun_set_iff()
1620 flags |= IFF_TUN; in tun_set_iff()
1856 return put_user(IFF_TUN | IFF_TAP | TUN_FEATURES, in __tun_chr_ioctl()
2273 case IFF_TUN: in tun_get_drvinfo()