Home
last modified time | relevance | path

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

/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/
Dsll.h89 u_int8_t sll_addr[SLL_ADDRLEN]; /* link-layer address */ member
Dprint-sll.c66 (void)printf("%s ", etheraddr_string(sllp->sll_addr)); in sll_print()
/external/libpcap/pcap/
Dsll.h89 u_int8_t sll_addr[SLL_ADDRLEN]; /* link-layer address */ member
/external/dhcpcd/
Dlpf.c152 memcpy(&su.sll.sll_addr, in send_raw_packet()
155 memset(&su.sll.sll_addr, 0xff, iface->hwlen); in send_raw_packet()
Difaddrs.c87 memcpy(hwaddr->sll_addr, hwbuf, ETH_ALEN); in get_interface()
Dnet.c484 memcpy(ifp->hwaddr, sll->sll_addr, ifp->hwlen); in discover_interfaces()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c57 os_memcpy(ll.sll_addr, dst_addr, ETH_ALEN); in l2_packet_send()
87 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
/external/kernel-headers/original/uapi/linux/
Dif_packet.h19 unsigned char sll_addr[8]; member
/external/iproute2/misc/
Darpd.c224 memset(sll.sll_addr, 0xFF, sizeof(sll.sll_addr)); in send_probe()
227 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe()
/external/libpcap/
Dpcap-dos.c562 memset (&sa_ll_2.sll_addr, 0xFF, sizeof(sa_ll_2.sll_addr)); in pcap_findalldevs()
Dpcap-linux.c1624 memcpy(hdrp->sll_addr, from.sll_addr,
4259 memcpy(hdrp->sll_addr, sll->sll_addr, SLL_ADDRLEN);
/external/strace/
Dnet.c281 tprintf("%02x", addrbuf.ll.sll_addr[i]); in printsock()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c8395 os_memcpy(ll.sll_addr, addr, ETH_ALEN); in nl80211_send_eapol_data()
9882 drv_event_eapol_rx(drv->ctx, lladdr.sll_addr, buf, len); in handle_eapol()