Lines Matching refs:ifc
194 getmyaddrs(struct ifconf *ifc)
201 ifc->ifc_buf = NULL;
202 ifc->ifc_len = 0;
232 ifc->ifc_buf = buf;
233 ifc->ifc_len = numifs * sizeof (struct ifreq);
235 if (ioctl(sock, SIOCGIFCONF, (char *)ifc) < 0) {
244 struct ifconf *ifc;
271 ifr = ifc->ifc_req;
272 n = ifc->ifc_len / sizeof (struct ifreq);
1249 ifc = (struct ifconf *)malloc(sizeof (struct ifconf));
1250 if (ifc == NULL) {
1255 (void) memset((char *)ifc, 0, sizeof (struct ifconf));
1256 getmyaddrs(ifc);