Lines Matching refs:statp
153 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
158 if (statp->options & mask) in fp_resstat()
164 do_section(const res_state statp, in do_section() argument
177 sflag = (statp->pfcode & pflag); in do_section()
178 if (statp->pfcode && !sflag) in do_section()
195 (statp->pfcode & RES_PRF_HEAD1)) in do_section()
199 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section()
293 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery() argument
313 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
317 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX)) in res_pquery()
319 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) { in res_pquery()
338 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) { in res_pquery()
348 if ((!statp->pfcode) || (statp->pfcode & in res_pquery()
355 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file); in res_pquery()
356 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file); in res_pquery()
357 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file); in res_pquery()
358 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file); in res_pquery()