Home | History | Annotate | Download | only in net

Lines Matching defs:answer

214 	u_char *answer;		/* buffer to put answer */
215 int anslen; /* size of answer buffer */
1294 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1312 assert(answer != NULL);
1320 eom = answer->buf + anslen;
1331 * find first satisfactory answer
1333 hp = &answer->hdr;
1338 cp = answer->buf + HFIXEDSZ;
1343 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
1367 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
1386 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
1909 q.answer = buf->buf;
1923 q2.answer = buf2->buf;
1938 q.answer = buf->buf;
1945 q.answer = buf->buf;
2127 * Formulate a normal query, send, and await answer.
2128 * Returned answer is placed in supplied buffer "answer".
2129 * Perform preliminary check of answer, returning success only
2130 * if no error is indicated and the answer count is nonzero.
2134 * Caller must parse answer and determine whether it answers the question.
2155 u_char *answer;
2158 hp = (HEADER *)(void *)t->answer;
2164 answer = t->answer;
2185 n = res_nsend(res, buf, n, answer, anslen);
2236 * Formulate a normal query, send, and retrieve answer in supplied buffer.
2238 * If enabled, implement search rules until answer or unrecoverable failure
2253 hp = (HEADER *)(void *)target->answer; /*XXX*/
2320 * If we get some other error (negative answer or