Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diptuntap.c123 ifr->ifr_flags |= IFF_TUN; in parse_args()
125 if (ifr->ifr_flags & IFF_TUN) { in parse_args()
254 if (flags & IFF_TUN) in print_flags()
269 flags &= ~(IFF_TUN|IFF_TAP|IFF_NO_PI|IFF_ONE_QUEUE|IFF_VNET_HDR); in print_flags()
/external/kernel-headers/original/uapi/linux/
Dif_tun.h26 #define TUN_TUN_DEV IFF_TUN
61 #define IFF_TUN 0x0001 macro
/external/iproute2/include/linux/
Dif_tun.h26 #define TUN_TUN_DEV IFF_TUN
61 #define IFF_TUN 0x0001 macro
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py16 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'):
Dtuntap_unittest.py30 tun = tuntap.TunTap(tuntap.IFF_TUN, name="faketun%d")
31 self.assertEqual(tun.mode, tuntap.IFF_TUN)
/external/android-clat/
Dtun.c53 ifr.ifr_flags = IFF_TUN; in tun_alloc()
/external/autotest/client/deps/lansim/src/
Dwrapper_linux_if_tun.c63 PyModule_AddIntMacro(m, IFF_TUN); in _init_linux_if_tun_h()
/external/ipsec-tools/
Dmain.c107 struct ifreq ifr = {.ifr_flags = IFF_TUN}; in android_hook()