Lines Matching refs:ifc
1753 struct ifconf ifc; in get_ether_addr() local
1759 ifc.ifc_len = sizeof(ifs); in get_ether_addr()
1760 ifc.ifc_req = ifs; in get_ether_addr()
1761 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { in get_ether_addr()
1771 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr()
1772 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) { in get_ether_addr()
1878 struct ifconf ifc; in GetMask() local
1895 ifc.ifc_len = sizeof(ifs); in GetMask()
1896 ifc.ifc_req = ifs; in GetMask()
1897 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { in GetMask()
1903 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in GetMask()
1904 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) { in GetMask()