Home
last modified time | relevance | path

Searched refs:SIOCGIFINDEX (Results 1 – 9 of 9) sorted by relevance

/linux/include/uapi/linux/
H A Dsockios.h85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro
86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
/linux/net/core/
H A Ddev_ioctl.c167 case SIOCGIFINDEX: in dev_ifsioc_locked()
707 case SIOCGIFINDEX: in dev_ioctl()
/linux/tools/virtio/
H A Dvhost_net_test.c110 assert(ioctl(dev->sock, SIOCGIFINDEX, &ifr) >= 0); in vdev_create_socket()
/linux/Documentation/networking/
H A Dpacket_mmap.rst159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr);
658 err = ioctl(fd, SIOCGIFINDEX, &ifr);
660 perror("SIOCGIFINDEX");
H A Dcan.rst312 ioctl(s, SIOCGIFINDEX, &ifr);
379 ioctl(s, SIOCGIFINDEX, &ifr);
764 ioctl(s, SIOCGIFINDEX, &ifr);
/linux/arch/um/drivers/
H A Dvector_user.c178 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
/linux/Documentation/admin-guide/
H A Dworkload-tracing.rst268 * SIOCGIFCONF, SIOCGIFINDEX, SIOCGIFNAME, SIOCGIFFLAGS
/linux/tools/testing/selftests/net/
H A Dnettest.c359 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
/linux/net/
H A Dsocket.c3493 case SIOCGIFINDEX: in compat_sock_ioctl_trans()