Home
last modified time | relevance | path

Searched refs:IFF_TAP (Results 1 – 25 of 42) sorted by relevance

12

/external/strace/xlat/
Dtun_device_types.h13 #if defined(IFF_TAP) || (defined(HAVE_DECL_IFF_TAP) && HAVE_DECL_IFF_TAP)
15 static_assert((IFF_TAP) == (2), "IFF_TAP != 2");
18 # define IFF_TAP 2
32 [IFF_TAP] = XLAT(IFF_TAP),
Dtun_device_types.in3 IFF_TAP 2
/external/autotest/client/deps/lansim/src/py/
Dtuntap_unittest.py15 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap%d")
17 self.assertEqual(tap.mode, tuntap.IFF_TAP)
36 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap%d")
54 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap%d")
Dtuntap.py16 from lansim.pyiftun import IFF_TAP, IFF_TUN
78 IFF_TAP: "tap%d",
Dsimulator_unittest.py77 self._tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap")
142 self._tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap")
/external/iproute2/include/uapi/linux/
Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
63 #define IFF_TAP 0x0002 macro
/external/kernel-headers/original/uapi/linux/
Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
66 #define IFF_TAP 0x0002 macro
/external/iproute2/ip/
Diptuntap.c121 if (ifr->ifr_flags & IFF_TAP) { in parse_args()
131 ifr->ifr_flags |= IFF_TAP; in parse_args()
263 if (flags & IFF_TAP) in print_flags()
275 flags &= ~(IFF_TUN|IFF_TAP|IFF_NO_PI|IFF_ONE_QUEUE|IFF_VNET_HDR); in print_flags()
/external/toybox/toys/net/
Dtunctl.c45 ifr->ifr_flags = ((toys.optflags&FLAG_T) ? IFF_TUN : IFF_TAP)|IFF_NO_PI;
/external/autotest/client/deps/fakemodem/src/
Dfakenet.c41 ifr.ifr_flags = IFF_TAP; in tun_alloc()
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl03.c68 {IFF_TAP, "TAP"},
/external/syzkaller/sys/linux/
Dtun_arm64.const79 IFF_TAP = 2
Dtun_ppc64le.const79 IFF_TAP = 2
Dtun_arm.const79 IFF_TAP = 2
Dtun_amd64.const79 IFF_TAP = 2
Dtun_386.const79 IFF_TAP = 2
Dsocket_ppc64le.const117 IFF_TAP = 2
Dsocket_386.const117 IFF_TAP = 2
Dsocket_arm64.const117 IFF_TAP = 2
Dsocket_arm.const117 IFF_TAP = 2
Dsocket_amd64.const117 IFF_TAP = 2
/external/autotest/client/deps/lansim/src/
Dwrapper_linux_if_tun.c64 PyModule_AddIntMacro(m, IFF_TAP); in _init_linux_if_tun_h()
/external/autotest/client/cros/
Dp2p_utils.py96 self.tap = tuntap.TunTap(tuntap.IFF_TAP, name=self._tap_name)
/external/openssh/openbsd-compat/
Dport-tun.c74 ifr.ifr_flags = IFF_TAP; in sys_tun_open()
/external/autotest/client/site_tests/p2p_ConsumeFiles/
Dp2p_ConsumeFiles.py63 self._tap = tuntap.TunTap(tuntap.IFF_TAP, name='faketap')

12