Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dif_tun.h34 #define TUNSETIFF _IOW('T', 202, int) macro
/linux/Documentation/networking/
H A Dtuntap.rst112 if( (err = ioctl(fd, TUNSETIFF, (void *) &ifr)) < 0 ){
135 queues, TUNSETIFF with the same device name must be called many times with
169 err = ioctl(fd, TUNSETIFF, (void *)&ifr);
187 enabled by default after it was created through TUNSETIFF.
/linux/include/uapi/linux/
H A Dif_tun.h34 #define TUNSETIFF _IOW('T', 202, int) macro
/linux/tools/testing/selftests/net/
H A Dskf_net_off.c70 ret = ioctl(fd, TUNSETIFF, &ifr); in tun_open()
H A Dtun.c162 err = ioctl(fd, TUNSETIFF, (void *)&ifr); in tun_alloc()
190 if (ioctl(fd, TUNSETIFF, (void *)&ifr) < 0) { in tun_open()
H A Dtap.c210 if (ioctl(fd, TUNSETIFF, &ifr, sizeof(ifr)) < 0) in opentap()
/linux/tools/virtio/
H A Dvhost_net_test.c77 e = ioctl(fd, TUNSETIFF, &ifr); in tun_alloc()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c579 ret = ioctl(fd, TUNSETIFF, &ifr); in create_tap()
H A Dtc_redirect.c1100 err = ioctl(fd, TUNSETIFF, &ifr); in tun_open()
/linux/arch/um/drivers/
H A Dvector_user.c149 err = ioctl(fd, TUNSETIFF, (void *) &ifr); in create_tap_fd()
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c586 err = ioctl(fd, TUNSETIFF, &ifr); in open_tuntap()
/linux/drivers/net/
H A Dtun.c3061 if (cmd == TUNSETIFF || cmd == TUNSETQUEUE || in __tun_chr_ioctl()
3086 if (cmd == TUNSETIFF) { in __tun_chr_ioctl()
3350 case TUNSETIFF: in tun_chr_compat_ioctl()
H A Dtap.c931 case TUNSETIFF: in tap_ioctl()