Lines Matching defs:answers

21  * - Handling multi-packet known answers
214 /** Number of answers in packet,
215 * (sum of normal, authoritative and additional answers)
217 u16_t answers;
218 /** Number of unparsed answers */
237 /** Number of normal answers written */
238 u16_t answers;
239 /** Number of authoritative answers written */
241 /** Number of additional answers written */
246 /** If all answers in packet should set cache_flush bit */
262 * Shared between questions and answers */
1076 * All questions have to be read before the answers.
1302 * Send chosen answers as a reply
1304 * Add all selected answers (first write will allocate pbuf)
1305 * Add additional answers based on the selected answers
1315 u16_t answers = 0;
1317 /* Write answers to host questions */
1324 answers++;
1331 answers++;
1343 answers++;
1356 answers++;
1364 /* Write answers to service questions */
1376 answers++;
1384 answers++;
1392 answers++;
1400 answers++;
1404 /* if this is a response, the data above is anwers, else this is a probe and the answers above goes into auth section */
1406 outpkt->answers += answers;
1408 outpkt->authoritative += answers;
1411 /* All answers written, add additional RRs */
1478 hdr.numanswers = lwip_htons(outpkt->answers);
1557 * 1. Parse all questions and set bits what answers to send
1558 * 2. Clear pending answers if known answers are supplied
1559 * 3. Put chosen answers in new packet and send as reply
1619 /* Handle known answers */
1637 /* Skip known answers for ANY type & class */
1889 packet.answers = packet.answers_left = lwip_ntohs(hdr.numanswers) + lwip_ntohs(hdr.numauthrr) + lwip_ntohs(hdr.numextrarr);
1981 /* Add answers to the questions above into the authority section for tiebreaking */