Home
last modified time | relevance | path

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

/linux-6.12.1/tools/include/uapi/linux/
Dif_tun.h34 #define TUNSETIFF _IOW('T', 202, int) macro
/linux-6.12.1/include/uapi/linux/
Dif_tun.h34 #define TUNSETIFF _IOW('T', 202, int) macro
/linux-6.12.1/Documentation/networking/
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-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dlwt_helpers.h53 err = ioctl(fd, TUNSETIFF, &ifr); in open_tuntap()
Dflow_dissector.c462 ret = ioctl(fd, TUNSETIFF, &ifr); in create_tap()
Dtc_redirect.c1099 err = ioctl(fd, TUNSETIFF, &ifr); in tun_open()
/linux-6.12.1/tools/testing/selftests/net/
Dtun.c57 err = ioctl(fd, TUNSETIFF, (void *) &ifr); in tun_alloc()
Dtap.c216 if (ioctl(fd, TUNSETIFF, &ifr, sizeof(ifr)) < 0) in opentap()
/linux-6.12.1/arch/um/os-Linux/drivers/
Dtuntap_user.c150 if (ioctl(pri->fd, TUNSETIFF, &ifr) < 0) { in tuntap_open()
/linux-6.12.1/arch/xtensa/platforms/iss/
Dnetwork.c175 err = simc_ioctl(fd, TUNSETIFF, &ifr); in tuntap_open()
/linux-6.12.1/tools/virtio/
Dvhost_net_test.c77 e = ioctl(fd, TUNSETIFF, &ifr); in tun_alloc()
/linux-6.12.1/arch/um/drivers/
Dvector_user.c149 err = ioctl(fd, TUNSETIFF, (void *) &ifr); in create_tap_fd()
/linux-6.12.1/drivers/net/
Dtun.c3099 if (cmd == TUNSETIFF || cmd == TUNSETQUEUE || in __tun_chr_ioctl()
3124 if (cmd == TUNSETIFF) { in __tun_chr_ioctl()
3426 case TUNSETIFF: in tun_chr_compat_ioctl()
Dtap.c1023 case TUNSETIFF: in tap_ioctl()