Searched refs:defdname (Results 1 – 3 of 3) sorted by relevance
169 if (statp->defdname[0] == 0 && gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in res_vinit()171 strcpy(statp->defdname, cp + 1); in res_vinit()176 *pp++ = statp->defdname; in res_vinit()180 for (cp = statp->defdname; *cp; cp++) dots += (*cp == '.'); in res_vinit()182 cp = statp->defdname; in res_vinit()
1146 char defdname[MAXDNSRCHPATH]; member1802 strlcpy(cache_info->defdname, domains, sizeof(cache_info->defdname)); in resolv_set_nameservers_for_net()1803 if ((cp = strchr(cache_info->defdname, '\n')) != NULL) *cp = '\0'; in resolv_set_nameservers_for_net()1804 LOG(INFO) << __func__ << ": domains=\"" << cache_info->defdname << "\""; in resolv_set_nameservers_for_net()1806 cp = cache_info->defdname; in resolv_set_nameservers_for_net()1813 *offset++ = cp - cache_info->defdname; /* record this search domain */ in resolv_set_nameservers_for_net()1905 memcpy(statp->defdname, info->defdname, sizeof(statp->defdname)); in _resolv_populate_res_for_net()1909 *pp++ = &statp->defdname[0] + *p++; in _resolv_populate_res_for_net()1983 const char* cur_domain = info->defdname + info->dnsrch_offset[i]; in android_net_res_stats_get_info_for_net()1989 ((size_t) info->dnsrch_offset[i]) >= sizeof(info->defdname) || !cur_domain[0]) { in android_net_res_stats_get_info_for_net()
97 char defdname[256]; /* default domain (deprecated) */ member