Searched refs:TUNSETIFF (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/include/uapi/linux/ |
| H A D | if_tun.h | 34 #define TUNSETIFF _IOW('T', 202, int) macro
|
| /linux/Documentation/networking/ |
| H A D | tuntap.rst | 112 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 D | if_tun.h | 34 #define TUNSETIFF _IOW('T', 202, int) macro
|
| /linux/tools/testing/selftests/net/ |
| H A D | skf_net_off.c | 70 ret = ioctl(fd, TUNSETIFF, &ifr); in tun_open()
|
| H A D | tun.c | 162 err = ioctl(fd, TUNSETIFF, (void *)&ifr); in tun_alloc() 190 if (ioctl(fd, TUNSETIFF, (void *)&ifr) < 0) { in tun_open()
|
| H A D | tap.c | 210 if (ioctl(fd, TUNSETIFF, &ifr, sizeof(ifr)) < 0) in opentap()
|
| /linux/tools/virtio/ |
| H A D | vhost_net_test.c | 77 e = ioctl(fd, TUNSETIFF, &ifr); in tun_alloc()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | flow_dissector.c | 579 ret = ioctl(fd, TUNSETIFF, &ifr); in create_tap()
|
| H A D | tc_redirect.c | 1100 err = ioctl(fd, TUNSETIFF, &ifr); in tun_open()
|
| /linux/arch/um/drivers/ |
| H A D | vector_user.c | 149 err = ioctl(fd, TUNSETIFF, (void *) &ifr); in create_tap_fd()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | network_helpers.c | 586 err = ioctl(fd, TUNSETIFF, &ifr); in open_tuntap()
|
| /linux/drivers/net/ |
| H A D | tun.c | 3061 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 D | tap.c | 931 case TUNSETIFF: in tap_ioctl()
|