Lines Matching defs:ifp
35 struct ifreq *ifp; /* Interface data */
94 ifp = (struct ifreq *)bufptr;
95 ifpsize = sizeof(ifp->ifr_name) + sockaddr_len(&(ifp->ifr_addr));
101 memcpy(request.ifr_name, ifp->ifr_name, sizeof(ifp->ifr_name));
131 temp->ifa_name = strdup(ifp->ifr_name);
133 if ((temp->ifa_addr = calloc(1, sockaddr_len(&(ifp->ifr_addr)))) != NULL)
134 memcpy(temp->ifa_addr, &(ifp->ifr_addr), sockaddr_len(&(ifp->ifr_addr)));