Lines Matching refs:statp
133 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
138 if (statp->options & mask) in fp_resstat()
144 do_section(const res_state statp, in do_section() argument
157 sflag = (statp->pfcode & pflag); in do_section()
158 if (statp->pfcode && !sflag) in do_section()
175 (statp->pfcode & RES_PRF_HEAD1)) in do_section()
179 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section()
273 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery() argument
293 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
297 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX)) in res_pquery()
299 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) { in res_pquery()
318 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) { in res_pquery()
328 if ((!statp->pfcode) || (statp->pfcode & in res_pquery()
335 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file); in res_pquery()
336 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file); in res_pquery()
337 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file); in res_pquery()
338 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file); in res_pquery()