Searched refs:len_domain (Results 1 – 2 of 2) sorted by relevance
306 int len_host, len_domain; in local_hostname_length() local311 len_domain = strlen(_res.defdname); in local_hostname_length()312 if (len_host > len_domain && in local_hostname_length()313 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()314 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()315 return (len_host - len_domain - 1); in local_hostname_length()
5540 size_t len_host, len_domain; local5545 len_domain = strlen(_res.defdname);5546 if (len_host > len_domain &&5547 (sm_strcasecmp(hostname + len_host - len_domain,5549 hostname[len_host - len_domain - 1] == '.')5550 return len_host - len_domain - 1;