Home
last modified time | relevance | path

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

/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
67 #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.c48 {IFF_TAP, "TAP"},
/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.py97 self.tap = tuntap.TunTap(tuntap.IFF_TAP, name=self._tap_name)
/external/rust/crates/nix/src/net/
Dif_.rs224 IFF_TAP as libc::c_int;
/external/autotest/client/site_tests/p2p_ConsumeFiles/
Dp2p_ConsumeFiles.py63 self._tap = tuntap.TunTap(tuntap.IFF_TAP, name='faketap')
/external/openssh/openbsd-compat/
Dport-net.c160 ifr.ifr_flags = IFF_TAP; in sys_tun_open()
/external/crosvm/net_util/src/
Dlib.rs290 ifreq.ifr_ifru.ifru_flags = (net_sys::IFF_TAP in new()
601 net_sys::IFF_TAP in if_flags()
/external/autotest/client/deps/lansim/
Dcontrol37 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap")
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c390 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()
/external/crosvm/devices/src/virtio/
Dnet.rs523 (net_sys::IFF_TAP, "IFF_TAP"), in validate_and_configure_tap()
/external/crosvm/net_sys/src/
Dif_tun.rs200 pub const IFF_TAP: ::std::os::raw::c_uint = 2; constant
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs1384 pub const IFF_TAP: ::c_int = 0x0002; constant
1390 pub const TUN_TAP_DEV: ::c_short = ::IFF_TAP as ::c_short;
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs1990 pub const IFF_TAP: ::c_int = 0x0002; constant
/external/rust/crates/nix/
DCHANGELOG.md520 - Added interface flags `IFF_NO_PI, IFF_TUN, IFF_TAP` on linux-like systems.
/external/rust/crates/libc/src/fuchsia/
Dmod.rs1644 pub const IFF_TAP: ::c_int = 0x0002; constant