Home
last modified time | relevance | path

Searched refs:ndots (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/cares/src/lib/
H A Dares_search.c68 size_t ndots; in ares_search_int() local
128 ndots = 0; in ares_search_int()
131 ndots++; in ares_search_int()
135 /* If ndots is at least the channel ndots threshold (usually 1), in ares_search_int()
139 if (ndots >= channel->ndots || squery->ndomains == 0) { in ares_search_int()
H A Dares_options.c126 options->ndots = (int)channel->ndots; in ares_save_options()
319 if (options->ndots <= 0) { in ares__init_by_options()
322 channel->ndots = (size_t)options->ndots; in ares__init_by_options()
H A Dares_sysconfig.c957 if (res.ndots > 0) { in ares__init_sysconfig_libresolv()
958 sysconfig->ndots = (size_t)res.ndots; in ares__init_sysconfig_libresolv()
1046 if (sysconfig->ndots && !(channel->optmask & ARES_OPT_NDOTS)) { in ares_sysconfig_apply()
1047 channel->ndots = sysconfig->ndots; in ares_sysconfig_apply()
H A Dares_getaddrinfo.c753 size_t ndots = 0; in as_is_first() local
756 ndots++; in as_is_first()
760 /* prevent ARES_EBADNAME for valid FQDN, where ndots < channel->ndots */ in as_is_first()
763 return ndots >= hquery->channel->ndots ? ARES_TRUE : ARES_FALSE; in as_is_first()
H A Dares_private.h240 size_t ndots; member
390 size_t ndots; member
563 (x && x->lookups && ares__slist_len(x->servers) > 0 && x->ndots > 0 && \
H A Dares_init.c155 if (channel->ndots == 0) { in init_by_defaults()
156 channel->ndots = 1; in init_by_defaults()
H A Dares_sysconfig_files.c388 val = try_option(p, q, "ndots:"); in set_options()
390 sysconfig->ndots = strtoul(val, NULL, 10); in set_options()
/third_party/musl/porting/linux/user/src/network/
H A Dresolvconf.c130 conf->ndots = 1; in get_resolv_conf_ext()
202 p = strstr(line, "ndots:"); in get_resolv_conf_ext()
206 if (z != p) conf->ndots = x > 15 ? 15 : x; in get_resolv_conf_ext()
H A Dlookup.h49 unsigned nns, attempts, ndots; member
H A Dlookup_name.c265 /* Count dots, suppress search when >=ndots or name ends in in name_from_dns_search()
268 if (dots >= conf.ndots || name[l-1]=='.') *search = 0; in name_from_dns_search()
/third_party/musl/src/network/
H A Dresolvconf.c116 conf->ndots = 1; in get_resolv_conf_ext()
196 p = strstr(line, "ndots:"); in get_resolv_conf_ext()
200 if (z != p) conf->ndots = x > 15 ? 15 : x; in get_resolv_conf_ext()
H A Dlookup.h52 unsigned nns, attempts, ndots; member
H A Dlookup_name.c319 /* Count dots, suppress search when >=ndots or name ends in in name_from_dns_search()
322 if (dots >= conf.ndots || name[l-1]=='.') *search = 0; in name_from_dns_search()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dresolv.h37 unsigned ndots:4; member
/third_party/musl/porting/liteos_m/kernel/include/
H A Dresolv.h37 unsigned ndots:4; member
/third_party/musl/porting/uniproton/kernel/include/
H A Dresolv.h37 unsigned ndots:4; member
/third_party/musl/include/
H A Dresolv.h37 unsigned ndots:4; member
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dnameservercheck_client.c45 unsigned nns, attempts, ndots; member
400 .ndots = 1, in main()
/third_party/cares/include/
H A Dares.h263 int ndots; member
/third_party/node/deps/cares/include/
H A Dares.h319 int ndots; member

Completed in 27 milliseconds