Lines Matching refs:servname
15 * numbers for host hostname and service servname as defined in RFC3493.
16 * hostname and servname are pointers to null-terminated strings
18 * string: a dotted decimal IPv4 address or an IPv6 address. servname is
111 * servname are NULL getaddrinfo() returns #EAI_NONAME.
184 * service servname.
187 getaddrinfo(const char *hostname, const char *servname,
199 if (hostname == NULL && servname == NULL)
271 * hostname/servname is '/'.
278 if (servname != NULL &&
279 (family == AF_LOCAL || (family == 0 && *servname == '/')))
280 return (get_local(servname, socktype, res));
293 if (servname != NULL) {
296 port = strtol(servname, &e, 10);
304 sp = getservbyname(servname, proto);