Lines Matching defs: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))
287 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
307 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode)
311 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX))
313 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) {
332 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) {
342 if ((!statp->pfcode) || (statp->pfcode &
349 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file);
350 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file);
351 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file);
352 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file);