Searched refs:len_domain (Results 1 – 1 of 1) sorted by relevance
313 int len_host, len_domain; in local_hostname_length() local318 len_domain = strlen(_nres.defdname); in local_hostname_length()319 if (len_host > len_domain && in local_hostname_length()320 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()321 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()322 return (len_host - len_domain - 1); in local_hostname_length()