Home
last modified time | relevance | path

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

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsockios.h43 #define SIOCGIFINDEX 0x8933 macro
44 #define SIOGIFINDEX SIOCGIFINDEX
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsockios.h66 #define SIOCGIFINDEX 0x8933 macro
67 #define SIOGIFINDEX SIOCGIFINDEX
/kernel/linux/linux-5.10/include/uapi/linux/
Dsockios.h85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro
86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dioctl.h107 #define SIOCGIFINDEX 0x8933 macro
108 #define SIOGIFINDEX SIOCGIFINDEX
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_010.cpp83 ret = ioctl(fd, SIOCGIFINDEX, &ifr); in IfName2Index()
134 ret = ioctl(sfd, SIOCGIFINDEX, &ifr); in IoctlTestInternal()
/kernel/linux/linux-5.10/net/core/
Ddev_ioctl.c115 case SIOCGIFINDEX: in dev_ifsioc_locked()
403 case SIOCGIFINDEX: in dev_ioctl()
/kernel/linux/common_modules/newip/examples/
Dnip_lib.c37 if ((ioctl(fd, SIOCGIFINDEX, &ifr)) < 0) { in nip_get_ifindex()
/kernel/uniproton/src/net/lwip-2.1/src/
Dsockets.c719 case SIOCGIFINDEX: in OsLwipIoctlImpl()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsockets.c1537 case SIOCGIFINDEX:
1662 case SIOCGIFINDEX:
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dsockets_porting.c754 case SIOCGIFINDEX: in lwip_ioctl_impl()
/kernel/linux/linux-5.10/Documentation/networking/
Dpacket_mmap.rst159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr);
658 err = ioctl(fd, SIOCGIFINDEX, &ifr);
660 perror("SIOCGIFINDEX");
Dcan.rst279 ioctl(s, SIOCGIFINDEX, &ifr);
346 ioctl(s, SIOCGIFINDEX, &ifr);
727 ioctl(s, SIOCGIFINDEX, &ifr);
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_user.c174 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dnettest.c301 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
/kernel/linux/linux-5.10/net/
Dsocket.c3195 case SIOCGIFINDEX: in compat_ifreq_ioctl()
3324 case SIOCGIFINDEX: in compat_sock_ioctl_trans()