Home
last modified time | relevance | path

Searched refs:len_domain (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/bsd/libbind/dist/resolv/
H A Dres_data.c293 int len_host, len_domain; in local_hostname_length() local
298 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()
/netbsd-src/lib/libc/resolv/
H A Dres_data.c345 int len_host, len_domain; in local_hostname_length() local
350 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()