Searched refs:TUNSETIFF (Results 1 – 14 of 14) sorted by relevance
/linux/tools/include/uapi/linux/ |
H A D | if_tun.h | 34 #define TUNSETIFF _IOW('T', 202, int) macro 65 /* TUNSETIFF ifr flags */
|
/linux/include/uapi/linux/ |
H A D | if_tun.h | 34 #define TUNSETIFF _IOW('T', 202, int) macro 65 /* TUNSETIFF ifr flags */ 70 /* Used in TUNSETIFF to bring up tun/tap without carrier */
|
/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/tools/testing/selftests/net/ |
H A D | tun.c | 57 err = ioctl(fd, TUNSETIFF, (void *) &ifr); in tun_alloc() 59 fprintf(stderr, "can't TUNSETIFF: %s\n", strerror(errno)); in tun_alloc()
|
H A D | skf_net_off.c | 70 ret = ioctl(fd, TUNSETIFF, &ifr); in tun_open() 72 error(1, ret, "ioctl TUNSETIFF"); in tun_open()
|
H A D | tap.c | 216 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() 79 perror("ioctl[TUNSETIFF]"); in tun_alloc()
|
/linux/arch/xtensa/platforms/iss/ |
H A D | network.c | 175 err = simc_ioctl(fd, TUNSETIFF, &ifr); in tuntap_open()
|
/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() 1101 if (!ASSERT_OK(err, "ioctl TUNSETIFF")) 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 | 581 err = ioctl(fd, TUNSETIFF, &ifr); in open_tuntap() 582 if (!ASSERT_OK(err, "ioctl(TUNSETIFF)")) { in open_tuntap()
|
/linux/drivers/net/ |
H A D | tun.c | 3053 if (cmd == TUNSETIFF || cmd == TUNSETQUEUE || in __tun_chr_ioctl() 3063 * TUNSETIFF. in __tun_chr_ioctl() 3078 if (cmd == TUNSETIFF) { in __tun_chr_ioctl() 3342 case TUNSETIFF: in tun_chr_compat_ioctl()
|
H A D | tap.c | 931 case TUNSETIFF: in tap_ioctl()
|