Searched refs:src_pk (Results 1 – 1 of 1) sorted by relevance
53 struct sockaddr_ll src_pk, dst_pk; variable112 arp_h->ar_hln = src_pk.sll_halen; in send_packet()117 ptr = mempcpy(ptr, &src_pk.sll_addr, src_pk.sll_halen); in send_packet()120 (toys.optflags & FLAG_A) ? &src_pk.sll_addr : &dst_pk.sll_addr, in send_packet()121 src_pk.sll_halen); in send_packet()150 || (arp_hdr->ar_hln != src_pk.sll_halen) in recv_from()160 if (!memcmp(p, &src_pk.sll_addr, src_pk.sll_halen)) return; in recv_from()183 memcpy(dst_pk.sll_addr, p, src_pk.sll_halen); in recv_from()220 src_pk.sll_ifindex = if_index; in arping_main()267 src_pk.sll_family = AF_PACKET; in arping_main()[all …]