Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_data.c319 int len_host, len_domain; in local_hostname_length() local
324 len_domain = strlen(_nres.defdname); in local_hostname_length()
325 if (len_host > len_domain && in local_hostname_length()
326 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()
327 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()
328 return (len_host - len_domain - 1); in local_hostname_length()