Searched refs:IFF_TUN (Results 1 – 6 of 6) sorted by relevance
27 #define TUN_TUN_DEV IFF_TUN66 #define IFF_TUN 0x0001 macro
103 /* Flags: IFF_TUN - TUN device (no Ethernet headers)108 ifr.ifr_flags = IFF_TUN;157 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
70 requires IFF_TUN mode, _without_ the IFF_NO_PI flag. In this case,
1381 case IFF_TUN: in tun_net_initialize()1867 case IFF_TUN: in tun_get_user()2669 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()2737 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff()2786 if (ifr->ifr_flags & IFF_TUN) { in tun_set_iff()2788 flags |= IFF_TUN; in tun_set_iff()3077 return put_user(IFF_TUN | IFF_TAP | IFF_NO_CARRIER | in __tun_chr_ioctl()3565 case IFF_TUN: in tun_get_drvinfo()
948 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
Completed in 19 milliseconds