Searched refs:SIOCGIFINDEX (Results 1 – 9 of 9) sorted by relevance
/linux/include/uapi/linux/ |
H A D | sockios.h | 85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro 86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
|
/linux/net/core/ |
H A D | dev_ioctl.c | 167 case SIOCGIFINDEX: in dev_ifsioc_locked() 707 case SIOCGIFINDEX: in dev_ioctl()
|
/linux/tools/virtio/ |
H A D | vhost_net_test.c | 110 assert(ioctl(dev->sock, SIOCGIFINDEX, &ifr) >= 0); in vdev_create_socket()
|
/linux/Documentation/networking/ |
H A D | packet_mmap.rst | 159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr); 658 err = ioctl(fd, SIOCGIFINDEX, &ifr); 660 perror("SIOCGIFINDEX");
|
H A D | can.rst | 312 ioctl(s, SIOCGIFINDEX, &ifr); 379 ioctl(s, SIOCGIFINDEX, &ifr); 764 ioctl(s, SIOCGIFINDEX, &ifr);
|
/linux/arch/um/drivers/ |
H A D | vector_user.c | 178 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
|
/linux/Documentation/admin-guide/ |
H A D | workload-tracing.rst | 268 * SIOCGIFCONF, SIOCGIFINDEX, SIOCGIFNAME, SIOCGIFFLAGS
|
/linux/tools/testing/selftests/net/ |
H A D | nettest.c | 359 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
|
/linux/net/ |
H A D | socket.c | 3493 case SIOCGIFINDEX: in compat_sock_ioctl_trans()
|