Home | History | Annotate | Download | only in missing

Lines Matching refs:hostname

43  *   when globbing NULL hostname (to loopback, or wildcard).  Is it the right
195 "Address family for hostname not supported", /* EAI_ADDRFAMILY */
201 "No address associated with hostname", /* EAI_NODATA */
202 "hostname nor servname provided, or not known", /* EAI_NONAME */
289 getaddrinfo(hostname, servname, hints, res)
290 const char *hostname, *servname;
327 if (hostname == NULL && servname == NULL)
396 /* NULL hostname, or numeric hostname */
414 if (hostname == NULL)
415 error = explore_null(pai, hostname, servname, &cur->ai_next);
417 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
436 if (hostname == NULL)
440 * hostname as alphabetical name.
474 error = explore_fqdn(pai, hostname, servname,
505 * FQDN hostname, DNS lookup
508 explore_fqdn(pai, hostname, servname, res)
510 const char *hostname;
551 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error);
554 hp = gethostbyname2(hostname, pai->ai_family);
558 hp = gethostbyname(hostname);
677 * hostname == NULL.
682 explore_null(pai, hostname, servname, res)
684 const char *hostname;
742 * numeric hostname
745 explore_numeric(pai, hostname, servname, res)
747 const char *hostname;
771 if (inet_pton(afd->a_af, hostname, pton) == 1) {
831 * numeric hostname with scope
834 explore_numeric_scope(pai, hostname, servname, res)
836 const char *hostname;
841 return explore_numeric(pai, hostname, servname, res);
858 return explore_numeric(pai, hostname, servname, res);
860 cp = strchr(hostname, SCOPE_DELIMITER);
862 return explore_numeric(pai, hostname, servname, res);
867 hostname2 = strdup(hostname);
871 hostname2[cp - hostname] = '\0';