Lines Matching refs:hostname
43 * when globbing NULL hostname (to loopback, or wildcard). Is it the right
200 "Address family for hostname not supported", /* EAI_ADDRFAMILY */
206 "No address associated with hostname", /* EAI_NODATA */
207 "hostname nor servname provided, or not known", /* EAI_NONAME */
296 getaddrinfo(hostname, servname, hints, res)
297 const char *hostname, *servname;
334 if (hostname == NULL && servname == NULL)
403 /* NULL hostname, or numeric hostname */
421 if (hostname == NULL)
422 error = explore_null(pai, hostname, servname, &cur->ai_next);
424 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
443 if (hostname == NULL)
447 * hostname as alphabetical name.
481 error = explore_fqdn(pai, hostname, servname,
512 * FQDN hostname, DNS lookup
515 explore_fqdn(pai, hostname, servname, res)
517 const char *hostname;
558 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error);
561 hp = gethostbyname2(hostname, pai->ai_family);
565 hp = gethostbyname(hostname);
684 * hostname == NULL.
689 explore_null(pai, hostname, servname, res)
691 const char *hostname;
749 * numeric hostname
752 explore_numeric(pai, hostname, servname, res)
754 const char *hostname;
778 if (inet_pton(afd->a_af, hostname, pton) == 1) {
838 * numeric hostname with scope
841 explore_numeric_scope(pai, hostname, servname, res)
843 const char *hostname;
848 return explore_numeric(pai, hostname, servname, res);
865 return explore_numeric(pai, hostname, servname, res);
867 cp = strchr(hostname, SCOPE_DELIMITER);
869 return explore_numeric(pai, hostname, servname, res);
874 hostname2 = strdup(hostname);
878 hostname2[cp - hostname] = '\0';