Home
last modified time | relevance | path

Searched refs:TUNSETIFF (Results 1 – 13 of 13) sorted by relevance

/external/toybox/toys/net/
Dtunctl.c47 xioctl(fd, TUNSETIFF, toybuf);
/external/autotest/client/deps/fakemodem/src/
Dfakenet.c45 if ((err = ioctl (fd, TUNSETIFF, (void *) &ifr)) < 0) { in tun_alloc()
/external/ltp/testcases/kernel/uevents/
Duevent02.c36 SAFE_IOCTL(fd, TUNSETIFF, (void*)&ifr); in generate_tun_uevents()
/external/iproute2/include/uapi/linux/
Dif_tun.h34 #define TUNSETIFF _IOW('T', 202, int) macro
/external/kernel-headers/original/uapi/linux/
Dif_tun.h34 #define TUNSETIFF _IOW('T', 202, int) macro
/external/autotest/client/deps/lansim/src/
Dwrapper_linux_if_tun.c41 PyModule_AddIntMacro(m, TUNSETIFF); in _init_linux_if_tun_h()
/external/iproute2/ip/
Diptuntap.c63 if (ioctl(fd, TUNSETIFF, ifr)) { in tap_add_ioctl()
94 if (ioctl(fd, TUNSETIFF, ifr)) { in tap_del_ioctl()
/external/crosvm/net_sys/src/
Dlib.rs41 ioctl_iow_nr!(TUNSETIFF, TUNTAP, 202, ::std::os::raw::c_int);
/external/ipsec-tools/
Dmain.c116 if (ioctl(tun, TUNSETIFF, &ifr)) { in android_hook()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py112 ifs = fcntl.ioctl(fd, pyiftun.TUNSETIFF,
/external/openssh/openbsd-compat/
Dport-net.c177 if (ioctl(fd, TUNSETIFF, &ifr) == -1) { in sys_tun_open()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c400 ret = ioctl(fd, TUNSETIFF, &ifr); in create_tap()
/external/crosvm/net_util/src/
Dlib.rs212 let ret = unsafe { ioctl_with_mut_ref(&tuntap, net_sys::TUNSETIFF(), ifreq) }; in create_tap_with_ifreq()