Home
last modified time | relevance | path

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

/freebsd/lib/libc/resolv/
H A Dres_data.c292 int len_host, len_domain; in local_hostname_length() local
299 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()
/freebsd/contrib/sendmail/src/
H A Dconf.c5720 size_t len_host, len_domain; local
5725 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;