Searched refs:dest_sll (Results 1 - 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
H A D | dhcpd.c | 856 struct sockaddr_ll dest_sll; local 869 memset(&dest_sll, 0, sizeof(dest_sll)); 870 dest_sll.sll_family = AF_PACKET; 871 dest_sll.sll_protocol = htons(ETH_P_IPV6); 872 dest_sll.sll_ifindex = gconfig.ifindex; 873 dest_sll.sll_halen = ETH_ALEN; 874 memcpy(dest_sll.sll_addr, client_lla, sizeof(uint8_t)*6); 876 if (bind(fd, (struct sockaddr *) &dest_sll, sizeof(dest_sll)) < 906 struct sockaddr_ll dest_sll; local [all...] |
H A D | dhcp.c | 719 struct sockaddr_ll dest_sll; local 731 memset(&dest_sll, 0, sizeof(dest_sll)); 732 dest_sll.sll_family = AF_PACKET; 733 dest_sll.sll_protocol = htons(ETH_P_IP); 734 dest_sll.sll_ifindex = state->ifindex; 735 dest_sll.sll_halen = 6; 736 memcpy(dest_sll.sll_addr, bmacaddr , 6); 738 if (bind(fd, (struct sockaddr *) &dest_sll, sizeof(dest_sll)) < [all...] |
Completed in 55 milliseconds