Searched refs:ethAddr (Results 1 – 1 of 1) sorted by relevance
245 struct sockaddr_ll ethAddr; in initInterfaces() local246 memset(ðAddr, 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*>(ðAddr), in initInterfaces()267 sizeof(ethAddr)); in initInterfaces()