Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dif_tun.h26 #define TUN_TUN_DEV IFF_TUN
61 #define IFF_TUN 0x0001 macro
/linux-4.4.14/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.4.14/drivers/net/
Dtun.c996 case IFF_TUN: in tun_net_init()
1194 case IFF_TUN: in tun_get_user()
1562 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
1621 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff()
1663 if (ifr->ifr_flags & IFF_TUN) { in tun_set_iff()
1665 flags |= IFF_TUN; in tun_set_iff()
1902 return put_user(IFF_TUN | IFF_TAP | TUN_FEATURES, in __tun_chr_ioctl()
2323 case IFF_TUN: in tun_get_drvinfo()