Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dlinux_ioctl.c93 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()
Ddriver_wired.c225 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()
Ddriver_wired_common.c101 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()
Ddriver_macsec_qca.c246 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()
Ddriver_macsec_linux.c1521 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/
Dlinux_ioctl.c93 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()
Ddriver_wired.c225 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()
Ddriver_wired_common.c101 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()
Ddriver_macsec_qca.c246 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()
Ddriver_macsec_linux.c1520 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/
Difconfig.c141 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/
Difconfig.c140 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/
Dif2ip.h84 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */ macro
/third_party/toybox/toys/pending/
Darp.c158 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()
Darping.c77 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
/third_party/musl/include/net/
Dif.h97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
/third_party/musl/porting/liteos_m/kernel/include/net/
Dif.h97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
Dif.h97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
/third_party/musl/porting/uniproton/kernel/include/net/
Dif.h97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
/third_party/musl/porting/liteos_a/kernel/include/net/
Dif.h97 #define ifr_hwaddr ifr_ifru.ifru_hwaddr macro
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c330 memcpy(fake_p->saddr_ll.sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in complete_eth_addrs()
Dns-icmpv6_sender.c190 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/
Dl2_packet_linux.c338 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
/third_party/libwebsockets/lib/plat/unix/
Dunix-sockets.c413 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/
Dl2_packet_linux.c405 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()

12