Searched refs:len_domain (Results 1 – 2 of 2) sorted by relevance
302 int len_host, len_domain; in local_hostname_length() local307 len_domain = strlen(_res.defdname); in local_hostname_length()308 if (len_host > len_domain && in local_hostname_length()309 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()310 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()311 return (len_host - len_domain - 1); in local_hostname_length()
5541 size_t len_host, len_domain; local5546 len_domain = strlen(_res.defdname);5547 if (len_host > len_domain &&5548 (sm_strcasecmp(hostname + len_host - len_domain,5550 hostname[len_host - len_domain - 1] == '.')5551 return len_host - len_domain - 1;