Lines Matching refs:host
212 char host[NI_MAXHOST] = "", serv[NI_MAXSERV] = ""; in addr_strings() local
220 host, sizeof(host), serv, sizeof(serv), in addr_strings()
246 *hostname = OPENSSL_strdup(host); in addr_strings()
480 int BIO_parse_hostserv(const char *hostserv, char **host, char **service, in BIO_parse_hostserv() argument
534 if (h != NULL && host != NULL) { in BIO_parse_hostserv()
537 *host = NULL; in BIO_parse_hostserv()
539 *host = OPENSSL_strndup(h, hl); in BIO_parse_hostserv()
540 if (*host == NULL) in BIO_parse_hostserv()
623 int BIO_lookup(const char *host, const char *service, in BIO_lookup() argument
627 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup()
652 int BIO_lookup_ex(const char *host, const char *service, int lookup_type, in BIO_lookup_ex() argument
676 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex()
699 if (host != NULL && family == AF_UNSPEC) in BIO_lookup_ex()
713 switch ((gai_ret = getaddrinfo(host, service, &hints, res))) { in BIO_lookup_ex()
790 if (host == NULL) { in BIO_lookup_ex()
807 he = gethostbyname(host); in BIO_lookup_ex()