Home | History | Annotate | Download | only in mDNSCore

Lines Matching refs:forecast

2578 		mDNSu32 forecast = *answerforecast;
2601 // We forecast: compressed name (2) type (2) class (2) TTL (4) rdlength (2) rdata (n)
2602 forecast += 12 + rr->resrec.rdestimate;
2605 if (query->h.numQuestions > 1 && newptr + forecast >= limit)
2607 debugf("BuildQuestion: Retracting question %##s (%s) new forecast total %d",
2608 q->qname.c, DNSTypeName(q->qtype), newptr + forecast - query->data);
2618 *answerforecast = forecast; // Update the forecast
2816 // We forecast: qname (n) type (2) class (2)
2817 mDNSu32 forecast = (mDNSu32)DomainNameLength(&q->qname) + 4;
2827 // We forecast: compressed name (2) type (2) class (2) TTL (4) rdlength (2) rdata (n)
2828 forecast += 12 + rr->resrec.rdestimate;
2829 if (forecast >= 512) return(mDNSfalse); // If this would add 512 bytes or more to the packet, don't accelerate
3095 debugf("SendQueries: %s question for %##s (%s) at %d forecast total %d",
3120 // We forecast: compressed name (2) type (2) class (2) TTL (4) rdlength (2) rdata (n)
3121 mDNSu32 forecast = answerforecast + 12 + ar->resrec.rdestimate;
3122 mDNSu8 *newptr = putQuestion(&m->omsg, queryptr, limit - forecast, ar->resrec.name, kDNSQType_ANY, (mDNSu16)(ar->resrec.rrclass | ucbit));
3126 answerforecast = forecast;