/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 92 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in linux_get_ifhwaddr() 94 ifname, ifr.ifr_hwaddr.sa_family); in linux_get_ifhwaddr() 97 os_memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in linux_get_ifhwaddr() 109 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in linux_set_ifhwaddr() 110 ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER; in linux_set_ifhwaddr()
|
D | driver_wired.c | 257 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in wired_init_sockets() 259 ifr.ifr_hwaddr.sa_family); in wired_init_sockets() 262 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets() 521 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in wpa_driver_wired_multi() 522 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in wpa_driver_wired_multi()
|
D | driver_macsec_qca.c | 224 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in macsec_qca_multi() 225 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in macsec_qca_multi()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 142 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 144 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in openInterface()
|
D | pppoe-discovery.c | 142 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 144 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in openInterface()
|
D | plugin.c | 336 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in PPPoEDevnameHook()
|
/external/toybox/toys/other/ |
D | ifconfig.c | 121 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; in display_ifconfig() 124 if(i >= 0 && ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { in display_ifconfig() 126 for (i=0; i<6; i++) xprintf(":%02X"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 393 struct sockaddr *sock = &ifre.ifr_hwaddr; in ifconfig_main()
|
/external/iproute2/ip/ |
D | ipmaddr.c | 302 if (ifr.ifr_hwaddr.sa_data[0]) in multiaddr_modify() 304 if (ll_addr_a2n(ifr.ifr_hwaddr.sa_data, in multiaddr_modify()
|
D | iplink.c | 754 ifr->ifr_hwaddr.sa_family = hatype; in parse_address() 755 alen = ll_addr_a2n(ifr->ifr_hwaddr.sa_data, 14, lla); in parse_address()
|
/external/toybox/toys/pending/ |
D | arp.c | 170 if ((toys.optflags & FLAG_H) && (ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER)) in set_entry() 172 memcpy(&req.arp_ha, &(ifre.ifr_hwaddr), sizeof(req.arp_ha)); in set_entry()
|
D | arping.c | 83 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
|
D | dhcpd.c | 267 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
|
D | ip.c | 693 (unsigned char *)(req.ifr_hwaddr.sa_data)); in link_set() 699 (unsigned char *)(req.ifr_hwaddr.sa_data)); in link_set()
|
D | dhcp.c | 310 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
|
/external/iproute2/include/linux/ |
D | if.h | 199 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if.h | 228 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|
/external/iproute2/misc/ |
D | arpd.c | 197 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) in send_probe() 211 ah->ar_hrd = htons(ifr.ifr_hwaddr.sa_family); in send_probe() 217 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe()
|
/external/ppp/pppd/ |
D | sys-linux.c | 1850 memset (&bestifreq.ifr_hwaddr, 0, sizeof (struct sockaddr)); in get_ether_addr() 1857 &bestifreq.ifr_hwaddr, in get_ether_addr() 1876 memset(&ifreq.ifr_hwaddr, 0, sizeof(struct sockaddr)); in get_if_hwaddr() 1881 memcpy(addr, ifreq.ifr_hwaddr.sa_data, 6); in get_if_hwaddr() 2106 if (ok && ((ifr.ifr_hwaddr.sa_family & ~0xFF) != ARPHRD_PPP)) in ppp_available() 2935 ptr = (unsigned char *) ifr.ifr_hwaddr.sa_data; in ether_to_eui64()
|
/external/strace/ |
D | sock.c | 200 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in sock_ioctl()
|
/external/iputils/ |
D | rarpd.c | 155 ifl->hatype = ifrp->ifr_hwaddr.sa_family; in load_if() 156 memcpy(ifl->lladdr, ifrp->ifr_hwaddr.sa_data, 14); in load_if()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 276 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 271 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in get_node_id()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 6003 (Addr)&((struct vki_ifreq *)ARG3)->ifr_hwaddr, in PRE() 6004 sizeof(((struct vki_ifreq *)ARG3)->ifr_hwaddr) ); in PRE() 8572 POST_MEM_WRITE( (Addr)&((struct vki_ifreq *)ARG3)->ifr_hwaddr, in POST() 8573 sizeof(((struct vki_ifreq *)ARG3)->ifr_hwaddr) ); in POST()
|
/external/valgrind/include/vki/ |
D | vki-linux.h | 841 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|
/external/libpcap/ |
D | pcap-linux.c | 5831 return ifr.ifr_hwaddr.sa_family;
|