Lines Matching refs:answer
240 u_char *answer; /* buffer to put answer */
241 int anslen; /* size of answer buffer */
1983 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
2005 eom = answer->buf + anslen;
2016 * find first satisfactory answer
2018 hp = &answer->hdr;
2023 cp = answer->buf + HFIXEDSZ;
2028 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2052 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2071 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
2307 q.answer = buf->buf;
2313 q2.answer = buf2->buf;
2320 q.answer = buf->buf;
2327 q.answer = buf->buf;
2690 * Formulate a normal query, send, and await answer.
2691 * Returned answer is placed in supplied buffer "answer".
2692 * Perform preliminary check of answer, returning success only
2693 * if no error is indicated and the answer count is nonzero.
2697 * Caller must parse answer and determine whether it answers the question.
2721 u_char *answer;
2724 hp = (HEADER *)(void *)t->answer;
2729 answer = t->answer;
2756 n = res_nsend(res, buf, n, answer, anslen);
2821 * Formulate a normal query, send, and retrieve answer in supplied buffer.
2823 * If enabled, implement search rules until answer or unrecoverable failure
2830 HEADER *hp = (HEADER *)(void *)target->answer; /*XXX*/
2917 * If we get some other error (negative answer or