Home
last modified time | relevance | path

Searched refs:mDNSPlatformOneSecond (Results 1 – 9 of 9) 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.h897 #define NATMAP_MAX_RETRY_INTERVAL ((mDNSPlatformOneSecond * 60) * 15) // Max retry interval i…
898 #define NATMAP_MIN_RETRY_INTERVAL (mDNSPlatformOneSecond * 2) // Min retry interval i…
899 #define NATMAP_INIT_RETRY (mDNSPlatformOneSecond / 4) // start at 250ms w/ ex…
2170 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.c1398 mDNSexport mDNSs32 mDNSPlatformOneSecond = 1024; variable
/external/mdnsresponder/mDNSShared/
Duds_daemon.c2355 …olve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlatformOneSecond); in handle_resolve_request()
4290 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogAuthRecords()
4291 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond, in LogAuthRecords()
4292 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
4300 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogAuthRecords()
4301 ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
4302 ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
4332 const mDNSs32 remain = cr->resrec.rroriginalttl - (now - cr->TimeRcvd) / mDNSPlatformOneSecond; in udsserver_info()
4386 mDNSs32 i = q->ThisQInterval / mDNSPlatformOneSecond; in udsserver_info()
4387 mDNSs32 n = (NextQSendTime(q) - now) / mDNSPlatformOneSecond; in udsserver_info()
[all …]