Lines Matching refs:ret
150 * @param ret pre-allocated struct where to store the result
153 * @param result pointer to a hostent pointer that is set to ret on success
161 lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf,
182 if ((name == NULL) || (ret == NULL) || (buf == NULL)) {
214 ret->h_name = hostname;
215 ret->h_aliases = &h->aliases;
216 ret->h_addrtype = AF_INET;
217 ret->h_length = sizeof(ip_addr_t);
218 ret->h_addr_list = (char **)&h->addr_list;
221 *result = ret;