Lines Matching refs:hostname
199 char *hostname = NULL; in init_client() local
201 hostname = BIO_ADDR_hostname_string(BIO_ADDRINFO_address(ai), 1); in init_client()
202 if (hostname != NULL) { in init_client()
203 BIO_printf(bio_err, "Connecting to %s\n", hostname); in init_client()
204 OPENSSL_free(hostname); in init_client()
218 void get_sock_info_address(int asock, char **hostname, char **service) in get_sock_info_address() argument
222 if (hostname != NULL) in get_sock_info_address()
223 *hostname = NULL; in get_sock_info_address()
229 if (hostname != NULL) in get_sock_info_address()
230 *hostname = BIO_ADDR_hostname_string(info.addr, 1); in get_sock_info_address()
244 char *hostname, *service; in report_server_accept() local
246 get_sock_info_address(asock, &hostname, &service); in report_server_accept()
247 success = hostname != NULL && service != NULL; in report_server_accept()
250 strchr(hostname, ':') == NULL in report_server_accept()
253 hostname, service) > 0; in report_server_accept()
256 OPENSSL_free(hostname); in report_server_accept()