Lines Matching refs:sll
190 struct sockaddr_ll sll = { in send_probe() local
223 memset(sll.sll_addr, 0xFF, sizeof(sll.sll_addr)); in send_probe()
224 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe()
230 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr *)&sll, sizeof(sll)) < 0) in send_probe()
481 struct sockaddr_ll sll; in get_arp_pkt() local
482 socklen_t sll_len = sizeof(sll); in get_arp_pkt()
489 (struct sockaddr *)&sll, &sll_len); in get_arp_pkt()
496 if (ifnum && !handle_if(sll.sll_ifindex)) in get_arp_pkt()
506 a->ar_hln != sll.sll_halen || in get_arp_pkt()
510 key.iface = sll.sll_ifindex; in get_arp_pkt()
766 struct sockaddr_ll sll = { in main() local
772 if (bind(pset[0].fd, (struct sockaddr *)&sll, sizeof(sll)) < 0) { in main()