Home | History | Annotate | Download | only in c-ares

Lines Matching defs:optmask

80                            int optmask);
118 int optmask)
198 status = init_by_options(channel, options, optmask);
273 int optmask;
279 rc = ares_save_options(src, &opts, &optmask);
284 rc = ares_init_options(dest, &opts, optmask);
323 int *optmask)
334 /* Traditionally the optmask wasn't saved in the channel struct so it was
337 (*optmask) = (ARES_OPT_FLAGS|ARES_OPT_TRIES|ARES_OPT_NDOTS|
341 (channel->optmask & ARES_OPT_ROTATE);
416 int optmask)
421 if ((optmask & ARES_OPT_FLAGS) && channel->flags == -1)
423 if ((optmask & ARES_OPT_TIMEOUTMS) && channel->timeout == -1)
425 else if ((optmask & ARES_OPT_TIMEOUT) && channel->timeout == -1)
427 if ((optmask & ARES_OPT_TRIES) && channel->tries == -1)
429 if ((optmask & ARES_OPT_NDOTS) && channel->ndots == -1)
431 if ((optmask & ARES_OPT_ROTATE) && channel->rotate == -1)
433 if ((optmask & ARES_OPT_UDP_PORT) && channel->udp_port == -1)
435 if ((optmask & ARES_OPT_TCP_PORT) && channel->tcp_port == -1)
437 if ((optmask & ARES_OPT_SOCK_STATE_CB) && channel->sock_state_cb == NULL)
442 if ((optmask & ARES_OPT_SOCK_SNDBUF)
445 if ((optmask & ARES_OPT_SOCK_RCVBUF)
450 if ((optmask & ARES_OPT_SERVERS) && channel->nservers == -1)
473 if ((optmask & ARES_OPT_DOMAINS) && channel->ndomains == -1)
493 if ((optmask & ARES_OPT_LOOKUPS) && !channel->lookups)
501 if ((optmask & ARES_OPT_SORTLIST) && (channel->nsort == -1) &&
511 channel->optmask = optmask;