/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | linux_ioctl.c | 93 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in linux_get_ifhwaddr() 95 ifname, ifr.ifr_hwaddr.sa_family); in linux_get_ifhwaddr() 98 os_memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in linux_get_ifhwaddr() 110 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in linux_set_ifhwaddr() 111 ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER; in linux_set_ifhwaddr()
|
D | driver_wired.c | 225 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in wired_init_sockets() 227 ifr.ifr_hwaddr.sa_family); in wired_init_sockets() 230 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets()
|
D | driver_wired_common.c | 101 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in driver_wired_multi() 102 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in driver_wired_multi()
|
D | driver_macsec_qca.c | 246 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in macsec_qca_init_sockets() 248 ifr.ifr_hwaddr.sa_family); in macsec_qca_init_sockets() 251 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in macsec_qca_init_sockets()
|
D | driver_macsec_linux.c | 1521 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in macsec_drv_init_sockets() 1523 ifr.ifr_hwaddr.sa_family); in macsec_drv_init_sockets() 1526 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in macsec_drv_init_sockets()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | linux_ioctl.c | 93 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in linux_get_ifhwaddr() 95 ifname, ifr.ifr_hwaddr.sa_family); in linux_get_ifhwaddr() 98 os_memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in linux_get_ifhwaddr() 110 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in linux_set_ifhwaddr() 111 ifr.ifr_hwaddr.sa_family = ARPHRD_ETHER; in linux_set_ifhwaddr()
|
D | driver_wired.c | 225 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in wired_init_sockets() 227 ifr.ifr_hwaddr.sa_family); in wired_init_sockets() 230 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets()
|
D | driver_wired_common.c | 101 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in driver_wired_multi() 102 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in driver_wired_multi()
|
D | driver_macsec_qca.c | 246 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in macsec_qca_init_sockets() 248 ifr.ifr_hwaddr.sa_family); in macsec_qca_init_sockets() 251 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in macsec_qca_init_sockets()
|
D | driver_macsec_linux.c | 1520 if (ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER) { in macsec_drv_init_sockets() 1522 ifr.ifr_hwaddr.sa_family); in macsec_drv_init_sockets() 1525 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in macsec_drv_init_sockets()
|
/third_party/toybox/toys/net/ |
D | ifconfig.c | 141 for (i=0; i<6; i++) printf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 144 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; in display_ifconfig() 146 if(ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { in display_ifconfig() 148 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 426 struct sockaddr *sock = &ifre.ifr_hwaddr; in ifconfig_main()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 140 for (i=0; i<6; i++) printf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 143 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; in display_ifconfig() 145 if(ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { in display_ifconfig() 147 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 439 struct sockaddr *sock = &ifre.ifr_hwaddr; in ifconfig_main()
|
/third_party/curl/lib/ |
D | if2ip.h | 84 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
|
/third_party/toybox/toys/pending/ |
D | arp.c | 158 if (FLAG(H) && ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER) in set_entry() 160 memcpy(&req.arp_ha, &(ifre.ifr_hwaddr), sizeof(req.arp_ha)); in set_entry()
|
D | arping.c | 77 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
|
/third_party/musl/include/net/ |
D | if.h | 97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
|
/third_party/musl/porting/liteos_m/kernel/include/net/ |
D | if.h | 97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/ |
D | if.h | 97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
|
/third_party/musl/porting/uniproton/kernel/include/net/ |
D | if.h | 97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
|
/third_party/musl/porting/liteos_a/kernel/include/net/ |
D | if.h | 97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv4_sender.c | 330 memcpy(fake_p->saddr_ll.sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in complete_eth_addrs()
|
D | ns-icmpv6_sender.c | 190 memcpy(lladdr_p->sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in specify_hw_addr()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
D | l2_packet_linux.c | 338 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 413 memcpy(hwaddr, &i.ifr_hwaddr.sa_data, 6); in lws_plat_ifname_to_hwaddr()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/ |
D | l2_packet_linux.c | 405 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
|