Searched refs:ifr_hwaddr (Results 1 – 18 of 18) sorted by relevance
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 91 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in linux_get_ifhwaddr() 93 ifname, ifr.ifr_hwaddr.sa_family); in linux_get_ifhwaddr() 96 os_memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in linux_get_ifhwaddr() 108 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in linux_set_ifhwaddr() 109 ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER; in linux_set_ifhwaddr()
|
D | driver_wired.c | 259 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in wired_init_sockets() 261 ifr.ifr_hwaddr.sa_family); in wired_init_sockets() 264 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets() 481 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in wpa_driver_wired_multi() 482 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in wpa_driver_wired_multi()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_wired.c | 118 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in wpa_driver_wired_multi() 119 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in wpa_driver_wired_multi()
|
/external/iproute2/ip/ |
D | ipmaddr.c | 299 if (ifr.ifr_hwaddr.sa_data[0]) in multiaddr_modify() 301 if (ll_addr_a2n(ifr.ifr_hwaddr.sa_data, in multiaddr_modify()
|
D | iplink.c | 665 ifr->ifr_hwaddr.sa_family = hatype; in parse_address() 666 alen = ll_addr_a2n(ifr->ifr_hwaddr.sa_data, 14, lla); in parse_address()
|
/external/iproute2/include/linux/ |
D | if.h | 190 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|
/external/kernel-headers/original/linux/ |
D | if.h | 190 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|
/external/iproute2/misc/ |
D | arpd.c | 195 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) in send_probe() 209 ah->ar_hrd = htons(ifr.ifr_hwaddr.sa_family); in send_probe() 215 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe()
|
/external/strace/ |
D | sock.c | 205 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in sock_ioctl()
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
D | l2_packet_linux.c | 145 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
|
/external/ppp/pppd/ |
D | sys-linux.c | 1818 memset (&bestifreq.ifr_hwaddr, 0, sizeof (struct sockaddr)); in get_ether_addr() 1825 &bestifreq.ifr_hwaddr, in get_ether_addr() 1844 memset(&ifreq.ifr_hwaddr, 0, sizeof(struct sockaddr)); in get_if_hwaddr() 1849 memcpy(addr, ifreq.ifr_hwaddr.sa_data, 6); in get_if_hwaddr() 2084 if (ok && ((ifr.ifr_hwaddr.sa_family & ~0xFF) != ARPHRD_PPP)) in ppp_available() 2869 ptr = ifr.ifr_hwaddr.sa_data; in ether_to_eui64()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 147 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 308 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in PPPoEDevnameHook()
|
D | if.c | 460 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 462 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in openInterface()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 267 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in get_node_id()
|
/external/libpcap/ |
D | pcap-linux.c | 1977 return ifr.ifr_hwaddr.sa_family; in iface_get_arptype()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-linux.c | 4241 (Addr)&((struct vki_ifreq *)ARG3)->ifr_hwaddr, in PRE() 4242 sizeof(((struct vki_ifreq *)ARG3)->ifr_hwaddr) ); in PRE() 5331 POST_MEM_WRITE( (Addr)&((struct vki_ifreq *)ARG3)->ifr_hwaddr, in POST() 5332 sizeof(((struct vki_ifreq *)ARG3)->ifr_hwaddr) ); in POST()
|
/external/valgrind/main/include/vki/ |
D | vki-linux.h | 766 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|