Searched refs:SIOCGIFINDEX (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | sockios.h | 43 #define SIOCGIFINDEX 0x8933 macro 44 #define SIOGIFINDEX SIOCGIFINDEX
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | sockios.h | 66 #define SIOCGIFINDEX 0x8933 macro 67 #define SIOGIFINDEX SIOCGIFINDEX
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | sockios.h | 85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro 86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | ioctl.h | 107 #define SIOCGIFINDEX 0x8933 macro 108 #define SIOGIFINDEX SIOCGIFINDEX
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_010.cpp | 83 ret = ioctl(fd, SIOCGIFINDEX, &ifr); in IfName2Index() 134 ret = ioctl(sfd, SIOCGIFINDEX, &ifr); in IoctlTestInternal()
|
/kernel/linux/linux-5.10/net/core/ |
D | dev_ioctl.c | 115 case SIOCGIFINDEX: in dev_ifsioc_locked() 403 case SIOCGIFINDEX: in dev_ioctl()
|
/kernel/linux/common_modules/newip/examples/ |
D | nip_lib.c | 37 if ((ioctl(fd, SIOCGIFINDEX, &ifr)) < 0) { in nip_get_ifindex()
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | sockets.c | 719 case SIOCGIFINDEX: in OsLwipIoctlImpl()
|
/kernel/liteos_a/net/lwip-2.1/porting/src/ |
D | sockets.c | 1537 case SIOCGIFINDEX: 1662 case SIOCGIFINDEX:
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
D | sockets_porting.c | 754 case SIOCGIFINDEX: in lwip_ioctl_impl()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | packet_mmap.rst | 159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr); 658 err = ioctl(fd, SIOCGIFINDEX, &ifr); 660 perror("SIOCGIFINDEX");
|
D | can.rst | 279 ioctl(s, SIOCGIFINDEX, &ifr); 346 ioctl(s, SIOCGIFINDEX, &ifr); 727 ioctl(s, SIOCGIFINDEX, &ifr);
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | vector_user.c | 174 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | nettest.c | 301 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 3195 case SIOCGIFINDEX: in compat_ifreq_ioctl() 3324 case SIOCGIFINDEX: in compat_sock_ioctl_trans()
|