Home
last modified time | relevance | path

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

/linux-6.12.1/tools/include/uapi/linux/
Dif_tun.h27 #define TUN_TUN_DEV IFF_TUN
66 #define IFF_TUN 0x0001 macro
/linux-6.12.1/include/uapi/linux/
Dif_tun.h27 #define TUN_TUN_DEV IFF_TUN
66 #define IFF_TUN 0x0001 macro
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dlwt_helpers.h49 ifr.ifr_flags = IFF_NO_PI | (need_mac ? IFF_TAP : IFF_TUN); in open_tuntap()
Dtc_redirect.c1095 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
/linux-6.12.1/Documentation/networking/
Dtuntap.rst103 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
108 ifr.ifr_flags = IFF_TUN;
157 /* Flags: IFF_TUN - TUN device (no Ethernet headers)
Dphonet.rst70 requires IFF_TUN mode, _without_ the IFF_NO_PI flag. In this case,
/linux-6.12.1/drivers/net/
Dtun.c1376 case IFF_TUN: in tun_net_initialize()
1878 case IFF_TUN: in tun_get_user()
2702 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
2770 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff()
2819 if (ifr->ifr_flags & IFF_TUN) { in tun_set_iff()
2821 flags |= IFF_TUN; in tun_set_iff()
3111 return put_user(IFF_TUN | IFF_TAP | IFF_NO_CARRIER | in __tun_chr_ioctl()
3608 case IFF_TUN: in tun_get_drvinfo()