Home
last modified time | relevance | path

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

/external/strace/tests-m32/
Dnet-sockaddr.c332 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
333 .sll_addr = "abcdefgh" in check_ll()
345 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
346 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
347 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
348 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
360 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
361 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
362 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
363 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
/external/strace/tests/
Dnet-sockaddr.c332 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
333 .sll_addr = "abcdefgh" in check_ll()
345 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
346 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
347 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
348 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
360 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
361 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
362 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
363 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c332 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
333 .sll_addr = "abcdefgh" in check_ll()
345 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
346 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
347 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
348 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
360 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
361 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
362 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
363 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
/external/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()
177 memcpy(dst_pk.sll_addr, p, src_pk.sll_halen); in recv_from()
280 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()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c113 os_memcpy(ll.sll_addr, dst_addr, ETH_ALEN); in l2_packet_send()
144 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive()
188 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
216 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive_br()
218 if (os_memcmp(ll.sll_addr, l2->own_addr, ETH_ALEN) == 0) { in l2_packet_receive_br()
240 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive_br()
/external/iputils/
Darping.c109 socklen_t len = OFFSET_OF(struct sockaddr_ll, sll_addr) + halen; in sll_len()
287 memcpy(p, &ME->sll_addr, ah->ar_hln); in send_pack()
294 memcpy(p, &ME->sll_addr, ah->ar_hln); in send_pack()
296 memcpy(p, &HE->sll_addr, ah->ar_hln); in send_pack()
417 if (memcmp(p+ah->ar_hln+4, ((struct sockaddr_ll *)&me)->sll_addr, ah->ar_hln)) in recv_pack()
435 if (memcmp(p, ((struct sockaddr_ll *)&me)->sll_addr, ((struct sockaddr_ll *)&me)->sll_halen) == 0) in recv_pack()
451 if (memcmp(p+ah->ar_hln+4, ((struct sockaddr_ll *)&me)->sll_addr, ah->ar_hln)) { in recv_pack()
477 memcpy(((struct sockaddr_ll *)&he)->sll_addr, p, ((struct sockaddr_ll *)&me)->sll_halen); in recv_pack()
955 memcpy(ba, sll->sll_addr, sll->sll_halen); in set_device_broadcast_ifaddrs_one()
1191 set_device_broadcast(&device, ((struct sockaddr_ll *)&he)->sll_addr, in main()
Drarpd.c457 sprintf(ptr, ":%02x", sll.sll_addr[i]); in serve_it()
460 sprintf(ptr, "%02x", sll.sll_addr[i]); in serve_it()
503 if (memcmp(sll.sll_addr, a+1, sll.sll_halen)) { in serve_it()
/external/tcpdump/
Dprint-sll.c85 uint8_t sll_addr[SLL_ADDRLEN]; /* link-layer address */ member
147 ND_PRINT((ndo, "%s ", etheraddr_string(ndo, sllp->sll_addr))); in sll_print()
/external/libpcap/pcap/
Dsll.h87 u_int8_t sll_addr[SLL_ADDRLEN]; /* link-layer address */ member
/external/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()
/external/strace/
Dsockaddr.c189 addrlen - offsetof(struct sockaddr_ll, sll_addr); in print_sockaddr_data_ll()
200 tprintf("%#02x", sa_ll->sll_addr[i]); in print_sockaddr_data_ll()
/external/dhcpcd-6.8.2/
Difaddrs.c90 memcpy(hwaddr->sll_addr, hwbuf, ETH_ALEN); in get_interface()
Dif-linux.c1214 memcpy(&su.sll.sll_addr, in if_sendrawpacket()
1218 memcpy(&su.sll.sll_addr, dest_hw_addr, ifp->hwlen); in if_sendrawpacket()
1220 memset(&su.sll.sll_addr, 0xff, ifp->hwlen); in if_sendrawpacket()
Dif.c494 memcpy(ifp->hwaddr, sll->sll_addr, ifp->hwlen); in if_discover()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h19 unsigned char sll_addr[8]; member
/external/iproute2/misc/
Darpd.c225 memset(sll.sll_addr, 0xFF, sizeof(sll.sll_addr)); in send_probe()
228 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe()
/external/libpcap/
Dpcap-linux.c1852 memcpy(hdrp->sll_addr, from.sll_addr,
4699 memcpy(hdrp->sll_addr, sll->sll_addr, SLL_ADDRLEN);
/external/python/cpython2/Modules/
Dsocketmodule.c1204 a->sll_addr, in makesockaddr()
1558 memcpy(&addr->sll_addr, haddr, halen); in getsockaddrarg()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c4745 os_memcpy(ll.sll_addr, addr, ETH_ALEN); in nl80211_send_eapol_data()
6281 drv_event_eapol_rx(drv->ctx, lladdr.sll_addr, buf, len); in handle_eapol()