Searched refs:mDNSRandom (Results 1 – 5 of 5) sorted by relevance
96 extern mDNSu32 mDNSRandom(mDNSu32 max); // Returns pseudo-random result from zero to max inclus…
173 ai->salt = mDNSRandom(0xFFFFFFFF); in AllocateAnonInfo()
79 rr->ThisAPInterval = 7 * (remaining/10) + (random ? random : mDNSRandom(remaining/10)); in SetRecordRetry()667 m->PCPNonce[0] = mDNSRandom(-1); in RecreateNATMappings()668 m->PCPNonce[1] = mDNSRandom(-1); in RecreateNATMappings()669 m->PCPNonce[2] = mDNSRandom(-1); in RecreateNATMappings()1079 q->ThisQInterval = lease/2 + mDNSRandom(lease/10); in SetLLQTimer()1179 …q->ThisQInterval = LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10); // Retry LLQ setup in … in uDNS_recvLLQResponse()1590 …q->ThisQInterval = LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10); // Retry in approx 15 … in startLLQHandshake()1609 …q->ThisQInterval = LLQ_POLL_INTERVAL + mDNSRandom(LLQ_POLL_INTERVAL/10); // Retry in approx 15 … in startLLQHandshake()3761 …mDNSu32 waitTicks = strippedOpCode ? 0 : mDNSRandom(PCP_WAITSECS_AFTER_EPOCH_INVALID * mDNSPlatfor… in uDNS_ReceivePCPPacket()4027 mDNSu32 random = mDNSRandom((mDNSs32)lease * mDNSPlatformOneSecond/10); in uDNS_ReceiveMsg()[all …]
843 …robes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(DefaultProbeInte… in InitializeLastAPTime()869 …robes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(DefaultProbeInte… in InitializeLastAPTime()2893 rr->NextRequiredQuery += mDNSRandom((mDNSu32)TicksTTL(rr)/50); in SetNextCacheCheckTimeForRecord()2918 if (!m->RandomReconfirmDelay) m->RandomReconfirmDelay = 1 + mDNSRandom(0x3FFFFFFF); in mDNS_Reconfirm_internal()4103 …q->LastQTime = m->timenow - InitialQuestionInterval + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatfo… in CacheRecordAdd()4661 … m->RandomQueryDelay = (mDNSPlatformOneSecond + mDNSRandom(mDNSPlatformOneSecond*5) - 1) / 50 + 1; in AnswerNewQuestion()7566 …m->SuppressSending = m->timenow + (delayresponse + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatformOneSec… in ProcessQuery()12890 …if (!m->SuppressSending) m->SuppressSending = m->timenow + (mDNSs32)mDNSRandom((mDNSu32)InitialQue… in mDNS_RegisterInterface()13598 id = mDNSOpaque16fromIntVal(1 + (mDNSu16)mDNSRandom(0xFFFE)); in mDNS_NewMessageID()14206 m->timenow_adjust = (mDNSs32)mDNSRandom(0xFFFFFFFF); in mDNS_Init()[all …]
579 mDNSexport mDNSu32 mDNSRandom(mDNSu32 max) // Returns pseudo-random result from zero to max in… in mDNSRandom() function1344 else val += 1 + mDNSRandom(99); in IncrementLabelSuffix()