Lines Matching refs:ifc
88 struct ifconf ifc; in sock_ioctl() local
94 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0 in sock_ioctl()
95 && ifc.ifc_buf == NULL) in sock_ioctl()
96 tprintf(", {%d -> ", ifc.ifc_len); in sock_ioctl()
248 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) { in sock_ioctl()
252 tprintf("%d, ", ifc.ifc_len); in sock_ioctl()
254 tprintf("%lx", (unsigned long) ifc.ifc_buf); in sock_ioctl()
255 } else if (ifc.ifc_buf == NULL) { in sock_ioctl()
259 unsigned nifra = ifc.ifc_len / sizeof(struct ifreq); in sock_ioctl()
262 if (umoven(tcp, (unsigned long) ifc.ifc_buf, in sock_ioctl()
264 tprintf("%lx}", (unsigned long) ifc.ifc_buf); in sock_ioctl()