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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DuDNS.h28 #define RESTART_GOODBYE_DELAY (6 * mDNSPlatformOneSecond) // delay after restarting LLQ before nuking previous known answers (avoids flutter if we restart before we have networking up)
29 #define INIT_UCAST_POLL_INTERVAL (3 * mDNSPlatformOneSecond) // this interval is used after send failures on network transitions
31 #define MAX_UCAST_POLL_INTERVAL (60 * 60 * mDNSPlatformOneSecond)
32 //#define MAX_UCAST_POLL_INTERVAL (1 * 60 * mDNSPlatformOneSecond)
33 #define LLQ_POLL_INTERVAL (15 * 60 * mDNSPlatformOneSecond) // Polling interval for zones w/ an advertised LLQ port (ie not static zones) if LLQ fails due to NAT, etc.
34 #define RESPONSE_WINDOW (60 * mDNSPlatformOneSecond) // require server responses within one minute of request
37 #define DNSSERVER_PENALTY_TIME (60 * mDNSPlatformOneSecond) // number of seconds for which new questions don't pick this server
41 #define MIN_UCAST_RETRANS_TIMEOUT (2 * mDNSPlatformOneSecond)
48 #define InitialQuestionInterval ((mDNSPlatformOneSecond + QuestionIntervalStep-1) / QuestionIntervalStep)
49 #define MaxQuestionInterval (3600 * mDNSPlatformOneSecond)
[all...]
H A DPosixDaemon.c173 timeout.tv_sec = ticks / mDNSPlatformOneSecond;
174 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond;
H A DmDNS.c103 #define kUpdateCreditRefreshInterval (mDNSPlatformOneSecond * 6)
701 #define DefaultProbeIntervalForTypeUnique (mDNSPlatformOneSecond/4)
702 #define DefaultAnnounceIntervalForTypeShared (mDNSPlatformOneSecond/2)
703 #define DefaultAnnounceIntervalForTypeUnique (mDNSPlatformOneSecond/2)
711 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond)
803 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10)
827 rr->ThisAPInterval = rr->AddressProxy.type ? mDNSPlatformOneSecond : DefaultAPIntervalForRecordType(rr->resrec.RecordType);
869 if (m->SuppressProbes - m->timenow > mDNSPlatformOneSecond * 8)
1551 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5);
1751 rr->ThisAPInterval = mDNSPlatformOneSecond *
[all...]
H A DuDNS.c87 rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDisplayString(m, rr));
93 rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDisplayString(m, rr));
789 if (lease > 999999999UL / mDNSPlatformOneSecond)
790 lease = 999999999UL / mDNSPlatformOneSecond;
791 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond);
1071 q->ThisQInterval = q->tcp ? 0 : (kLLQ_INIT_RESEND * q->ntries * mDNSPlatformOneSecond); // If using TCP, don't need to retransmit
1089 mDNSs32 lease = (mDNSs32)llq->llqlease * mDNSPlatformOneSecond;
1094 debugf("SetLLQTimer setting %##s (%s) to %d %d", q->qname.c, DNSTypeName(q->qtype), lease/mDNSPlatformOneSecond,
[all...]
H A Duds_daemon.c2912 request->u.resolve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlatformOneSecond);
5581 ar->ThisAPInterval / mDNSPlatformOneSecond,
5582 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond,
5583 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecond : 0,
5591 ar->ThisAPInterval / mDNSPlatformOneSecond,
5592 ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0,
5593 ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond : 0,
5643 ar->ThisAPInterval / mDNSPlatformOneSecond,
5644 ar->AnnounceCount ? (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond : 0,
5645 ar->TimeExpire ? (ar->TimeExpire - now) / mDNSPlatformOneSecond
[all...]
H A DDNSCommon.c1384 if (ttl > 0x7FFFFFFFUL / mDNSPlatformOneSecond)
1385 ttl = 0x7FFFFFFFUL / mDNSPlatformOneSecond;
3166 if (opt->u.llq.llqlease > 0x70000000UL / mDNSPlatformOneSecond)
3167 opt->u.llq.llqlease = 0x70000000UL / mDNSPlatformOneSecond;
3175 if (opt->u.updatelease > 0x70000000UL / mDNSPlatformOneSecond)
3176 opt->u.updatelease = 0x70000000UL / mDNSPlatformOneSecond;
3474 if (rr->resrec.rroriginalttl > 0x70000000UL / mDNSPlatformOneSecond && (mDNSs32)rr->resrec.rroriginalttl != -1)
3475 rr->resrec.rroriginalttl = 0x70000000UL / mDNSPlatformOneSecond;
H A DmDNSEmbeddedAPI.h1087 #define NATMAP_MAX_RETRY_INTERVAL ((mDNSPlatformOneSecond * 60) * 15) // Max retry interval is 15 minutes
1088 #define NATMAP_MIN_RETRY_INTERVAL (mDNSPlatformOneSecond * 2) // Min retry interval is 2 seconds
1089 #define NATMAP_INIT_RETRY (mDNSPlatformOneSecond / 4) // start at 250ms w/ exponential decay
2712 extern mDNSs32 mDNSPlatformOneSecond;
H A DmDNSPosix.c1514 mDNSexport mDNSs32 mDNSPlatformOneSecond = 1024; variable

Completed in 120 milliseconds