Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/uapi/linux/
Dsockios.h61 #define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */ macro
62 #define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
/external/strace/
Dsock.c124 case SIOCGIFINDEX: in sock_ioctl()
167 case SIOCGIFINDEX: in sock_ioctl()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c170 if (ioctl(fd, SIOCGIFINDEX, &ifr) < 0) { in openInterface()
Dplugin.c330 if (ioctl(fd, SIOCGIFINDEX, &ifr) < 0) { in PPPoEDevnameHook()
Dpppoe-discovery.c176 if (ioctl(fd, SIOCGIFINDEX, &ifr) < 0) { in openInterface()
/external/libpcap/
Dpcap-can-linux.c175 if (ioctl(handle->fd, SIOCGIFINDEX, &ifr) < 0) in can_activate()
/external/iputils/
Drarpd.c130 if (ioctl(fd, SIOCGIFINDEX, ifrp)) { in load_if()
618 if (ioctl(pset[0].fd, SIOCGIFINDEX, &ifr)) { in main()
Dping.c339 if (ioctl(probe_fd, SIOCGIFINDEX, &ifr) < 0) { in main()
434 if (ioctl(icmp_sock, SIOCGIFINDEX, &ifr) < 0) { in main()
Darping.c830 if (ioctl(s, SIOCGIFINDEX, ifr) < 0) { in check_device_by_ioctl()
Drdisc.c1174 if (ioctl(sock, SIOCGIFINDEX, (char *)&ifreq) < 0) { in initifs()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c327 #ifdef SIOCGIFINDEX in get_ifi_info()
328 if ( 0 >= ioctl(sockfd, SIOCGIFINDEX, &ifrcopy)) in get_ifi_info()
/external/toybox/toys/pending/
Darping.c78 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
Dip.c651 xioctl(fd, SIOCGIFINDEX, &req); in link_set()
680 xioctl(fd, SIOCGIFINDEX, &req); in link_set()
2550 xioctl(fd, SIOCGIFINDEX, &req); in parse_iptunnel_args()
Ddhcpd.c261 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
Ddhcp.c304 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c248 if (ioctl(l2->fd, SIOCGIFINDEX, &ifr) < 0) { in l2_packet_init()
/external/wpa_supplicant_8/src/ap/
Diapp.c409 if (ioctl(iapp->udp_sock, SIOCGIFINDEX, &ifr) != 0) { in iapp_init()
/external/toybox/toys/other/
Difconfig.c457 xioctl(fd6, SIOCGIFINDEX, &ifre); in ifconfig_main()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c224 if (ioctl(drv->sock, SIOCGIFINDEX, &ifr) != 0) { in wired_init_sockets()
Ddriver_hostap.c244 if (ioctl(drv->sock, SIOCGIFINDEX, &ifr) != 0) { in hostap_init_sockets()
Ddriver_atheros.c1620 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) { in atheros_init()
/external/dhcpcd/
Dnet.c86 if (ioctl(socket_afnet, SIOCGIFINDEX, &ifr) != -1) in if_nametoindex()
/external/iproute2/misc/
Darpd.c670 if (ioctl(udp_sock, SIOCGIFINDEX, &ifr)) { in main()
/external/ppp/pppd/
Dsys-linux.c2534 if (ioctl(sock6_fd, SIOCGIFINDEX, (caddr_t) &ifr) < 0) { in sif6addr()
2583 if (ioctl(sock6_fd, SIOCGIFINDEX, (caddr_t) &ifr) < 0) { in cif6addr()
/external/iproute2/ip/
Diplink.c720 if (ioctl(s, SIOCGIFINDEX, &ifr) < 0) { in get_address()

12