Searched refs:defdname (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_init.c | 179 strcpy(_res.defdname, buf); in res_init() 181 strcpy(_res.defdname, cp+1); in res_init() 185 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname)); in res_init() 201 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init() 220 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init() 231 cp = _res.defdname; in res_init() 274 if (_res.defdname[0] == 0) { in res_init() 281 (void) strcpy(_res.defdname, cp + 1); in res_init() 287 *pp++ = _res.defdname; in res_init() 288 for (cp = _res.defdname, n = 0; *cp; cp++) in res_init() [all …]
|
H A D | resolv.h | 76 char defdname[MAXDNAME]; /* default domain */ member
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 367 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 374 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 375 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 385 cp = statp->defdname; in __res_vinit() 428 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 429 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 444 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 445 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 452 cp = statp->defdname; in __res_vinit() 580 *pp++ = statp->defdname; in __res_vinit() [all …]
|
H A D | res_data.c | 304 if (!*_res.defdname) in local_hostname_length() 307 len_domain = strlen(_res.defdname); in local_hostname_length() 309 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()
|
/illumos-gate/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 201 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()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_info.c | 359 if (*res_state.defdname == '\0') { in smb_getfqdomainname() 364 (void) strlcpy(buf, res_state.defdname, buflen); in smb_getfqdomainname()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | util.c | 941 if (!ipadm_is_nil_hostname(res_state.defdname)) in dhcp_adopt_domainname() 942 domainname = res_state.defdname; in dhcp_adopt_domainname()
|
/illumos-gate/usr/src/head/ |
H A D | resolv.h | 198 char defdname[256]; /* default domain (deprecated) */ member
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 866 *dp++ = _res.defdname;
|
H A D | conf.c | 5543 if (!*_res.defdname) 5546 len_domain = strlen(_res.defdname); 5549 _res.defdname) == 0) &&
|