Home
last modified time | relevance | path

Searched refs:sll_addr (Results 1 – 25 of 26) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_linux.c142 os_memcpy(ll.sll_addr, dst_addr, ETH_ALEN); in l2_packet_send()
173 if (memcpy_s(ll.sll_addr, ETH_ALEN, buf + ETH_ALEN, ETH_ALEN) != EOK) { in l2_packet_receive()
178 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive()
222 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
250 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive_br()
252 if (os_memcmp(ll.sll_addr, l2->own_addr, ETH_ALEN) == 0) { in l2_packet_receive_br()
274 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive_br()
/third_party/toybox/toys/pending/
Darping.c111 ptr = mempcpy(ptr, &src_pk.sll_addr, src_pk.sll_halen); in send_packet()
114 (toys.optflags & FLAG_A) ? &src_pk.sll_addr : &dst_pk.sll_addr, in send_packet()
154 if (!memcmp(p, &src_pk.sll_addr, src_pk.sll_halen)) return; in recv_from()
176 memcpy(dst_pk.sll_addr, p, src_pk.sll_halen); in recv_from()
276 memset(dst_pk.sll_addr, -1, dst_pk.sll_halen); in arping_main()
Ddhcpd.c874 memcpy(dest_sll.sll_addr, client_lla, sizeof(uint8_t)*6); in send_packet6()
924 memcpy(dest_sll.sll_addr, (broadcast)?bmacaddr:gstate.rcvd.rcvd_pkt.chaddr , 6); in send_packet()
Ddhcp.c738 memcpy(dest_sll.sll_addr, bmacaddr , 6); in send_raw()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_linux.c142 os_memcpy(ll.sll_addr, dst_addr, ETH_ALEN); in l2_packet_send()
173 if (memcpy_s(ll.sll_addr, ETH_ALEN, buf + ETH_ALEN, ETH_ALEN) != EOK) { in l2_packet_receive()
178 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive()
225 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
253 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive_br()
255 if (os_memcmp(ll.sll_addr, l2->own_addr, ETH_ALEN) == 0) { in l2_packet_receive_br()
277 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive_br()
/third_party/musl/src/network/
Dgetifaddrs.c23 unsigned char sll_addr[24]; member
96 if (addrlen > sizeof(sa->ll.sll_addr)) return; in copy_lladdr()
101 memcpy(sa->ll.sll_addr, addr, addrlen); in copy_lladdr()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c190 memcpy(lladdr_p->sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in specify_hw_addr()
220 lladdr_p->sll_addr[0] = 0x33; in calc_hd_mcastaddr()
221 lladdr_p->sll_addr[1] = 0x33; in calc_hd_mcastaddr()
222 memcpy(&lladdr_p->sll_addr[2], &addr_p->s6_addr[12], ETH_ALEN - 2); in calc_hd_mcastaddr()
Dns-common.c281 addr_p = (unsigned char *)ll->sll_addr; in eth_pton()
Dns-icmpv4_sender.c330 memcpy(fake_p->saddr_ll.sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in complete_eth_addrs()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetifaddrs.c26 unsigned char sll_addr[24]; member
105 if (addrlen > sizeof(sa->ll.sll_addr)) return; in copy_lladdr()
110 memcpy(sa->ll.sll_addr, addr, addrlen); in copy_lladdr()
/third_party/musl/porting/uniproton/kernel/include/netpacket/
Dpacket.h13 unsigned char sll_addr[8]; member
/third_party/musl/include/netpacket/
Dpacket.h13 unsigned char sll_addr[8]; member
/third_party/musl/porting/liteos_m/kernel/include/netpacket/
Dpacket.h13 unsigned char sll_addr[8]; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netpacket/
Dpacket.h13 unsigned char sll_addr[8]; member
/third_party/musl/ndk_musl_include/netpacket/
Dpacket.h13 unsigned char sll_addr[8]; member
/third_party/musl/porting/liteos_a/kernel/include/netpacket/
Dpacket.h13 unsigned char sll_addr[8]; member
/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpsink.c271 memcpy (sk_addr.sll_addr, addr, ETH_ALEN); in gst_avtp_sink_init_socket()
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs2681 self.0.sll_addr[0],
2682 self.0.sll_addr[1],
2683 self.0.sll_addr[2],
2684 self.0.sll_addr[3],
2685 self.0.sll_addr[4],
2686 self.0.sll_addr[5],
/third_party/libwebsockets/lib/plat/unix/
Dunix-sockets.c453 memset(sll.sll_addr, 0xff, 6); in lws_plat_rawudp_broadcast()
/third_party/libuv/src/unix/
Dlinux-core.c710 memcpy(address->phys_addr, sll->sll_addr, sizeof(address->phys_addr)); in uv_interface_addresses()
/third_party/rust/crates/libc/src/unix/linux_like/
Dmod.rs88 pub sll_addr: [::c_uchar; 8]
/third_party/python/Modules/
Dsocketmodule.c1452 a->sll_addr, in makesockaddr()
2038 memcpy(&addr->sll_addr, haddr.buf, haddr.len); in getsockaddrarg()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211.c5066 os_memcpy(ll.sll_addr, addr, ETH_ALEN); in nl80211_send_eapol_data()
6876 drv_event_eapol_rx(drv->ctx, lladdr.sll_addr, buf, len); in handle_eapol()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs379 pub sll_addr: [::c_uchar; 8]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211.c5692 os_memcpy(ll.sll_addr, addr, ETH_ALEN); in nl80211_send_eapol_data()
7586 drv_event_eapol_rx(drv->ctx, lladdr.sll_addr, buf, len); in handle_eapol()

12