Home
last modified time | relevance | path

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

12

/external/strace/tests-m32/
Dnet-sockaddr.c502 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
503 .sll_addr = "abcdefgh" in check_ll()
515 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
516 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
517 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
518 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
530 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
531 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
532 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
533 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
/external/strace/tests/
Dnet-sockaddr.c502 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
503 .sll_addr = "abcdefgh" in check_ll()
515 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
516 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
517 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
518 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
530 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
531 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
532 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
533 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
/external/strace/tests-mx32/
Dnet-sockaddr.c502 .sll_halen = sizeof(c_ll.sll_addr), in check_ll()
503 .sll_addr = "abcdefgh" in check_ll()
515 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
516 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
517 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
518 c_ll.sll_addr[6], c_ll.sll_addr[7], in check_ll()
530 c_ll.sll_addr[0], c_ll.sll_addr[1], in check_ll()
531 c_ll.sll_addr[2], c_ll.sll_addr[3], in check_ll()
532 c_ll.sll_addr[4], c_ll.sll_addr[5], in check_ll()
533 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.c136 os_memcpy(ll.sll_addr, dst_addr, ETH_ALEN); in l2_packet_send()
167 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive()
211 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
239 __func__, MAC2STR(ll.sll_addr), (int) res); in l2_packet_receive_br()
241 if (os_memcmp(ll.sll_addr, l2->own_addr, ETH_ALEN) == 0) { in l2_packet_receive_br()
263 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/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/libpcap/pcap/
Dsll.h89 uint8_t sll_addr[SLL_ADDRLEN]; /* link-layer address */ member
/external/iproute2/misc/
Darpd.c223 memset(sll.sll_addr, 0xFF, sizeof(sll.sll_addr)); in send_probe()
224 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe()
/external/iproute2/include/uapi/linux/
Dif_packet.h20 unsigned char sll_addr[8]; member
/external/kernel-headers/original/uapi/linux/
Dif_packet.h20 unsigned char sll_addr[8]; member
/external/syzkaller/sys/linux/
Dsocket_llc.txt34 sll_addr mac_addr
Dsocket_packet.txt45 sll_addr mac_addr
/external/strace/
Dsockaddr.c412 addrlen - offsetof(struct sockaddr_ll, sll_addr); in print_sockaddr_data_ll()
423 tprintf("%#02x", sa_ll->sll_addr[i]); in print_sockaddr_data_ll()
/external/u-boot/arch/sandbox/cpu/
Deth-raw-os.c44 memcpy(device->sll_addr, ethmac, 6); in _raw_packet_start()
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c517 memset(laddr.sll_addr, 0x06, ETH_ALEN); in do_tx()
/external/libpcap/
Dpcap-linux.c1915 memcpy(hdrp->sll_addr, from.sll_addr,
4969 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/python/cpython3/Modules/
Dsocketmodule.c1406 a->sll_addr, in makesockaddr()
1934 memcpy(&addr->sll_addr, haddr.buf, haddr.len); in getsockaddrarg()

12