Searched refs:SIOCGIFINDEX (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | sockios.h | 85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro 86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
|
/linux-6.1.9/net/core/ |
D | dev_ioctl.c | 166 case SIOCGIFINDEX: in dev_ifsioc_locked() 512 case SIOCGIFINDEX: in dev_ioctl()
|
/linux-6.1.9/Documentation/networking/ |
D | packet_mmap.rst | 159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr); 657 err = ioctl(fd, SIOCGIFINDEX, &ifr); 659 perror("SIOCGIFINDEX");
|
D | can.rst | 312 ioctl(s, SIOCGIFINDEX, &ifr); 379 ioctl(s, SIOCGIFINDEX, &ifr); 762 ioctl(s, SIOCGIFINDEX, &ifr);
|
/linux-6.1.9/arch/um/drivers/ |
D | vector_user.c | 175 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | nettest.c | 356 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
|
/linux-6.1.9/net/ |
D | socket.c | 3366 case SIOCGIFINDEX: in compat_sock_ioctl_trans()
|