Home
last modified time | relevance | path

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

123

/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/libwebsockets/lib/misc/
Dgetifaddrs.c233 i < sa->sa_len - ((lws_intptr_t)sa->sa_data - (lws_intptr_t)&sa->sa_family); i++) in print_addr()
234 printf("%02x", ((unsigned char *)sa->sa_data)[i]); in print_addr()
236 for (i = 0; i < sizeof(sa->sa_data); i++) in print_addr()
237 printf("%02x", ((unsigned char *)sa->sa_data)[i]); in print_addr()
/external/llvm-project/clang/test/CodeGen/
Dobject-size.c533 char sa_data[14]; in PR30346() member
538 gi = OBJECT_SIZE_BUILTIN(sa->sa_data, 0); in PR30346()
540 gi = OBJECT_SIZE_BUILTIN(sa->sa_data, 1); in PR30346()
542 gi = OBJECT_SIZE_BUILTIN(sa->sa_data, 2); in PR30346()
544 gi = OBJECT_SIZE_BUILTIN(sa->sa_data, 3); in PR30346()
/external/wpa_supplicant_8/src/drivers/
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_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()
1110 os_memset(req.bssid.sa_data, 0xff, ETH_ALEN); in wpa_driver_wext_scan()
1557 iwe->u.ap_addr.sa_data, ETH_ALEN); in wpa_driver_wext_get_scan_results()
[all …]
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/libwebsockets/include/libwebsockets/
Dlws-optee.h54 uint8_t sa_data[__SOCK_SIZE__ /* address value */ member
/external/rust/crates/libc/src/unix/newlib/aarch64/
Dmod.rs12 pub sa_data: [::c_char; 14],
/external/rust/crates/libc/src/unix/newlib/arm/
Dmod.rs11 pub sa_data: [::c_char; 14],
/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/libpcap/
Dpcap-nit.c205 strncpy(sa.sa_data, device, sizeof(sa.sa_data)); in pcap_inject_nit()
/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/rust/crates/libc/src/unix/newlib/xtensa/
Dmod.rs33 pub sa_data: [::c_char; 14],
/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()
/external/toybox/toys/net/
Difconfig.c141 for (i=0; i<6; i++) printf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig()
148 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig()
429 ptr = p = (char *)sock->sa_data; in ifconfig_main()
/external/ms-tpm-20-ref/Samples/TPMCmd-DeviceID/Platform/src/
DEPS.c121 memcpy(deviceID.t.buffer, interfaceRequest.ifr_hwaddr.sa_data, size); in GetMacAddress()
/external/rust/crates/libc/src/unix/hermit/
Dmod.rs57 pub sa_data: [::c_char; 14],
166 .sa_data
168 .zip(other.sa_data.iter())
186 self.sa_data.hash(state);
/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/rust/crates/libc/src/unix/linux_like/linux/uclibc/x86_64/
Dmod.rs94 pub sa_data: [::c_char; 14],
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c288 memcpy(hwaddr, &i.ifr_hwaddr.sa_data, 6); in lws_plat_ifname_to_hwaddr()
/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()

123