Home
last modified time | relevance | path

Searched refs:ifr_hwaddr (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c91 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()
Ddriver_wired.c259 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/
Ddriver_wired.c118 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/
Dipmaddr.c299 if (ifr.ifr_hwaddr.sa_data[0]) in multiaddr_modify()
301 if (ll_addr_a2n(ifr.ifr_hwaddr.sa_data, in multiaddr_modify()
Diplink.c665 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/
Dif.h190 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
/external/kernel-headers/original/linux/
Dif.h190 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
/external/iproute2/misc/
Darpd.c195 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/
Dsock.c205 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in sock_ioctl()
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_linux.c145 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
/external/ppp/pppd/
Dsys-linux.c1818 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/
Dl2_packet_linux.c147 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
/external/ppp/pppd/plugins/rp-pppoe/
Dplugin.c308 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in PPPoEDevnameHook()
Dif.c460 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/
Dgen_uuid.c267 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in get_node_id()
/external/libpcap/
Dpcap-linux.c1977 return ifr.ifr_hwaddr.sa_family; in iface_get_arptype()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c4241 (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/
Dvki-linux.h766 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro