Home | History | Annotate | Download | only in cups

Lines Matching refs:temp

37   struct ifaddrs	*temp;		/* Pointer to current interface */
114 if ((temp = calloc(1, sizeof(struct ifaddrs))) == NULL)
129 temp->ifa_next = *addrs;
130 *addrs = temp;
131 temp->ifa_name = strdup(ifp->ifr_name);
132 temp->ifa_flags = request.ifr_flags;
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)));
146 if ((temp->ifa_netmask = calloc(1, sizeof(request.ifr_netmask))) != NULL)
147 memcpy(temp->ifa_netmask, &(request.ifr_netmask),
156 if (temp->ifa_flags & IFF_BROADCAST)
168 if ((temp->ifa_broadaddr =
170 memcpy(temp->ifa_broadaddr, &(request.ifr_broadaddr),
174 else if (temp->ifa_flags & IFF_POINTOPOINT)
182 temp->ifa_dstaddr = malloc(sizeof(request.ifr_dstaddr));
183 memcpy(temp->ifa_dstaddr, &(request.ifr_dstaddr),