Searched refs:mDNSRandom (Results 1 – 4 of 4) sorted by relevance
96 extern mDNSu32 mDNSRandom(mDNSu32 max); // Returns pseudo-random result from zero to max inclusive
72 rr->ThisAPInterval = 7 * (remaining/10) + (random ? random : mDNSRandom(remaining/10)); in SetRecordRetry()797 q->ThisQInterval = lease/2 + mDNSRandom(lease/10); in SetLLQTimer()897 …q->ThisQInterval = LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10); // Retry LLQ setup in app… in uDNS_recvLLQResponse()1291 …q->ThisQInterval = LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10); // Retry in approx 15 min… in startLLQHandshake()1310 …q->ThisQInterval = LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10); // Retry in approx 15 min… in startLLQHandshake()3538 mDNSu32 random = mDNSRandom((mDNSs32)lease * mDNSPlatformOneSecond/10); in uDNS_ReceiveMsg()4258 …if (q->state == LLQ_Poll) q->ThisQInterval = (LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10)… in uDNS_CheckCurrentQuestion()
727 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime()753 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime()2522 rr->NextRequiredQuery += mDNSRandom((mDNSu32)TicksTTL(rr)/50); in SetNextCacheCheckTimeForRecord()2548 if (!m->RandomReconfirmDelay) m->RandomReconfirmDelay = 1 + mDNSRandom(0x3FFFFFFF); in mDNS_Reconfirm_internal()3533 …q->LastQTime = m->timenow - InitialQuestionInterval + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatfo… in CacheRecordAdd()3957 … m->RandomQueryDelay = (mDNSPlatformOneSecond + mDNSRandom(mDNSPlatformOneSecond*5) - 1) / 50 + 1; in AnswerNewQuestion()6107 …m->SuppressSending = m->timenow + (delayresponse + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatformOneSec… in ProcessQuery()9505 …if (!m->SuppressSending) m->SuppressSending = m->timenow + (mDNSs32)mDNSRandom((mDNSu32)InitialQue… in mDNS_RegisterInterface()10142 id = mDNSOpaque16fromIntVal(1 + (mDNSu16)mDNSRandom(0xFFFE)); in mDNS_NewMessageID()10644 m->timenow_adjust = (mDNSs32)mDNSRandom(0xFFFFFFFF); in mDNS_Init()
290 mDNSexport mDNSu32 mDNSRandom(mDNSu32 max) // Returns pseudo-random result from zero to max inclus… in mDNSRandom() function978 else val += 1 + mDNSRandom(99); in IncrementLabelSuffix()