Lines Matching full:addrinfo
175 * Returns a list of portable addrinfo structures that are
184 struct addrinfo *native_hints;
185 struct addrinfo **native_results, *rp;
195 * The only part of the addrinfo structure that needs to be modified
198 ASSERT(sizeof(struct addrinfo_portable) == sizeof(struct addrinfo));
199 native_hints = ((struct addrinfo *) portable_hints);
205 native_results = (struct addrinfo **) portable_results;
215 * Map socktypes in the return list of addrinfo structures from native to portable.
236 struct addrinfo *native_results, *rp;
244 * The only part of each addrinfo structure that needs to be modified
247 * Map socktypes in the return list of iportable addrinfo structures back to native.
251 ASSERT(sizeof(struct addrinfo_portable) == sizeof(struct addrinfo));
252 native_results = ((struct addrinfo *) portable_results);