Home
last modified time | relevance | path

Searched refs:SIOCGIFHWADDR (Results 1 – 25 of 29) sorted by relevance

12

/external/strace/
Dsock.c84 case SIOCGIFHWADDR: { in print_ifreq()
340 case SIOCGIFHWADDR: in MPERS_PRINTER_DECL()
/external/kernel-headers/original/uapi/linux/
Dsockios.h58 #define SIOCGIFHWADDR 0x8927 /* Get hardware address */ macro
/external/autotest/client/deps/lansim/src/
Dwrapper_sys_ioctl.c61 PyModule_AddIntMacro(m, SIOCGIFHWADDR); in _init_sys_ioctl_h()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c137 if (ioctl(fd, SIOCGIFHWADDR, &ifr) < 0) { in openInterface()
Dplugin.c333 if (ioctl(fd, SIOCGIFHWADDR, &ifr) < 0) { in PPPoEDevnameHook()
Dpppoe-discovery.c139 if (ioctl(fd, SIOCGIFHWADDR, &ifr) < 0) { in openInterface()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c269 #ifdef SIOCGIFHWADDR in get_node_id()
270 if (ioctl(sd, SIOCGIFHWADDR, &ifr) < 0) in get_node_id()
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c86 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { in linux_get_ifhwaddr()
Ddriver_wired.c219 if (ioctl(drv->common.sock, SIOCGIFHWADDR, &ifr) != 0) { in wired_init_sockets()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py187 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFHWADDR,
/external/toybox/toys/pending/
Darp.c169 xioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in set_entry()
Darping.c76 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
Dip.c685 xioctl(fd, SIOCGIFHWADDR, &req); in link_set()
691 xioctl(fd, SIOCGIFHWADDR, &req); in link_set()
2332 if (rtype != SIOCGIFHWADDR) req.ifr_ifru.ifru_data = (void*)ptnl; in tnl_ioctl()
2336 else if (rtype == SIOCGIFHWADDR) in tnl_ioctl()
2409 if ((ret = tnl_ioctl(iface, SIOCGIFHWADDR, &iptnl)) < 0) { in read_tunnel()
Ddhcp6.c169 xioctl(fd, SIOCGIFHWADDR, &req); in get_mac()
Ddhcp.c306 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
/external/ppp/pppd/
Dsys-linux.c1851 if (ioctl (sock_fd, SIOCGIFHWADDR, &bestifreq) < 0) { in get_ether_addr()
1878 ret = ioctl(sock_fd, SIOCGIFHWADDR, &ifreq); in get_if_hwaddr()
2104 ok = ioctl (s, SIOCGIFHWADDR, (caddr_t) &ifr) >= 0; in ppp_available()
2924 if(ioctl(skfd, SIOCGIFHWADDR, &ifr) < 0) in ether_to_eui64()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c329 get_ifinfo(&ifinfo, sock_fd, fake_p->src_ifname, SIOCGIFHWADDR); in complete_eth_addrs()
Dns-icmpv6_sender.c189 get_ifinfo(&ifinfo, sock_fd, ifname, SIOCGIFHWADDR); in specify_hw_addr()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c297 if (ioctl(l2->fd, SIOCGIFHWADDR, &ifr) < 0) { in l2_packet_init()
/external/toybox/toys/net/
Difconfig.c118 i = ioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in display_ifconfig()
/external/iputils/
Drarpd.c143 if (ioctl(fd, SIOCGIFHWADDR, ifrp)) { in load_if()
/external/iproute2/misc/
Darpd.c196 if (ioctl(udp_sock, SIOCGIFHWADDR, &ifr)) in send_probe()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c924 if (ioctl(sock, SIOCGIFHWADDR, &req) < 0) { in get_netif_info()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc645 unsigned IOCTL_SIOCGIFHWADDR = SIOCGIFHWADDR;
Dsanitizer_common_interceptors_ioctl.inc221 _(SIOCGIFHWADDR, WRITE, struct_ifreq_sz);

12