Lines Matching refs:limit
1091 <rdar://problem/3325583> Rate-limit responses, to guard against packet flooding
2688 // If we've had fifteen or more probe failures, rate-limit to one every five seconds.
3279 if (++pktcount >= 1000) { LogMsg("SendResponses exceeded loop limit %d: giving up", pktcount); break; }
3413 const mDNSu8 *const limit = query->data + NormalMaxDNSMessageData;
3414 mDNSu8 *newptr = putQuestion(query, *queryptr, limit, &q->qname, q->qtype, (mDNSu16)(q->qclass | ucbit));
3420 else if (newptr + *answerforecast >= limit)
3449 if (query->h.numQuestions > 1 && newptr + forecast >= limit)
3470 if (q->UniqueAnswers || newptr + forecast >= limit)
3641 const mDNSu8 *const limit = m->omsg.data + sizeof(m->omsg.data);
3643 qptr = putQuestion(&m->omsg, qptr, limit, &q->qname, q->qtype, q->qclass);
3797 const mDNSu8 *const limit = m->omsg.data + ((m->omsg.h.numQuestions) ? NormalMaxDNSMessageData : AbsoluteMaxDNSMessageData);
3798 mDNSu8 *newptr = putQuestion(&m->omsg, queryptr, limit, rr->resrec.name, kDNSQType_ANY, (mDNSu16)(rr->resrec.rrclass | ucbit));
3801 if (newptr && newptr + forecast < limit)
3866 { LogMsg("SendQueries exceeded loop limit %d: giving up", pktcount); break; }
4527 if (i >= 1000) LogMsg("mDNS_Execute: AnswerNewQuestion exceeded loop limit");
4530 if (i >= 1000) LogMsg("mDNS_Execute: AnswerNewLocalOnlyQuestion exceeded loop limit");
4538 if (i >= 1000) LogMsg("mDNS_Execute: AnswerForNewLocalRecords exceeded loop limit");
4690 const mDNSu8 *const limit = response->data + sizeof(response->data);
4715 responseptr = putQuestion(response, responseptr, limit, &q.qname, q.qtype, q.qclass);
6320 // To work around this, we simply unilaterally limit all legacy _ichat-type updates to a single announcement.