Lines Matching refs:statp
145 fp_resstat(const res_state statp, FILE *file) {
150 if (statp->options & mask)
157 do_section(const res_state statp,
170 sflag = (int)(statp->pfcode & pflag);
171 if (statp->pfcode && !sflag)
188 (statp->pfcode & RES_PRF_HEAD1))
192 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1))
289 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
309 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode)
313 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX))
315 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) {
334 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) {
344 if ((!statp->pfcode) || (statp->pfcode &
351 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file);
352 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file);
353 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file);
354 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file);