Home
last modified time | relevance | path

Searched refs:optmask (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_init.c63 int optmask);
104 int optmask) in ares_init_options() argument
175 status = init_by_options(channel, options, optmask); in ares_init_options()
249 int optmask; in ares_dup() local
255 rc = ares_save_options(src, &opts, &optmask); in ares_dup()
263 rc = ares_init_options(dest, &opts, optmask); in ares_dup()
315 int *optmask) in ares_save_options() argument
329 (*optmask) = (ARES_OPT_FLAGS|ARES_OPT_TRIES|ARES_OPT_NDOTS| in ares_save_options()
333 (*optmask) |= (channel->rotate ? ARES_OPT_ROTATE : ARES_OPT_NOROTATE); in ares_save_options()
336 (*optmask) |= ARES_OPT_RESOLVCONF; in ares_save_options()
[all …]
Dares_private.h297 int optmask; /* the option bitfield passed in at init time */ member
/third_party/node/deps/cares/src/tools/
Dahost.c57 int optmask = 0; in main() local
90 optmask |= ARES_OPT_DOMAINS; in main()
123 status = ares_init_options(&channel, &options, optmask); in main()
Dadig.c161 int c, i, optmask = ARES_OPT_FLAGS, dnsclass = C_IN, type = T_A; in main() local
265 optmask |= ARES_OPT_SERVERS; in main()
299 optmask |= ARES_OPT_TCP_PORT; in main()
307 optmask |= ARES_OPT_UDP_PORT; in main()
320 status = ares_init_options(&channel, &options, optmask); in main()
/third_party/nghttp2/src/
Dshrpx_dns_resolver.cc161 auto optmask = ARES_OPT_SOCK_STATE_CB | ARES_OPT_TIMEOUTMS | ARES_OPT_TRIES; in resolve() local
164 rv = ares_init_options(&chan, &opts, optmask); in resolve()
/third_party/node/deps/cares/include/
Dares.h344 int optmask);
348 int *optmask);
/third_party/node/src/
Dcares_wrap.cc730 const int optmask = in Setup() local
733 r = ares_init_options(&channel_, &options, optmask); in Setup()
/third_party/node/deps/cares/
DCHANGES2346 - api: add ARES_OPT_NOROTATE optmask value
2351 Firstly, ares_save_options() returns (in *optmask) the value of
2352 (channel->optmask & ARES_OPT_ROTATE), which doesn't necessarily
2365 - add an ARES_OPT_NOROTATE optmask value to allow explicit
2368 as exactly one of (optmask & ARES_OPT_ROTATE) or
2369 (optmask & ARES_OPT_NOROTATE).