Searched refs:ifc (Results 1 – 2 of 2) sorted by relevance
79 struct ifconf ifc; in GetMacAddress() local80 ifc.ifc_len = sizeof(buf2); in GetMacAddress()81 ifc.ifc_buf = buf2; in GetMacAddress()82 if (ioctl(sock, SIOCGIFCONF, &ifc) == -1) { in GetMacAddress()87 struct ifreq* it = ifc.ifc_req; in GetMacAddress()88 const struct ifreq* const end = it + (ifc.ifc_len / sizeof(struct ifreq)); in GetMacAddress()
53 return mOffloadDataByInterface.computeIfAbsent(iface, ifc -> new OffloadData()); in getOffloadData()