Home
last modified time | relevance | path

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

/device/generic/goldfish/radio/ril/
Dipv6_monitor.cpp245 struct sockaddr_ll ethAddr; in initInterfaces() local
246 memset(&ethAddr, 0, sizeof(ethAddr)); in initInterfaces()
247 ethAddr.sll_family = AF_PACKET; in initInterfaces()
248 ethAddr.sll_protocol = htons(ETH_P_IPV6); in initInterfaces()
249 ethAddr.sll_ifindex = if_nametoindex(mInterfaceName.c_str()); in initInterfaces()
250 if (ethAddr.sll_ifindex == 0) { in initInterfaces()
262 memcpy(ethAddr.sll_addr, request.ifr_addr.sa_data, ETH_ALEN); in initInterfaces()
266 reinterpret_cast<const struct sockaddr*>(&ethAddr), in initInterfaces()
267 sizeof(ethAddr)); in initInterfaces()