Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DuDNS.h34 #define RESTART_GOODBYE_DELAY (6 * mDNSPlatformOneSecond) // delay after restarting LLQ before n…
35 #define INIT_UCAST_POLL_INTERVAL (3 * mDNSPlatformOneSecond) // this interval is used after send fa…
37 #define MAX_UCAST_POLL_INTERVAL (60 * 60 * mDNSPlatformOneSecond)
39 #define LLQ_POLL_INTERVAL (15 * 60 * mDNSPlatformOneSecond) // Polling interval for zones w/ …
40 #define RESPONSE_WINDOW (60 * mDNSPlatformOneSecond) // require server responses within one…
42 #define DNSSERVER_PENALTY_TIME (60 * mDNSPlatformOneSecond) // number of seconds for which new que…
46 #define MIN_UCAST_RETRANS_TIMEOUT (2 * mDNSPlatformOneSecond)
53 #define InitialQuestionInterval ((mDNSPlatformOneSecond + QuestionIntervalStep-1) / QuestionInterva…
54 #define MaxQuestionInterval (3600 * mDNSPlatformOneSecond)
56 #define MinQuestionInterval (1 * mDNSPlatformOneSecond)
[all …]
H A DmDNS.c120 #define kUpdateCreditRefreshInterval (mDNSPlatformOneSecond * 6)
138 #define kDarkWakeDelaySleep (mDNSPlatformOneSecond * DARK_WAKE_DELAY_SLEEP)
911 #define kProbingConflictPauseDuration mDNSPlatformOneSecond // Duration of probing pause after a…
924 #define MAX_GHOST_TIME ((mDNSs32)((60*60*24*7)*mDNSPlatformOneSecond)) // One week
933 #define DefaultProbeIntervalForTypeUnique (mDNSPlatformOneSecond/4)
934 #define DefaultAnnounceIntervalForTypeShared (mDNSPlatformOneSecond/2)
935 #define DefaultAnnounceIntervalForTypeUnique (mDNSPlatformOneSecond/2)
942 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond)
1036 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime()
1060 …rr->ThisAPInterval = rr->AddressProxy.type ? mDNSPlatformOneSecond : DefaultAPIntervalForRecordTyp… in InitializeLastAPTime()
[all …]
H A DuDNS.c97 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
103 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
812 if (lease > 999999999UL / mDNSPlatformOneSecond) in natTraversalHandlePortMapReplyWithAddress()
813 lease = 999999999UL / mDNSPlatformOneSecond; in natTraversalHandlePortMapReplyWithAddress()
814 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond); in natTraversalHandlePortMapReplyWithAddress()
1091 …q->ThisQInterval = q->tcp ? 0 : (kLLQ_INIT_RESEND * q->ntries * mDNSPlatformOneSecond); // If … in sendChallengeResponse()
1109 mDNSs32 lease = (mDNSs32)llq->llqlease * mDNSPlatformOneSecond; in SetLLQTimer()
1114 …%d", q->qname.c, DNSTypeName(q->qtype), lease/mDNSPlatformOneSecond, q->ThisQInterval/mDNSPlatform… in SetLLQTimer()
1140 q->expire = m->timenow + ((mDNSs32)llq->llqlease * mDNSPlatformOneSecond); in recvSetupResponse()
1344 …if (q->ThisQInterval < (256 * mDNSPlatformOneSecond)) // Now we have a TCP connection open, make… in tcpCallback()
[all …]
H A DmDNSEmbeddedAPI.h995 #define NATMAP_MAX_RETRY_INTERVAL ((mDNSPlatformOneSecond * 60) * 15) // Max retry interval i…
996 #define NATMAP_MIN_RETRY_INTERVAL (mDNSPlatformOneSecond * 2) // Min retry interval i…
997 #define NATMAP_INIT_RETRY (mDNSPlatformOneSecond / 4) // start at 250ms w/ ex…
2621 extern mDNSs32 mDNSPlatformOneSecond;
H A DDNSCommon.c1187 if (ttl > 0x7FFFFFFFUL / mDNSPlatformOneSecond) in mDNS_SetupResourceRecord()
1188 ttl = 0x7FFFFFFFUL / mDNSPlatformOneSecond; in mDNS_SetupResourceRecord()
2989 if (opt->u.llq.llqlease > 0x70000000UL / mDNSPlatformOneSecond) in SetRData()
2990 opt->u.llq.llqlease = 0x70000000UL / mDNSPlatformOneSecond; in SetRData()
2998 if (opt->u.updatelease > 0x70000000UL / mDNSPlatformOneSecond) in SetRData()
2999 opt->u.updatelease = 0x70000000UL / mDNSPlatformOneSecond; in SetRData()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DPosixDaemon.c184 timeout.tv_sec = ticks / mDNSPlatformOneSecond; in MainLoop()
185 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond; in MainLoop()
H A DmDNSPosix.c1876 mDNSexport mDNSs32 mDNSPlatformOneSecond = 1024; variable
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Duds_daemon.c3491 …olve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlatformOneSecond); in handle_resolve_request()
5654 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogOneAuthRecordToFD()
5655 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond, in LogOneAuthRecordToFD()
5656 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0, in LogOneAuthRecordToFD()
5665 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogOneAuthRecordToFD()
5666 … ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0, in LogOneAuthRecordToFD()
5667 … ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0, in LogOneAuthRecordToFD()
5805 … const mDNSs32 remain = cr->resrec.rroriginalttl - (now - cr->TimeRcvd) / mDNSPlatformOneSecond; in udsserver_info_dump_to_fd()
5862 mDNSs32 i = q->ThisQInterval / mDNSPlatformOneSecond; in udsserver_info_dump_to_fd()
5863 mDNSs32 n = (NextQSendTime(q) - now) / mDNSPlatformOneSecond; in udsserver_info_dump_to_fd()
[all …]