Home | History | Annotate | Download | only in BsdSocketLib

Lines Matching full:answer

202 	u_char *answer;		/* buffer to put answer */

203 int anslen; /* size of answer buffer */
1069 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1087 _DIAGASSERT(answer != NULL);
1095 eom = answer->buf + anslen;
1106 * find first satisfactory answer
1108 hp = &answer->hdr;
1113 cp = answer->buf + HFIXEDSZ;
1118 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp));
1142 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp));
1161 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
1335 q.answer = buf->buf;
1341 q2.answer = buf2->buf;
1348 q.answer = buf->buf;
1355 q.answer = buf->buf;
1671 * Formulate a normal query, send, and await answer.
1672 * Returned answer is placed in supplied buffer "answer".
1673 * Perform preliminary check of answer, returning success only
1674 * if no error is indicated and the answer count is nonzero.
1678 * Caller must parse answer and determine whether it answers the question.
1699 u_char *answer;
1702 hp = (HEADER *)(void *)t->answer;
1708 answer = t->answer;
1729 n = res_nsend(res, buf, n, answer, anslen);
1780 * Formulate a normal query, send, and retrieve answer in supplied buffer.
1782 * If enabled, implement search rules until answer or unrecoverable failure
1797 hp = (HEADER *)(void *)target->answer; /*XXX*/
1855 * If we get some other error (negative answer or