Home | History | Annotate | Download | only in net

Lines Matching full:answer

210 	u_char *answer;		/* buffer to put answer */
211 int anslen; /* size of answer buffer */
1304 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1322 assert(answer != NULL);
1330 eom = answer->buf + anslen;
1341 * find first satisfactory answer
1343 hp = &answer->hdr;
1348 cp = answer->buf + HFIXEDSZ;
1353 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
1377 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
1396 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
1927 q.answer = buf->buf;
1946 q2.answer = buf2->buf;
1961 q.answer = buf->buf;
1968 q.answer = buf->buf;
2143 * Formulate a normal query, send, and await answer.
2144 * Returned answer is placed in supplied buffer "answer".
2145 * Perform preliminary check of answer, returning success only
2146 * if no error is indicated and the answer count is nonzero.
2150 * Caller must parse answer and determine whether it answers the question.
2171 u_char *answer;
2174 hp = (HEADER *)(void *)t->answer;
2180 answer = t->answer;
2201 n = res_nsend(res, buf, n, answer, anslen);
2252 * Formulate a normal query, send, and retrieve answer in supplied buffer.
2254 * If enabled, implement search rules until answer or unrecoverable failure
2269 hp = (HEADER *)(void *)target->answer; /*XXX*/
2330 * If we get some other error (negative answer or