Lines Matching refs:answer
239 u_char *answer; /* buffer to put answer */
240 int anslen; /* size of answer buffer */
1964 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1986 eom = answer->buf + anslen;
1997 * find first satisfactory answer
1999 hp = &answer->hdr;
2004 cp = answer->buf + HFIXEDSZ;
2009 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2033 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2052 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
2286 q.answer = buf->buf;
2292 q2.answer = buf2->buf;
2299 q.answer = buf->buf;
2306 q.answer = buf->buf;
2669 * Formulate a normal query, send, and await answer.
2670 * Returned answer is placed in supplied buffer "answer".
2671 * Perform preliminary check of answer, returning success only
2672 * if no error is indicated and the answer count is nonzero.
2676 * Caller must parse answer and determine whether it answers the question.
2700 u_char *answer;
2703 hp = (HEADER *)(void *)t->answer;
2708 answer = t->answer;
2735 n = res_nsend(res, buf, n, answer, anslen);
2800 * Formulate a normal query, send, and retrieve answer in supplied buffer.
2802 * If enabled, implement search rules until answer or unrecoverable failure
2809 HEADER *hp = (HEADER *)(void *)target->answer; /*XXX*/
2896 * If we get some other error (negative answer or