Lines Matching defs:answer
242 u_char *answer; /* buffer to put answer */
243 int anslen; /* size of answer buffer */
1981 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
2003 eom = answer->buf + anslen;
2014 * find first satisfactory answer
2016 hp = &answer->hdr;
2021 cp = answer->buf + HFIXEDSZ;
2026 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2050 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2069 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
2305 q.answer = buf->buf;
2311 q2.answer = buf2->buf;
2318 q.answer = buf->buf;
2325 q.answer = buf->buf;
2688 * Formulate a normal query, send, and await answer.
2689 * Returned answer is placed in supplied buffer "answer".
2690 * Perform preliminary check of answer, returning success only
2691 * if no error is indicated and the answer count is nonzero.
2695 * Caller must parse answer and determine whether it answers the question.
2719 u_char *answer;
2722 hp = (HEADER *)(void *)t->answer;
2727 answer = t->answer;
2754 n = res_nsend(res, buf, n, answer, anslen);
2819 * Formulate a normal query, send, and retrieve answer in supplied buffer.
2821 * If enabled, implement search rules until answer or unrecoverable failure
2828 HEADER *hp = (HEADER *)(void *)target->answer; /*XXX*/
2915 * If we get some other error (negative answer or