Home
last modified time | relevance | path

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

/third_party/toybox/toys/pending/
Darping.c47 struct sockaddr_ll src_pk, dst_pk; variable
106 arp_h->ar_hln = src_pk.sll_halen; in send_packet()
111 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()
115 src_pk.sll_halen); in send_packet()
144 || (arp_hdr->ar_hln != src_pk.sll_halen) in recv_from()
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()
213 src_pk.sll_ifindex = if_index; in arping_main()
258 src_pk.sll_family = AF_PACKET; in arping_main()
[all …]