Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dsockios.h85 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro
86 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnet_iface_mock.cpp39 case SIOCGIFINDEX: in ioctl()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/
H A D0001-Fix-potential-string-truncation-in-strncpy.patch35 ret = ioctl(sd, SIOCGIFINDEX, &req);
37 perror("ioctl: SIOCGIFINDEX");
/openbmc/google-misc/subprojects/ncsid/src/
H A Dnet_iface.cpp43 int ret = ioctl(SIOCGIFINDEX, &ifr); in get_index()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0003-rarpd.c-bug-fix.patch260 if (ioctl(pset[0].fd, SIOCGIFINDEX, &ifr)) {
261 perror("ioctl(SIOCGIFINDEX)");
/openbmc/linux/net/core/
H A Ddev_ioctl.c167 case SIOCGIFINDEX: in dev_ifsioc_locked()
710 case SIOCGIFINDEX: in dev_ioctl()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0014-add-if_nameindex-from-musl.patch92 + if (ioctl(s, SIOCGIFINDEX, &conf.ifc_req[i]) < 0) {
/openbmc/qemu/net/can/
H A Dcan_socketcan.c215 if (ioctl(s, SIOCGIFINDEX, &ifr) < 0) { in can_host_socketcan_connect()
/openbmc/linux/Documentation/networking/
H A Dpacket_mmap.rst159 ioctl(this->socket, SIOCGIFINDEX, &s_ifr);
657 err = ioctl(fd, SIOCGIFINDEX, &ifr);
659 perror("SIOCGIFINDEX");
H A Dcan.rst312 ioctl(s, SIOCGIFINDEX, &ifr);
379 ioctl(s, SIOCGIFINDEX, &ifr);
762 ioctl(s, SIOCGIFINDEX, &ifr);
/openbmc/linux/arch/um/drivers/
H A Dvector_user.c175 if (ioctl(fd, SIOCGIFINDEX, (void *) &ifr) < 0) { in create_raw_fd()
/openbmc/linux/Documentation/admin-guide/
H A Dworkload-tracing.rst268 * SIOCGIFCONF, SIOCGIFINDEX, SIOCGIFNAME, SIOCGIFFLAGS
/openbmc/qemu/linux-user/
H A Dioctls.h363 IOCTL(SIOCGIFINDEX, IOC_W | IOC_R, MK_PTR(MK_STRUCT(STRUCT_int_ifreq))) in IOCTL()
/openbmc/linux/tools/testing/selftests/net/
H A Dnettest.c359 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
/openbmc/linux/net/
H A Dsocket.c3481 case SIOCGIFINDEX: in compat_sock_ioctl_trans()