Searched refs:is_valid_hostname (Results 1 – 1 of 1) sorted by relevance
22 static int is_valid_hostname(const char *host) in is_valid_hostname() function94 if (is_valid_hostname(p)) memcpy(canon, p, z-p+1); in name_from_hosts()130 data, tmp, sizeof tmp) > 0 && is_valid_hostname(tmp)) in dns_parse_callback()