Home | History | Annotate | Download | only in Src

Lines Matching refs:hostname

43  *   when globbing NULL hostname (to loopback, or wildcard).  Is it the right
205 "Address family for hostname not supported", /* EAI_ADDRFAMILY */
211 "No address associated with hostname", /* EAI_NODATA */
212 "hostname nor servname provided, or not known", /* EAI_NONAME */
301 getaddrinfo(hostname, servname, hints, res)
302 const char *hostname, *servname;
339 if (hostname == NULL && servname == NULL)
408 /* NULL hostname, or numeric hostname */
426 if (hostname == NULL)
427 error = explore_null(pai, hostname, servname, &cur->ai_next);
429 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
448 if (hostname == NULL)
452 * hostname as alphabetical name.
486 error = explore_fqdn(pai, hostname, servname,
517 * FQDN hostname, DNS lookup
520 explore_fqdn(pai, hostname, servname, res)
522 const char *hostname;
563 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error);
566 hp = gethostbyname2(hostname, pai->ai_family);
570 hp = gethostbyname(hostname);
689 * hostname == NULL.
694 explore_null(pai, hostname, servname, res)
696 const char *hostname;
754 * numeric hostname
757 explore_numeric(pai, hostname, servname, res)
759 const char *hostname;
783 if (inet_pton(afd->a_af, hostname, pton) == 1) {
843 * numeric hostname with scope
846 explore_numeric_scope(pai, hostname, servname, res)
848 const char *hostname;
853 return explore_numeric(pai, hostname, servname, res);
870 return explore_numeric(pai, hostname, servname, res);
872 cp = strchr(hostname, SCOPE_DELIMITER);
874 return explore_numeric(pai, hostname, servname, res);
879 hostname2 = strdup(hostname);
883 hostname2[cp - hostname] = '\0';