Lines Matching refs:sll
513 struct sockaddr_ll sll;
535 (void) memset(&sll, 0, sizeof (sll));
536 sll.sll_family = AF_PACKET;
537 sll.sll_ifindex = linkid;
538 sll.sll_protocol = ETH_P_ALL;
539 if (bind(fd, (struct sockaddr *)&sll, sizeof (sll)) == -1) {
2471 struct sockaddr_ll sll;
2499 (void) memset(&sll, 0, sizeof (sll));
2500 sll.sll_family = AF_PACKET;
2501 sll.sll_ifindex = linkid;
2502 sll.sll_protocol = ETH_P_ALL;
2503 if (bind(fd, (struct sockaddr *)&sll, sizeof (sll)) == -1) {