Lines Matching refs:statp
137 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
142 if (statp->options & mask) in fp_resstat()
149 do_section(const res_state statp, in do_section() argument
162 sflag = (int)(statp->pfcode & pflag); in do_section()
163 if (statp->pfcode && !sflag) in do_section()
180 (statp->pfcode & RES_PRF_HEAD1)) in do_section()
184 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section()
279 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery() argument
299 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
303 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX)) in res_pquery()
305 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) { in res_pquery()
324 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) { in res_pquery()
334 if ((!statp->pfcode) || (statp->pfcode & in res_pquery()
341 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file); in res_pquery()
342 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file); in res_pquery()
343 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file); in res_pquery()
344 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file); in res_pquery()