Lines Matching refs:statp
129 fp_resstat(const res_state statp, FILE *file) {
134 if (statp->options & mask)
140 do_section(const res_state statp,
153 sflag = (statp->pfcode & pflag);
154 if (statp->pfcode && !sflag)
171 (statp->pfcode & RES_PRF_HEAD1))
175 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1))
269 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
289 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode)
293 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX))
295 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD2)) {
314 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEAD1)) {
324 if ((!statp->pfcode) || (statp->pfcode &
331 do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file);
332 do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file);
333 do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file);
334 do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file);