Searched defs:destaddr (Results 1 - 1 of 1) sorted by relevance

/system/core/libnetutils/
H A Dpacket.c98 struct sockaddr_ll destaddr; local
139 memset(&destaddr, 0, sizeof(destaddr));
140 destaddr.sll_family = AF_PACKET;
141 destaddr.sll_protocol = htons(ETH_P_IP);
142 destaddr.sll_ifindex = if_index;
143 destaddr.sll_halen = ETH_ALEN;
144 memcpy(destaddr.sll_addr, "\xff\xff\xff\xff\xff\xff", ETH_ALEN);
146 msghdr.msg_name = &destaddr;
147 msghdr.msg_namelen = sizeof(destaddr);
[all...]

Completed in 143 milliseconds