Lines Matching refs:mDNSs32
153 …mDNSs32 *const timer = mDNSOpaque16IsZero(q->TargetQID) ? &m->NextScheduledQuery : &m->NextuDNSEve… in SetNextQueryTime()
599 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond)
1031 if ((mDNSs32)rr->resrec.rroriginalttl <= 0) in mDNS_Register_internal()
1840 mDNSlocal mDNSs32 ReverseMapDomainType(const domainname *const name) in ReverseMapDomainType()
1892 mDNSlocal mDNSu16 CheckSum(const void *const data, mDNSs32 length, mDNSu32 sum) in CheckSum()
2045 mDNSs32 maxExistingAnnounceInterval = 0; in SendResponses()
2500 mDNSexport void ScheduleNextCacheCheckTime(mDNS *const m, const mDNSu32 slot, const mDNSs32 event) in ScheduleNextCacheCheckTime()
2543 if (RRExpireTime(rr) - m->timenow > (mDNSs32)((interval * 4) / 3)) in mDNS_Reconfirm_internal()
2550 rr->TimeRcvd = m->timenow - (mDNSs32)interval * 3; in mDNS_Reconfirm_internal()
2704 mDNSlocal void ExpireDupSuppressInfo(DupSuppressInfo ds[DupSuppressInfoSize], mDNSs32 time) in ExpireDupSuppressInfo()
2710 mDNSlocal void ExpireDupSuppressInfoOnInterface(DupSuppressInfo ds[DupSuppressInfoSize], mDNSs32 ti… in ExpireDupSuppressInfoOnInterface()
2731 …pressInfo(DupSuppressInfo ds[DupSuppressInfoSize], mDNSs32 Time, mDNSInterfaceID InterfaceID, mDNS… in RecordDupSuppressInfo()
2858 mDNSs32 maxExistingQuestionInterval = 0; in SendQueries()
3486 mDNSlocal mDNSs32 CheckForSoonToExpireRecords(mDNS *const m, const domainname *const name, const mD… in CheckForSoonToExpireRecords()
3488 …const mDNSs32 threshhold = m->timenow + mDNSPlatformOneSecond; // See if there are any records exp… in CheckForSoonToExpireRecords()
3489 const mDNSs32 start = m->timenow - 0x10000000; in CheckForSoonToExpireRecords()
3490 mDNSs32 delay = start; in CheckForSoonToExpireRecords()
3533 …q->LastQTime = m->timenow - InitialQuestionInterval + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatfo… in CacheRecordAdd()
3721 mDNSs32 event = RRExpireTime(rr); in CheckCacheExpiration()
4177 mDNSexport mDNSs32 mDNS_TimeNow(const mDNS *const m) in mDNS_TimeNow()
4179 mDNSs32 time; in mDNS_TimeNow()
4289 mDNSexport mDNSs32 mDNS_Execute(mDNS *const m) in mDNS_Execute()
5255 mDNSexport mDNSBool mDNSCoreReadyForSleep(mDNS *m, mDNSs32 now) in mDNSCoreReadyForSleep()
5367 mDNSexport mDNSs32 mDNSCoreIntervalToNextWake(mDNS *const m, mDNSs32 now) in mDNSCoreIntervalToNextWake()
5375 mDNSs32 e = now + (120 * 60 * mDNSPlatformOneSecond); // Sleep for at most 120 minutes in mDNSCoreIntervalToNextWake()
5381 …mDNSs32 t = nat->ExpiryTime - (nat->ExpiryTime - now) / 10; // Wake up when 90% of the way to the… in mDNSCoreIntervalToNextWake()
5397 …mDNSs32 t = ar->expire - (ar->expire - now) / 10; // Wake up when 90% of the way to the expiry ti… in mDNSCoreIntervalToNextWake()
5741 mDNSs32 delayresponse = 0; in ProcessQuery()
6090 mDNSs32 oldss = m->SuppressSending; in ProcessQuery()
6107 …m->SuppressSending = m->timenow + (delayresponse + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatformOneSec… in ProcessQuery()
6356 … CacheRecord *CreateNewCacheEntry(mDNS *const m, const mDNSu32 slot, CacheGroup *cg, mDNSs32 delay) in CreateNewCacheEntry()
6921 const mDNSs32 delay = AddToCFList ? NonZeroTime(m->timenow + mDNSPlatformOneSecond) : in mDNSCoreReceiveResponse()
7333 mDNSs32 t = ReverseMapDomainType(m->rec.r.resrec.name); in mDNSCoreReceiveUpdate()
7752 mDNSinline mDNSs32 PenaltyTimeForServer(mDNS *m, DNSServer *server) in PenaltyTimeForServer()
7754 mDNSs32 ptime = 0; in PenaltyTimeForServer()
7897 mDNSs32 bestPenaltyTime, currPenaltyTime; in GetBestServer()
8045 mDNSs32 iptype; in ShouldSuppressQuery()
9132 …if (!rr->UpdateBlocked) rr->UpdateBlocked = NonZeroTime(m->timenow + (mDNSs32)delay * mDNSPlatform… in mDNS_Update()
9492 const mDNSs32 probedelay = flapping ? mDNSPlatformOneSecond * 5 : mDNSPlatformOneSecond / 2; in mDNS_RegisterInterface()
9505 …if (!m->SuppressSending) m->SuppressSending = m->timenow + (mDNSs32)mDNSRandom((mDNSu32)InitialQue… in mDNS_RegisterInterface()
9527 …mDNSs32 initial = dodelay ? InitialQuestionInterval * QuestionIntervalStep2 : InitialQuestionInte… in mDNS_RegisterInterface()
9528 mDNSs32 qdelay = dodelay ? mDNSPlatformOneSecond * 5 : 0; in mDNS_RegisterInterface()
10615 mDNSs32 timenow; in mDNS_Init()
10644 m->timenow_adjust = (mDNSs32)mDNSRandom(0xFFFFFFFF); in mDNS_Init()