Home
last modified time | relevance | path

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

12

/external/strace/
Dsock.c51 printstr(tcp, addr, sizeof(ifr->ifr_addr.sa_data)); in print_addr()
192 ifr_addr.sa_data)), in sock_ioctl()
200 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in sock_ioctl()
277 ifr_addr.sa_data) in sock_ioctl()
Dnet.c374 print_quoted_string(addrbuf.sa.sa_data, in printsock()
375 sizeof(addrbuf.sa.sa_data), 0); in printsock()
1353 print_quoted_string(a.sa->sa_data, sizeof(a.sa->sa_data), 0); in print_group_req()
/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/
Dlinux_ioctl.c97 os_memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in linux_get_ifhwaddr()
109 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in linux_set_ifhwaddr()
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()
319 MAC2STR(mic->src_addr.sa_data)); in wpa_driver_wext_event_wireless_michaelmicfailure()
340 addr = (const u8 *) cand->bssid.sa_data; in wpa_driver_wext_event_wireless_pmkidcand()
463 MAC2STR((u8 *) iwe->u.ap_addr.sa_data)); in wpa_driver_wext_event_wireless()
465 (const u8 *) iwe->u.ap_addr.sa_data) || in wpa_driver_wext_event_wireless()
466 os_memcmp(iwe->u.ap_addr.sa_data, in wpa_driver_wext_event_wireless()
1113 os_memset(req.bssid.sa_data, 0xff, ETH_ALEN); in wpa_driver_wext_scan()
1560 iwe->u.ap_addr.sa_data, ETH_ALEN); in wpa_driver_wext_get_scan_results()
[all …]
Ddriver_wired.c262 os_memcpy(own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in wired_init_sockets()
522 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in wpa_driver_wired_multi()
543 os_memcpy(sap->sa_data, addr, ETH_ALEN); in wpa_driver_wired_multi()
Ddriver_macsec_qca.c225 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN); in macsec_qca_multi()
246 os_memcpy(sap->sa_data, addr, ETH_ALEN); in macsec_qca_multi()
Ddriver_atheros.c1413 (u8 *) iwe->u.addr.sa_data); in atheros_wireless_event_wireless()
1416 atheros_new_sta(drv, (u8 *) iwe->u.addr.sa_data); in atheros_wireless_event_wireless()
/external/libpcap/
Dpcap-nit.c210 strncpy(sa.sa_data, device, sizeof(sa.sa_data)); in pcap_inject_nit()
/external/iproute2/ip/
Dipmaddr.c302 if (ifr.ifr_hwaddr.sa_data[0]) in multiaddr_modify()
304 if (ll_addr_a2n(ifr.ifr_hwaddr.sa_data, in multiaddr_modify()
Diplink.c755 alen = ll_addr_a2n(ifr->ifr_hwaddr.sa_data, 14, lla); in parse_address()
/external/toybox/toys/other/
Difconfig.c126 for (i=0; i<6; i++) xprintf(":%02X"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig()
396 ptr = p = (char *)sock->sa_data; in ifconfig_main()
/external/netperf/
Dnetlib.c2590 (u_char)ai_addr->sa_data[0], in dump_addrinfo()
2591 (u_char)ai_addr->sa_data[1], in dump_addrinfo()
2592 (u_char)ai_addr->sa_data[2], in dump_addrinfo()
2593 (u_char)ai_addr->sa_data[3], in dump_addrinfo()
2594 (u_char)ai_addr->sa_data[4], in dump_addrinfo()
2595 (u_char)ai_addr->sa_data[5]); in dump_addrinfo()
/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.c288 mess->hlen > sizeof(ifr.ifr_addr.sa_data) || mess->htype == 0) in dhcp_packet()
313 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet()
338 memcpy(req.arp_ha.sa_data, mess->chaddr, mess->hlen); in dhcp_packet()
/external/toybox/toys/pending/
Darp.c164 if (!(toys.optflags & FLAG_D)) get_hw_add(toys.optargs[1], (char*)&req.arp_ha.sa_data); in set_entry()
Darping.c83 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
Ddhcpd.c267 memcpy(mac, req.ifr_hwaddr.sa_data, 6); in get_interface()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c276 os_memcpy(l2->own_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); in l2_packet_init()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c271 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data; in get_node_id()
/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/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.c926 os_memcpy(mac, req.ifr_addr.sa_data, 6); in get_netif_info()

12