Home | History | Annotate | Download | only in base

Lines Matching defs:ifc

243   struct ifconf ifc;
244 ifc.ifc_len = 64 * sizeof(struct ifreq);
245 ifc.ifc_buf = new char[ifc.ifc_len];
247 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) {
251 assert(ifc.ifc_len < static_cast<int>(64 * sizeof(struct ifreq)));
253 struct ifreq* ptr = reinterpret_cast<struct ifreq*>(ifc.ifc_buf);
255 reinterpret_cast<struct ifreq*>(ifc.ifc_buf + ifc.ifc_len);
279 delete [] ifc.ifc_buf;