Home
last modified time | relevance | path

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

/system/core/libnetutils/
Dpacket.c99 struct sockaddr_ll destaddr; in send_packet() local
140 memset(&destaddr, 0, sizeof(destaddr)); in send_packet()
141 destaddr.sll_family = AF_PACKET; in send_packet()
142 destaddr.sll_protocol = htons(ETH_P_IP); in send_packet()
143 destaddr.sll_ifindex = if_index; in send_packet()
144 destaddr.sll_halen = ETH_ALEN; in send_packet()
145 memcpy(destaddr.sll_addr, "\xff\xff\xff\xff\xff\xff", ETH_ALEN); in send_packet()
147 msghdr.msg_name = &destaddr; in send_packet()
148 msghdr.msg_namelen = sizeof(destaddr); in send_packet()