Lines Matching refs:host
264 char *host = NULL;
308 , &host );
319 * Determine if the "host name" is an ip address. If so,
320 * we must look up the actual host name corresponding to
323 if ( NULL == host ) {
327 if (strlen(host) < INET6_ADDRSTRLEN &&
328 inet_pton(AF_INET6, host, &addr_ipv6) == 1) {
330 } else if (strlen(host) < INET_ADDRSTRLEN &&
331 inet_pton(AF_INET, host, &addr_ipv4) == 1) {
337 /* will free host in close_socket_and_exit_with_error */
342 hent = _ns_gethostbyaddr(sseip->ld, host, strlen(host), type,
345 /* If we are unable to lookup the host addr, we fail! */
349 "Unable to resolve '%s'", host);
351 /* will free host in close_socket_and_exit_with_error */
354 /* We support only the primary host name */
362 ldap_memfree(host); host = NULL;
363 host = name;
414 if (SSL_SetURL(sslfd, host) != SECSuccess)
416 ldap_memfree(host);
417 host = NULL;
438 if ( NULL != host ) ldap_memfree(host);
731 * the cn is checked against the host name, set with SSL_SetURL()
1157 * host name from an address when it is unsafe to use the normal
1217 * must be resolved to a host name.
1226 * fully qualified names if the host names are stored as fully qualified names