Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dsockios.h85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro
86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
/linux-6.1.9/net/core/
Ddev_ioctl.c166 case SIOCGIFINDEX: in dev_ifsioc_locked()
512 case SIOCGIFINDEX: in dev_ioctl()
/linux-6.1.9/Documentation/networking/
Dpacket_mmap.rst159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr);
657 err = ioctl(fd, SIOCGIFINDEX, &ifr);
659 perror("SIOCGIFINDEX");
Dcan.rst312 ioctl(s, SIOCGIFINDEX, &ifr);
379 ioctl(s, SIOCGIFINDEX, &ifr);
762 ioctl(s, SIOCGIFINDEX, &ifr);
/linux-6.1.9/arch/um/drivers/
Dvector_user.c175 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
/linux-6.1.9/tools/testing/selftests/net/
Dnettest.c356 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
/linux-6.1.9/net/
Dsocket.c3366 case SIOCGIFINDEX: in compat_sock_ioctl_trans()