Lines Matching refs:ifc
1784 struct ifconf ifc; in get_ether_addr() local
1790 ifc.ifc_len = sizeof(ifs); in get_ether_addr()
1791 ifc.ifc_req = ifs; in get_ether_addr()
1792 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { in get_ether_addr()
1802 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr()
1803 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) { in get_ether_addr()
1909 struct ifconf ifc; in GetMask() local
1926 ifc.ifc_len = sizeof(ifs); in GetMask()
1927 ifc.ifc_req = ifs; in GetMask()
1928 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { in GetMask()
1934 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in GetMask()
1935 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) { in GetMask()