Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c302 int len_host, len_domain; in local_hostname_length() local
307 len_domain = strlen(_res.defdname); in local_hostname_length()
308 if (len_host > len_domain && in local_hostname_length()
309 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()
310 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()
311 return (len_host - len_domain - 1); in local_hostname_length()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c5541 size_t len_host, len_domain; local
5546 len_domain = strlen(_res.defdname);
5547 if (len_host > len_domain &&
5548 (sm_strcasecmp(hostname + len_host - len_domain,
5550 hostname[len_host - len_domain - 1] == '.')
5551 return len_host - len_domain - 1;