Home
last modified time | relevance | path

Searched refs:sa_data (Results 1 – 25 of 38) sorted by relevance

12

/external/ppp/pppd/plugins/rp-pppoe/
Dif.c142 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()
Dpppoe-discovery.c142 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/
Ddriver_wext.c85 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 …]
Dlinux_ioctl.c98 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()
Ddriver_wired_common.c102 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()
Ddriver_wired.c230 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets()
/external/libpcap/
Dpcap-nit.c206 strncpy(sa.sa_data, device, sizeof(sa.sa_data)); in pcap_inject_nit()
/external/strace/
Dsock.c165 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/
Dipmaddr.c296 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/
Darp.c147 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()
Darping.c77 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
Ddhcp6.c170 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_mac()
/external/toybox/toys/net/
Difconfig.c140 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/
Drarpd.c156 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/
Ddhcp.c229 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/
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()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c327 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
/external/ppp/pppd/
Dsys-solaris.c473 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);
Dsys-linux.c1881 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/
Dgen_uuid.c272 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in get_node_id()
/external/syzkaller/sys/linux/
Dsocket_inet.txt198 sa_data mac_addr
Dsocket.txt107 sa_data array[int8, 14]
112 sa_data array[int8, 126]
/external/iproute2/misc/
Darpd.c217 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c929 os_memcpy(mac, req.ifr_addr.sa_data, 6); in get_netif_info()

12