Lines Matching refs:statp
136 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
141 if (statp->options & mask) in fp_resstat()
147 do_section(const res_state statp, in do_section() argument
160 sflag = (statp->pfcode & pflag); in do_section()
161 if (statp->pfcode && !sflag) in do_section()
178 (statp->pfcode & RES_PRF_HEAD1)) in do_section()
182 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section()
276 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery() argument
296 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
300 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX)) in res_pquery()
302 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) { in res_pquery()
321 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) { in res_pquery()
331 if ((!statp->pfcode) || (statp->pfcode & in res_pquery()
338 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file); in res_pquery()
339 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file); in res_pquery()
340 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file); in res_pquery()
341 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file); in res_pquery()