Lines Matching refs:host
224 char host[NI_MAXHOST] = "", serv[NI_MAXSERV] = ""; in addr_strings() local
232 host, sizeof(host), serv, sizeof(serv), in addr_strings()
258 *hostname = OPENSSL_strdup(host); in addr_strings()
492 int BIO_parse_hostserv(const char *hostserv, char **host, char **service, in BIO_parse_hostserv() argument
546 if (h != NULL && host != NULL) { in BIO_parse_hostserv()
549 *host = NULL; in BIO_parse_hostserv()
551 *host = OPENSSL_strndup(h, hl); in BIO_parse_hostserv()
552 if (*host == NULL) in BIO_parse_hostserv()
635 int BIO_lookup(const char *host, const char *service, in BIO_lookup() argument
639 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup()
664 int BIO_lookup_ex(const char *host, const char *service, int lookup_type, in BIO_lookup_ex() argument
688 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex()
711 if (host != NULL && family == AF_UNSPEC) in BIO_lookup_ex()
725 switch ((gai_ret = getaddrinfo(host, service, &hints, res))) { in BIO_lookup_ex()
802 if (host == NULL) { in BIO_lookup_ex()
819 he = gethostbyname(host); in BIO_lookup_ex()