Home
last modified time | relevance | path

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

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