Lines Matching refs:ifrp
87 register struct lifreq *ifrp, *ifend;
168 ifrp = (struct lifreq *)buf;
171 for (; ifrp < ifend; ifrp++) {
175 if (((struct sockaddr *)&ifrp->lifr_addr)->sa_family == AF_INET6)
185 if (strncmp(ifrp->lifr_name, "dummy", 5) == 0)
194 p = strchr(ifrp->lifr_name, ':');
214 strncpy(ifrflags.lifr_name, ifrp->lifr_name,
233 strncpy(ifrnetmask.lifr_name, ifrp->lifr_name,
235 memcpy(&ifrnetmask.lifr_addr, &ifrp->lifr_addr,
260 strncpy(ifrbroadaddr.lifr_name, ifrp->lifr_name,
262 memcpy(&ifrbroadaddr.lifr_addr, &ifrp->lifr_addr,
295 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name,
297 memcpy(&ifrdstaddr.lifr_addr, &ifrp->lifr_addr,
329 p = strchr(ifrp->lifr_name, ':');
351 if (add_addr_to_iflist(&devlist, ifrp->lifr_name,
352 ifrflags.lifr_flags, (struct sockaddr *)&ifrp->lifr_addr,