Lines Matching defs:opts
158 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
165 opts |= RES_IPV4ONLY;
166 opts &= ~RES_IPV6ONLY;
172 result = res_findzonecut2(statp, dname, class, opts, zname, zsize,
184 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts,
202 if ((n = get_soa(statp, dname, class, opts, zname, zsize,
204 ((opts & RES_EXHAUSTIVE) == 0 &&
209 if ((n = get_ns(statp, zname, class, opts, &nsrrs)) < 0 ||
210 ((opts & RES_EXHAUSTIVE) == 0 &&
215 if ((n = get_glue(statp, class, opts, &nsrrs)) >= 0)
274 get_soa(res_state statp, const char *dname, ns_class class, int opts,
383 zname, class, opts, nsrrsp) < 0) {
414 get_ns(res_state statp, const char *zname, ns_class class, int opts,
435 if (save_ns(statp, &msg, ns_s_an, zname, class, opts, nsrrsp) < 0) {
447 get_glue(res_state statp, ns_class class, int opts, rrset_ns *nsrrsp) {
477 opts, nsrr) < 0) {
499 opts, nsrr) < 0) {
523 const char *owner, ns_class class, int opts,
571 nsrr->name, class, opts, nsrr) < 0) {
582 const char *owner, ns_class class, int opts,
602 if ((opts & RES_IPV6ONLY) != 0 && ns_rr_type(rr) != ns_t_aaaa)
604 if ((opts & RES_IPV4ONLY) != 0 && ns_rr_type(rr) != ns_t_a)