Searched refs:len_domain (Results 1 – 2 of 2) sorted by relevance
293 int len_host, len_domain; in local_hostname_length() local298 len_domain = strlen(_res.defdname); in local_hostname_length()299 if (len_host > len_domain && in local_hostname_length()300 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()301 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()302 return (len_host - len_domain - 1); in local_hostname_length()
345 int len_host, len_domain; in local_hostname_length() local350 len_domain = strlen(_nres.defdname); in local_hostname_length()351 if (len_host > len_domain && in local_hostname_length()352 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()353 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()354 return (len_host - len_domain - 1); in local_hostname_length()