Home
last modified time | relevance | path

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

/external/autotest/client/deps/fakemodem/src/
Dfakenet.c45 if ((err = ioctl (fd, TUNSETIFF, (void *) &ifr)) < 0) { in tun_alloc()
/external/android-clat/
Dtun.c59 if( (err = ioctl(fd, TUNSETIFF, (void *) &ifr)) < 0 ){ in tun_alloc()
/external/iproute2/ip/
Diptuntap.c62 if (ioctl(fd, TUNSETIFF, ifr)) { in tap_add_ioctl()
93 if (ioctl(fd, TUNSETIFF, ifr)) { in tap_del_ioctl()
/external/iproute2/include/linux/
Dif_tun.h33 #define TUNSETIFF _IOW('T', 202, int) macro
/external/kernel-headers/original/uapi/linux/
Dif_tun.h33 #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/ipsec-tools/
Dmain.c118 if (ioctl(tun, TUNSETIFF, &ifr)) { in android_hook()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py112 ifs = fcntl.ioctl(fd, pyiftun.TUNSETIFF,
/external/autotest/client/virt/
Dvirt_utils.py26 TUNSETIFF = 0x400454ca variable
3222 r = fcntl.ioctl(tapfd, TUNSETIFF, ifr)