/external/strace/xlat/ |
tun_device_types.h | 6 #if defined(IFF_TUN) || (defined(HAVE_DECL_IFF_TUN) && HAVE_DECL_IFF_TUN) 8 static_assert((IFF_TUN) == (1), "IFF_TUN != 1"); 11 # define IFF_TUN 1 31 [IFF_TUN] = XLAT(IFF_TUN),
|
/external/toybox/toys/net/ |
tunctl.c | 45 ifr->ifr_flags = ((toys.optflags&FLAG_T) ? IFF_TUN : IFF_TAP)|IFF_NO_PI;
|
/external/iproute2/include/uapi/linux/ |
if_tun.h | 26 /* TUN device type flags: deprecated. Use IFF_TUN/IFF_TAP instead. */ 27 #define TUN_TUN_DEV IFF_TUN 62 #define IFF_TUN 0x0001
|
/external/android-clat/ |
tun.c | 54 ifr.ifr_flags = IFF_TUN;
|
/bionic/libc/kernel/uapi/linux/ |
if_tun.h | 25 #define TUN_TUN_DEV IFF_TUN 55 #define IFF_TUN 0x0001
|
/external/autotest/client/deps/lansim/src/py/ |
tuntap_unittest.py | 30 tun = tuntap.TunTap(tuntap.IFF_TUN, name="faketun%d") 31 self.assertEqual(tun.mode, tuntap.IFF_TUN)
|
tuntap.py | 16 from lansim.pyiftun import IFF_TAP, IFF_TUN 77 IFF_TUN: "tun%d", 82 def __init__(self, mode=pyiftun.IFF_TUN, name=None, tundev='/dev/net/tun'): 87 or TUN (IFF_TUN) interface and some related constant flags found on
|
/external/kernel-headers/original/uapi/linux/ |
if_tun.h | 26 /* TUN device type flags: deprecated. Use IFF_TUN/IFF_TAP instead. */ 27 #define TUN_TUN_DEV IFF_TUN 65 #define IFF_TUN 0x0001
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
ioctl03.c | 67 {IFF_TUN, "TUN"},
|
/external/autotest/client/deps/lansim/src/ |
wrapper_linux_if_tun.c | 33 /* TUN device type flags: deprecated. Use IFF_TUN/IFF_TAP instead. */ 63 PyModule_AddIntMacro(m, IFF_TUN);
|
/external/iproute2/ip/ |
iptuntap.c | 125 ifr->ifr_flags |= IFF_TUN; 127 if (ifr->ifr_flags & IFF_TUN) { 260 if (flags & IFF_TUN) 275 flags &= ~(IFF_TUN|IFF_TAP|IFF_NO_PI|IFF_ONE_QUEUE|IFF_VNET_HDR);
|
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 67 ifr.ifr_flags = IFF_TUN | IFF_NO_PI;
|
/external/honggfuzz/examples/linux_kernel_ip/ |
tun.c | 74 ifr.ifr_flags = IFF_TUN | IFF_NO_PI | IFF_NOFILTER;
|
/external/ipsec-tools/ |
main.c | 105 struct ifreq ifr = {.ifr_flags = IFF_TUN};
|
/external/openssh/openbsd-compat/ |
port-tun.c | 77 ifr.ifr_flags = IFF_TUN;
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
zerrors_linux_sparc64.go | 536 IFF_TUN = 0x1 [all...] |
zerrors_linux_386.go | 668 IFF_TUN = 0x1 [all...] |
zerrors_linux_amd64.go | 668 IFF_TUN = 0x1 [all...] |
zerrors_linux_arm.go | 667 IFF_TUN = 0x1 [all...] |
zerrors_linux_arm64.go | 670 IFF_TUN = 0x1 [all...] |
zerrors_linux_mips.go | 667 IFF_TUN = 0x1 [all...] |
zerrors_linux_mips64.go | 667 IFF_TUN = 0x1 [all...] |
zerrors_linux_mips64le.go | 667 IFF_TUN = 0x1 [all...] |
zerrors_linux_mipsle.go | 667 IFF_TUN = 0x1 [all...] |
zerrors_linux_ppc64.go | 667 IFF_TUN = 0x1 [all...] |