Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libresolv/
H A Dres_init.c178 strcpy(_res.defdname, buf); in res_init()
180 strcpy(_res.defdname, cp+1); in res_init()
184 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname)); in res_init()
200 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init()
202 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
204 if ((cp = index(_res.defdname, '\n')) != NULL) in res_init()
219 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init()
221 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
223 if ((cp = index(_res.defdname, '\n')) != NULL) in res_init()
230 cp = _res.defdname; in res_init()
[all …]
H A Dresolv.h78 char defdname[MAXDNAME]; /* default domain */ member
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c361 char buf[sizeof(statp->defdname)], *cp; in __res_vinit()
370 strncpy(statp->defdname, cp, in __res_vinit()
371 sizeof(statp->defdname) - 1); in __res_vinit()
372 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
379 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
380 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
390 cp = statp->defdname; in __res_vinit()
433 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
434 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
435 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit()
[all …]
H A Dres_data.c308 if (!*_res.defdname) in local_hostname_length()
311 len_domain = strlen(_res.defdname); in local_hostname_length()
313 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()
/titanic_41/usr/src/lib/libmapid/common/
H A Dmapid.c201 len = strlen(res.defdname) + 1; in resolv_init()
204 (void) snprintf(s_dname, len, "%s", res.defdname); in resolv_init()
208 (void) snprintf(sysdns_domain, len, "%s", res.defdname); in resolv_init()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c276 if (*res_state.defdname == '\0') { in smb_getfqdomainname()
281 (void) strlcpy(buf, res_state.defdname, buflen); in smb_getfqdomainname()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_domain.c354 entry = res_state.defdname; in smb_ddiscover_domain_match()
/titanic_41/usr/src/head/
H A Dresolv.h198 char defdname[256]; /* default domain (deprecated) */ member
/titanic_41/usr/src/cmd/sendmail/src/
H A Ddomain.c868 *dp++ = _res.defdname;
H A Dconf.c5542 if (!*_res.defdname)
5545 len_domain = strlen(_res.defdname);
5548 _res.defdname) == 0) &&