Searched refs:len_domain (Results 1 – 2 of 2) sorted by relevance
292 int len_host, len_domain; in local_hostname_length() local299 len_domain = strlen(statp->defdname); in local_hostname_length()300 if (len_host > len_domain && in local_hostname_length()301 !strcasecmp(hostname + len_host - len_domain, statp->defdname) && in local_hostname_length()302 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()303 return (len_host - len_domain - 1); in local_hostname_length()
5720 size_t len_host, len_domain; local5725 len_domain = strlen(_res.defdname);5726 if (len_host > len_domain &&5727 (SM_STRCASEEQ(hostname + len_host - len_domain, _res.defdname)) &&5728 hostname[len_host - len_domain - 1] == '.')5729 return len_host - len_domain - 1;