Lines Matching refs:interval
586 // This means that because the announce interval is doubled after sending the first packet, the first
587 // observed on-the-wire inter-packet interval between announcements is actually one second.
689 // See: <rdar://problem/7795434> mDNS: Sometimes advertising stops working and record interval is set to zero
702 // For reverse-mapping Sleep Proxy PTR records, probe interval is one second
710 // The addition of "interval / 2" is to make sure that, in the event that any of the probes are
2028 // One-second interval, two-second interval, four-second interval, and so on.
2535 mDNSlocal mStatus mDNS_Reconfirm_internal(mDNS *const m, CacheRecord *const rr, mDNSu32 interval)
2537 if (interval < kMinimumReconfirmTime)
2538 interval = kMinimumReconfirmTime;
2539 if (interval > 0x10000000) // Make sure interval doesn't overflow when we multiply by four below
2540 interval = 0x10000000;
2542 // If the expected expiration time for this record is more than interval+33%, then accelerate its expiration
2543 if (RRExpireTime(rr) - m->timenow > (mDNSs32)((interval * 4) / 3))
2545 // Add a 33% random amount to the interval, to avoid synchronization between multiple hosts
2549 interval += m->RandomReconfirmDelay % ((interval/3) + 1);
2550 rr->TimeRcvd = m->timenow - (mDNSs32)interval * 3;
2551 rr->resrec.rroriginalttl = (interval * 4 + mDNSPlatformOneSecond - 1) / mDNSPlatformOneSecond;
2944 // If at least halfway to next query time, advance to next interval
2946 // treat this as logically a repeat of the last transmission, without advancing the interval
2951 debugf("SendQueries: %##s (%s) next interval %d seconds RequestUnicast = %d",
2979 // If we recorded a duplicate suppression for this question less than half an interval ago,
3521 // so reset its exponential backoff back to the start. We must be at least at the eight-second interval
3522 // to do this. If we're at the four-second interval, or less, there's not much benefit accelerating
3732 // before we pick a new DNS server. As the question interval is set to MaxQuestionInterval, we may
3733 interval. If this is
5091 if (!sps[0]) LogSPS("BeginSleepProcessing: %-6s %#a No Sleep Proxy Server found (Next Browse Q in %d, interval %d)",
5383 LogSPS("ComputeWakeTime: %p %s Int %5d Ext %5d Err %d Retry %5d Interval %5d Expire %5d Wake %5d",
6865 // We have to reset the question interval to MaxQuestionInterval so that we don't keep
6869 // configuration changed, without flushing the cache, we reset the question interval here.