Searched refs:TUNSETIFF (Results 1 – 13 of 13) sorted by relevance
/external/toybox/toys/net/ |
D | tunctl.c | 47 xioctl(fd, TUNSETIFF, toybuf);
|
/external/autotest/client/deps/fakemodem/src/ |
D | fakenet.c | 45 if ((err = ioctl (fd, TUNSETIFF, (void *) &ifr)) < 0) { in tun_alloc()
|
/external/ltp/testcases/kernel/uevents/ |
D | uevent02.c | 36 SAFE_IOCTL(fd, TUNSETIFF, (void*)&ifr); in generate_tun_uevents()
|
/external/iproute2/include/uapi/linux/ |
D | if_tun.h | 34 #define TUNSETIFF _IOW('T', 202, int) macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if_tun.h | 34 #define TUNSETIFF _IOW('T', 202, int) macro
|
/external/autotest/client/deps/lansim/src/ |
D | wrapper_linux_if_tun.c | 41 PyModule_AddIntMacro(m, TUNSETIFF); in _init_linux_if_tun_h()
|
/external/iproute2/ip/ |
D | iptuntap.c | 63 if (ioctl(fd, TUNSETIFF, ifr)) { in tap_add_ioctl() 94 if (ioctl(fd, TUNSETIFF, ifr)) { in tap_del_ioctl()
|
/external/crosvm/net_sys/src/ |
D | lib.rs | 41 ioctl_iow_nr!(TUNSETIFF, TUNTAP, 202, ::std::os::raw::c_int);
|
/external/ipsec-tools/ |
D | main.c | 116 if (ioctl(tun, TUNSETIFF, &ifr)) { in android_hook()
|
/external/autotest/client/deps/lansim/src/py/ |
D | tuntap.py | 112 ifs = fcntl.ioctl(fd, pyiftun.TUNSETIFF,
|
/external/openssh/openbsd-compat/ |
D | port-net.c | 177 if (ioctl(fd, TUNSETIFF, &ifr) == -1) { in sys_tun_open()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 400 ret = ioctl(fd, TUNSETIFF, &ifr); in create_tap()
|
/external/crosvm/net_util/src/ |
D | lib.rs | 212 let ret = unsafe { ioctl_with_mut_ref(&tuntap, net_sys::TUNSETIFF(), ifreq) }; in create_tap_with_ifreq()
|