Lines Matching refs:ifr
278 struct ifreq *ifr = (struct ifreq *)data;
312 if (((struct sockaddr_in *)&ifr->ifr_addr)->sin_addr.s_addr ==
318 if (ifr->ifr_addr.sa_family != AF_INET)
484 if (ifr->ifr_intval)
494 if (ifr->ifr_data)
502 *((struct sockaddr_in *)&ifr->ifr_addr) = ia->ia_addr;
510 *((struct sockaddr_in *)&ifr->ifr_dstaddr) = ia->ia_broadaddr;
518 *((struct sockaddr_in *)&ifr->ifr_dstaddr) = ia->ia_dstaddr;
522 *((struct sockaddr_in *)&ifr->ifr_addr) = ia->ia_sockmask;
531 ia->ia_dstaddr = *(struct sockaddr_in *)&ifr->ifr_dstaddr;
584 ia->ia_broadaddr = *(struct sockaddr_in *)&ifr->ifr_broadaddr;
617 error = in_ifinit(ifp, ia, (struct sockaddr_in *) &ifr->ifr_addr, 1);