Lines Matching defs:servname
30 * numbers for host hostname and service servname. The function is the
32 * RFC2133. hostname and servname are pointers to null-terminated strings
34 * string: a dotted decimal IPv4 address or an IPv6 address. servname is
128 * servname are NULL lwres_getaddrinfo() returns #EAI_NONAME.
175 /*% Get a list of IP addresses and port numbers for host hostname and service servname. */
177 lwres_getaddrinfo(const char *hostname, const char *servname,
188 if (hostname == NULL && servname == NULL)
260 * hostname/servname is '/'.
267 if (servname != NULL &&
268 (family == AF_LOCAL || (family == 0 && *servname == '/')))
269 return (get_local(servname, socktype, res));
282 if (servname != NULL) {
285 port = strtol(servname, &e, 10);
293 sp = getservbyname(servname, proto);