Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Ddhcpd.c856 struct sockaddr_ll dest_sll; in send_packet6() local
869 memset(&dest_sll, 0, sizeof(dest_sll)); in send_packet6()
870 dest_sll.sll_family = AF_PACKET; in send_packet6()
871 dest_sll.sll_protocol = htons(ETH_P_IPV6); in send_packet6()
872 dest_sll.sll_ifindex = gconfig.ifindex; in send_packet6()
873 dest_sll.sll_halen = ETH_ALEN; in send_packet6()
874 memcpy(dest_sll.sll_addr, client_lla, sizeof(uint8_t)*6); in send_packet6()
876 if (bind(fd, (struct sockaddr *) &dest_sll, sizeof(dest_sll)) < 0) { in send_packet6()
895 0, (struct sockaddr *) &dest_sll, sizeof(dest_sll)); in send_packet6()
906 struct sockaddr_ll dest_sll; in send_packet() local
[all …]
Ddhcp.c721 struct sockaddr_ll dest_sll; in send_raw() local
733 memset(&dest_sll, 0, sizeof(dest_sll)); in send_raw()
734 dest_sll.sll_family = AF_PACKET; in send_raw()
735 dest_sll.sll_protocol = htons(ETH_P_IP); in send_raw()
736 dest_sll.sll_ifindex = state->ifindex; in send_raw()
737 dest_sll.sll_halen = 6; in send_raw()
738 memcpy(dest_sll.sll_addr, bmacaddr , 6); in send_raw()
740 if (bind(fd, (struct sockaddr *) &dest_sll, sizeof(dest_sll)) < 0) { in send_raw()
761 (struct sockaddr *) &dest_sll, sizeof(dest_sll)); in send_raw()