Home
last modified time | relevance | path

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

12

/external/strace/
Dsock.c91 case SIOCGIFHWADDR: { in print_ifreq()
308 case SIOCGIFHWADDR: in sock_ioctl()
/external/kernel-headers/original/uapi/linux/
Dsockios.h56 #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.c268 #ifdef SIOCGIFHWADDR in get_node_id()
269 if (ioctl(sd, SIOCGIFHWADDR, &ifr) < 0) in get_node_id()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py187 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFHWADDR,
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c86 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { in linux_get_ifhwaddr()
Ddriver_wired.c252 if (ioctl(drv->sock, SIOCGIFHWADDR, &ifr) != 0) { in wired_init_sockets()
/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()
Ddhcpd.c420 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/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c297 if (ioctl(l2->fd, SIOCGIFHWADDR, &ifr) < 0) { in l2_packet_init()
/external/toybox/toys/other/
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/autotest/client/virt/
Dvirt_utils.py21 SIOCGIFHWADDR = 0x8927 variable
3274 mac_dev = fcntl.ioctl(ctrl_sock, SIOCGIFHWADDR, ifr)[18:24]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc640 unsigned IOCTL_SIOCGIFHWADDR = SIOCGIFHWADDR;
Dsanitizer_common_interceptors_ioctl.inc218 _(SIOCGIFHWADDR, WRITE, struct_ifreq_sz);

12