Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c306 int len_host, len_domain; in local_hostname_length() local
311 len_domain = strlen(_res.defdname); in local_hostname_length()
312 if (len_host > len_domain && in local_hostname_length()
313 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()
314 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()
315 return (len_host - len_domain - 1); in local_hostname_length()
/titanic_44/usr/src/cmd/sendmail/src/
H A Dconf.c5540 size_t len_host, len_domain; local
5545 len_domain = strlen(_res.defdname);
5546 if (len_host > len_domain &&
5547 (sm_strcasecmp(hostname + len_host - len_domain,
5549 hostname[len_host - len_domain - 1] == '.')
5550 return len_host - len_domain - 1;