Lines Matching refs:name
3 * API functions for name resolving
18 * 3. The name of the author may not be used to endorse or promote products
79 * for the host with name name.
82 * @param name the hostname to resolve
84 * for the host with name name
87 lwip_gethostbyname(const char *name)
100 err = netconn_gethostbyname(name, &addr);
102 LWIP_DEBUGF(DNS_DEBUG, ("lwip_gethostbyname(%s) failed, err=%d\n", name, err));
111 strncpy(s_hostname, name, DNS_MAX_NAME_LENGTH);
149 * @param name the hostname to resolve
161 lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf,
182 if ((name == NULL) || (ret == NULL) || (buf == NULL)) {
188 namelen = strlen(name);
190 /* buf can't hold the data needed + a copy of name */
199 err = netconn_gethostbyname(name, &h->addr);
201 LWIP_DEBUGF(DNS_DEBUG, ("lwip_gethostbyname(%s) failed, err=%d\n", name, err));
207 MEMCPY(hostname, name, namelen);
247 * Translates the name of a service location (for example, a host name) and/or
248 * a service name and returns a set of socket addresses and associated
258 * @param nodename descriptive name or address string of the host
305 /* service name specified: convert to port number
358 /* invalid name length */