Home | History | Annotate | Download | only in net

Lines Matching full:answer

212 	u_char *answer;		/* buffer to put answer */
213 int anslen; /* size of answer buffer */
1305 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1323 assert(answer != NULL);
1331 eom = answer->buf + anslen;
1342 * find first satisfactory answer
1344 hp = &answer->hdr;
1349 cp = answer->buf;
1355 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
1379 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
1400 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
1927 q.answer = buf->buf;
1941 q2.answer = buf2->buf;
1956 q.answer = buf->buf;
1963 q.answer = buf->buf;
2145 * Formulate a normal query, send, and await answer.
2146 * Returned answer is placed in supplied buffer "answer".
2147 * Perform preliminary check of answer, returning success only
2148 * if no error is indicated and the answer count is nonzero.
2152 * Caller must parse answer and determine whether it answers the question.
2173 u_char *answer;
2176 hp = (HEADER *)(void *)t->answer;
2182 answer = t->answer;
2203 n = res_nsend(res, buf, n, answer, anslen);
2254 * Formulate a normal query, send, and retrieve answer in supplied buffer.
2256 * If enabled, implement search rules until answer or unrecoverable failure
2271 hp = (HEADER *)(void *)target->answer; /*XXX*/
2338 * If we get some other error (negative answer or