Home
last modified time | relevance | path

Searched refs:mDNSPlatformOneSecond (Results 1 – 11 of 11) sorted by relevance

/external/mdnsresponder/mDNSCore/
DuDNS.h28 #define RESTART_GOODBYE_DELAY (6 * mDNSPlatformOneSecond) // delay after restarting LLQ before n…
29 #define INIT_UCAST_POLL_INTERVAL (3 * mDNSPlatformOneSecond) // this interval is used after send fa…
31 #define MAX_UCAST_POLL_INTERVAL (60 * 60 * mDNSPlatformOneSecond)
33 #define LLQ_POLL_INTERVAL (15 * 60 * mDNSPlatformOneSecond) // Polling interval for zones w/ …
34 #define RESPONSE_WINDOW (60 * mDNSPlatformOneSecond) // require server responses within one…
36 #define DNSSERVER_PENALTY_TIME (60 * mDNSPlatformOneSecond) // number of seconds for which new ques…
43 #define InitialQuestionInterval ((mDNSPlatformOneSecond + QuestionIntervalStep-1) / QuestionInterva…
48 #define INIT_RECORD_REG_INTERVAL (1 * mDNSPlatformOneSecond)
49 #define MAX_RECORD_REG_INTERVAL (15 * 60 * mDNSPlatformOneSecond)
50 #define MERGE_DELAY_TIME (1 * mDNSPlatformOneSecond)
[all …]
DmDNS.c94 #define kUpdateCreditRefreshInterval (mDNSPlatformOneSecond * 6)
589 #define DefaultProbeIntervalForTypeUnique (mDNSPlatformOneSecond/4)
590 #define DefaultAnnounceIntervalForTypeShared (mDNSPlatformOneSecond/2)
591 #define DefaultAnnounceIntervalForTypeUnique (mDNSPlatformOneSecond/2)
599 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond)
679 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime()
703 …rr->ThisAPInterval = rr->AddressProxy.type ? mDNSPlatformOneSecond : DefaultAPIntervalForRecordTyp… in InitializeLastAPTime()
745 if (m->SuppressProbes - m->timenow > mDNSPlatformOneSecond * 8) in InitializeLastAPTime()
778 rr->LastAPTime = m->timenow - rr->ThisAPInterval + mDNSPlatformOneSecond * 10; in InitializeLastAPTime()
1341 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5); in RecordProbeFailure()
[all …]
DuDNS.c77 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
83 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
534 if (lease > 999999999UL / mDNSPlatformOneSecond) in natTraversalHandlePortMapReply()
535 lease = 999999999UL / mDNSPlatformOneSecond; in natTraversalHandlePortMapReply()
536 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond); in natTraversalHandlePortMapReply()
775 …q->ThisQInterval = q->tcp ? 0 : (kLLQ_INIT_RESEND * q->ntries * mDNSPlatformOneSecond); // If usi… in sendChallengeResponse()
793 mDNSs32 lease = (mDNSs32)llq->llqlease * mDNSPlatformOneSecond; in SetLLQTimer()
798 …%d", q->qname.c, DNSTypeName(q->qtype), lease/mDNSPlatformOneSecond, q->ThisQInterval/mDNSPlatform… in SetLLQTimer()
824 q->expire = m->timenow + ((mDNSs32)llq->llqlease * mDNSPlatformOneSecond); in recvSetupResponse()
1034 …if (q->ThisQInterval < (256 * mDNSPlatformOneSecond)) // Now we have a TCP connection open, make s… in tcpCallback()
[all …]
DDNSCommon.c1018 if (ttl > 0x7FFFFFFFUL / mDNSPlatformOneSecond) in mDNS_SetupResourceRecord()
1019 ttl = 0x7FFFFFFFUL / mDNSPlatformOneSecond; in mDNS_SetupResourceRecord()
2177 …if (rr->resrec.rroriginalttl > 0x70000000UL / mDNSPlatformOneSecond && (mDNSs32)rr->resrec.rrorigi… in GetLargeResourceRecord()
2178 rr->resrec.rroriginalttl = 0x70000000UL / mDNSPlatformOneSecond; in GetLargeResourceRecord()
2309 if (opt->u.llq.llqlease > 0x70000000UL / mDNSPlatformOneSecond) in GetLargeResourceRecord()
2310 opt->u.llq.llqlease = 0x70000000UL / mDNSPlatformOneSecond; in GetLargeResourceRecord()
2318 if (opt->u.updatelease > 0x70000000UL / mDNSPlatformOneSecond) in GetLargeResourceRecord()
2319 opt->u.updatelease = 0x70000000UL / mDNSPlatformOneSecond; in GetLargeResourceRecord()
DmDNSEmbeddedAPI.h908 #define NATMAP_MAX_RETRY_INTERVAL ((mDNSPlatformOneSecond * 60) * 15) // Max retry interval i…
909 #define NATMAP_MIN_RETRY_INTERVAL (mDNSPlatformOneSecond * 2) // Min retry interval i…
910 #define NATMAP_INIT_RETRY (mDNSPlatformOneSecond / 4) // start at 250ms w/ ex…
2181 extern mDNSs32 mDNSPlatformOneSecond;
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c166 timeout.tv_sec = ticks / mDNSPlatformOneSecond; in MainLoop()
167 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond; in MainLoop()
DNetMonitor.c332 if (entry->NumQueries && m->timenow - entry->LastQuery < mDNSPlatformOneSecond) return; in AnalyseHost()
DmDNSPosix.c1420 mDNSexport mDNSs32 mDNSPlatformOneSecond = 1024; variable
/external/mdnsresponder/mDNSShared/
Duds_daemon.c2361 …olve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlatformOneSecond); in handle_resolve_request()
4296 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogAuthRecords()
4297 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond, in LogAuthRecords()
4298 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
4306 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogAuthRecords()
4307 ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
4308 ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
4338 const mDNSs32 remain = cr->resrec.rroriginalttl - (now - cr->TimeRcvd) / mDNSPlatformOneSecond; in udsserver_info()
4392 mDNSs32 i = q->ThisQInterval / mDNSPlatformOneSecond; in udsserver_info()
4393 mDNSs32 n = (NextQSendTime(q) - now) / mDNSPlatformOneSecond; in udsserver_info()
[all …]
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c1271 …lse if ( nextTimerEvent > (0x7FFFFFFF / 1000)) nextTimerEvent = 0x7FFFFFFF / mDNSPlatformOneSecond; in ServiceSpecificRun()
1272 else nextTimerEvent = ( nextTimerEvent * 1000) / mDNSPlatformOneSecond; in ServiceSpecificRun()
1284 if ( ++RepeatedBusy >= mDNSPlatformOneSecond ) in ServiceSpecificRun()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c180 mDNSs32 mDNSPlatformOneSecond = 0; variable
296 mDNSPlatformOneSecond = 1000; // Use milliseconds as the quantum of time in mDNSPlatformInit()
1803 ptr->deltime = NonZeroTime(m->timenow + mDNSPlatformOneSecond*10); in SetDomainSecrets()