Home | History | Annotate | Download | only in openssh

Lines Matching refs:hostname

141  * Check if hostname is numerical.
142 * Returns -1 if hostname is numeric, 0 otherwise
145 is_numeric_hostname(const char *hostname)
153 if (hostname == NULL) {
154 error("is_numeric_hostname called with NULL hostname");
162 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) {
171 * Verify the given hostname, address and host key using DNS.
175 verify_host_key_dns(const char *hostname, struct sockaddr *address,
198 if (is_numeric_hostname(hostname)) {
199 debug("skipped DNS lookup for numerical hostname");
204 result = getrrsetbyname(hostname, DNS_RDATACLASS_IN,
284 export_dns_rr(const char *hostname, Key *key, FILE *f, int generic)
298 fprintf(f, "%s IN TYPE%d \\# %d %02x %02x ", hostname,
302 fprintf(f, "%s IN SSHFP %d %d ", hostname,