Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A 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…
37 #define DNSSERVER_PENALTY_TIME (60 * mDNSPlatformOneSecond) // number of seconds for which new que…
41 #define MIN_UCAST_RETRANS_TIMEOUT (2 * mDNSPlatformOneSecond)
48 #define InitialQuestionInterval ((mDNSPlatformOneSecond + QuestionIntervalStep-1) / QuestionInterva…
49 #define MaxQuestionInterval (3600 * mDNSPlatformOneSecond)
52 #define QuestionIntervalThreshold (QuestionIntervalStep3 * mDNSPlatformOneSecond)
[all …]
H A DPosixDaemon.c173 timeout.tv_sec = ticks / mDNSPlatformOneSecond; in MainLoop()
174 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond; in MainLoop()
H A DmDNS.c99 #define kUpdateCreditRefreshInterval (mDNSPlatformOneSecond * 6)
693 #define DefaultProbeIntervalForTypeUnique (mDNSPlatformOneSecond/4)
694 #define DefaultAnnounceIntervalForTypeShared (mDNSPlatformOneSecond/2)
695 #define DefaultAnnounceIntervalForTypeUnique (mDNSPlatformOneSecond/2)
703 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond)
795 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime()
819 …rr->ThisAPInterval = rr->AddressProxy.type ? mDNSPlatformOneSecond : DefaultAPIntervalForRecordTyp… in InitializeLastAPTime()
861 if (m->SuppressProbes - m->timenow > mDNSPlatformOneSecond * 8) in InitializeLastAPTime()
1505 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5); in RecordProbeFailure()
1705 rr->ThisAPInterval = mDNSPlatformOneSecond * 2; in mDNS_Deregister_internal()
[all …]
H A DuDNS.c84 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
90 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
772 if (lease > 999999999UL / mDNSPlatformOneSecond) in natTraversalHandlePortMapReplyWithAddress()
773 lease = 999999999UL / mDNSPlatformOneSecond; in natTraversalHandlePortMapReplyWithAddress()
774 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond); in natTraversalHandlePortMapReplyWithAddress()
1057 …q->ThisQInterval = q->tcp ? 0 : (kLLQ_INIT_RESEND * q->ntries * mDNSPlatformOneSecond); // If … in sendChallengeResponse()
1075 mDNSs32 lease = (mDNSs32)llq->llqlease * mDNSPlatformOneSecond; in SetLLQTimer()
1080 …%d", q->qname.c, DNSTypeName(q->qtype), lease/mDNSPlatformOneSecond, q->ThisQInterval/mDNSPlatform… in SetLLQTimer()
1106 q->expire = m->timenow + ((mDNSs32)llq->llqlease * mDNSPlatformOneSecond); in recvSetupResponse()
1324 …if (q->ThisQInterval < (256 * mDNSPlatformOneSecond)) // Now we have a TCP connection open, make… in tcpCallback()
[all …]
H A Duds_daemon.c2888 …olve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlatformOneSecond); in handle_resolve_request()
5531 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogOneAuthRecord()
5532 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond, in LogOneAuthRecord()
5533 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0, in LogOneAuthRecord()
5539 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogOneAuthRecord()
5540 … ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0, in LogOneAuthRecord()
5541 … ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0, in LogOneAuthRecord()
5590 ar->ThisAPInterval / mDNSPlatformOneSecond, in LogAuthRecords()
5591 … ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
5592 … ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0, in LogAuthRecords()
[all …]
H A DDNSCommon.c1384 if (ttl > 0x7FFFFFFFUL / mDNSPlatformOneSecond) in mDNS_SetupResourceRecord()
1385 ttl = 0x7FFFFFFFUL / mDNSPlatformOneSecond; in mDNS_SetupResourceRecord()
3169 if (opt->u.llq.llqlease > 0x70000000UL / mDNSPlatformOneSecond) in SetRData()
3170 opt->u.llq.llqlease = 0x70000000UL / mDNSPlatformOneSecond; in SetRData()
3178 if (opt->u.updatelease > 0x70000000UL / mDNSPlatformOneSecond) in SetRData()
3179 opt->u.updatelease = 0x70000000UL / mDNSPlatformOneSecond; in SetRData()
3482 …if (rr->resrec.rroriginalttl > 0x70000000UL / mDNSPlatformOneSecond && (mDNSs32)rr->resrec.rrorigi… in GetLargeResourceRecord()
3483 rr->resrec.rroriginalttl = 0x70000000UL / mDNSPlatformOneSecond; in GetLargeResourceRecord()
H A DmDNSEmbeddedAPI.h1092 #define NATMAP_MAX_RETRY_INTERVAL ((mDNSPlatformOneSecond * 60) * 15) // Max retry interval i…
1093 #define NATMAP_MIN_RETRY_INTERVAL (mDNSPlatformOneSecond * 2) // Min retry interval i…
1094 #define NATMAP_INIT_RETRY (mDNSPlatformOneSecond / 4) // start at 250ms w/ ex…
2693 extern mDNSs32 mDNSPlatformOneSecond;
H A DmDNSPosix.c1509 mDNSexport mDNSs32 mDNSPlatformOneSecond = 1024; variable