/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 142 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 178 strcpy(sa.sa_data, ifname); in openInterface() 215 strcpy(sa.sa_data, conn->ifName); in sendPacket()
|
D | pppoe-discovery.c | 142 memcpy(hwaddr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in openInterface() 182 strcpy(sa.sa_data, ifname); in openInterface() 219 strcpy(sa.sa_data, conn->ifName); in sendPacket()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wext.c | 85 os_memcpy(bssid, iwr.u.ap_addr.sa_data, ETH_ALEN); in wpa_driver_wext_get_bssid() 107 os_memcpy(iwr.u.ap_addr.sa_data, bssid, ETH_ALEN); in wpa_driver_wext_set_bssid() 109 os_memset(iwr.u.ap_addr.sa_data, 0, ETH_ALEN); in wpa_driver_wext_set_bssid() 310 MAC2STR(mic->src_addr.sa_data)); in wpa_driver_wext_event_wireless_michaelmicfailure() 331 addr = (const u8 *) cand->bssid.sa_data; in wpa_driver_wext_event_wireless_pmkidcand() 452 MAC2STR((u8 *) iwe->u.ap_addr.sa_data)); in wpa_driver_wext_event_wireless() 454 (const u8 *) iwe->u.ap_addr.sa_data) || in wpa_driver_wext_event_wireless() 455 os_memcmp(iwe->u.ap_addr.sa_data, in wpa_driver_wext_event_wireless() 1105 os_memset(req.bssid.sa_data, 0xff, ETH_ALEN); in wpa_driver_wext_scan() 1552 iwe->u.ap_addr.sa_data, ETH_ALEN); in wpa_driver_wext_get_scan_results() [all …]
|
D | linux_ioctl.c | 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()
|
D | driver_wired_common.c | 102 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in driver_wired_multi() 125 os_memcpy(sap->sa_data, addr, ETH_ALEN); in driver_wired_multi()
|
D | driver_wired.c | 230 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets()
|
/external/libpcap/ |
D | pcap-nit.c | 206 strncpy(sa.sa_data, device, sizeof(sa.sa_data)); in pcap_inject_nit()
|
/external/strace/ |
D | sock.c | 165 PRINT_FIELD_MAC_SZ(", ", ifr->ifr_hwaddr, sa_data, in print_ifreq() 166 MIN(sizeof(ifr->ifr_hwaddr.sa_data), sz)); in print_ifreq()
|
/external/iproute2/ip/ |
D | ipmaddr.c | 296 if (ifr.ifr_hwaddr.sa_data[0]) in multiaddr_modify() 298 if (ll_addr_a2n(ifr.ifr_hwaddr.sa_data, in multiaddr_modify()
|
/external/toybox/toys/pending/ |
D | arp.c | 147 char *p = ptr, *hw_addr = req.arp_ha.sa_data; in set_entry() 159 error_exit("bad hw addr '%s'", req.arp_ha.sa_data); in set_entry()
|
D | arping.c | 77 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
|
D | dhcp6.c | 170 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_mac()
|
/external/toybox/toys/net/ |
D | ifconfig.c | 140 for (i=0; i<6; i++) printf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 147 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 428 ptr = p = (char *)sock->sa_data; in ifconfig_main()
|
/external/iputils/ |
D | rarpd.c | 156 memcpy(ifl->lladdr, ifrp->ifr_hwaddr.sa_data, 14); in load_if() 408 memcpy(req.arp_ha.sa_data, lladdr, lllen); in arp_advise()
|
/external/dnsmasq/src/ |
D | dhcp.c | 229 mess->hlen > sizeof(ifr.ifr_addr.sa_data) || mess->htype == 0) { in dhcp_packet() 251 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet()
|
/external/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()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 327 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
|
/external/ppp/pppd/ |
D | sys-solaris.c | 473 struct ether_addr *eth_addr = (struct ether_addr *)&s_eth_addr.sa_data; in get_if_hwaddr() 537 struct ether_addr *eth_addr = (struct ether_addr *)&s_eth_addr.sa_data; in ether_to_eui64() 2273 memcpy(hwaddr->sa_data, adrp, adrlen);
|
D | sys-linux.c | 1881 memcpy(addr, ifreq.ifr_hwaddr.sa_data, 6); in get_if_hwaddr() 2935 ptr = (unsigned char *) ifr.ifr_hwaddr.sa_data; in ether_to_eui64()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 272 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in get_node_id()
|
/external/syzkaller/sys/linux/ |
D | socket_inet.txt | 198 sa_data mac_addr
|
D | socket.txt | 107 sa_data array[int8, 14] 112 sa_data array[int8, 126]
|
/external/iproute2/misc/ |
D | arpd.c | 217 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp.c | 929 os_memcpy(mac, req.ifr_addr.sa_data, 6); in get_netif_info()
|