Lines Matching refs:rroriginalttl

599 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond)
672 return(mDNSBool)(ka->resrec.rroriginalttl >= rr->resrec.rroriginalttl / 2); in ShouldSuppressKnownAnswer()
1031 if ((mDNSs32)rr->resrec.rroriginalttl <= 0) in mDNS_Register_internal()
1032 …{ LogMsg("mDNS_Register_internal: TTL %X should be 1 - 0x7FFFFFFF %s", rr->resrec.rroriginalttl, A… in mDNS_Register_internal()
1526 rr->resrec.rroriginalttl = 0; in mDNS_Deregister_internal()
2279 …tRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, active ? rr->resrec.rroriginalttl : 0); in SendResponses()
2364 …eRecord(&nsec, mDNSNULL, mDNSInterface_Any, kDNSType_NSEC, rr->resrec.rroriginalttl, kDNSRecordTyp… in SendResponses()
2495 ((RR)->resrec.rroriginalttl > 10 ) ? (mDNSPlatformOneSecond) : \
2496 ((RR)->resrec.rroriginalttl > 0 ) ? (mDNSPlatformOneSecond/10) : 0)
2551 rr->resrec.rroriginalttl = (interval * 4 + mDNSPlatformOneSecond - 1) / mDNSPlatformOneSecond; in mDNS_Reconfirm_internal()
3141 …&ka->resrec, ka->resrec.rroriginalttl - SecsSinceRcvd, m->omsg.data + NormalMaxDNSMessageData - Ow… in SendQueries()
3182 &opt.resrec, opt.resrec.rroriginalttl, m->omsg.data + AbsoluteMaxDNSMessageData); in SendQueries()
3309 q->CurrentAnswers, AddRecord ? "Add" : "Rmv", rr->resrec.rroriginalttl, CRDisplayString(m, rr)); in AnswerCurrentQuestionWithResourceRecord()
3539 DNSTypeName(rr->resrec.rrtype), rr->resrec.rroriginalttl, rr->resrec.rDNSServer ? in CacheRecordAdd()
3552 rr->resrec.rroriginalttl = 0; in CacheRecordAdd()
3726 …m->timenow - rr->TimeRcvd, rr->resrec.rroriginalttl, rr->CRActiveQuestion, CRDisplayString(m, rr)); in CheckCacheExpiration()
3909 if (rr->resrec.rroriginalttl <= SecsSinceRcvd) in AnswerNewQuestion()
3912 rr->resrec.rroriginalttl, SecsSinceRcvd, CRDisplayString(m, rr), m->timenow, rr->TimeRcvd); in AnswerNewQuestion()
4173 rr->resrec.rroriginalttl = 0; in mDNS_PurgeCacheResourceRecord()
4866 …TLWithLimit(&m->omsg, p, &m->omsg.h.mDNS_numUpdates, &rr->resrec, rr->resrec.rroriginalttl, limit); in SendSPSRegistrationForOwner()
4903 …Limit(&m->omsg, p, &m->omsg.h.numAdditionals, &opt.resrec, opt.resrec.rroriginalttl, m->omsg.data … in SendSPSRegistrationForOwner()
5113 …und Sleep Proxy Server %d TTL %d %s", intf->ifname, i, sps[i]->resrec.rroriginalttl, CRDisplayStri… in BeginSleepProcessing()
5463 maxttl < rr->resrec.rroriginalttl ? maxttl : rr->resrec.rroriginalttl); in GenerateUnicastResponse()
5475 maxttl < rr->resrec.rroriginalttl ? maxttl : rr->resrec.rroriginalttl); in GenerateUnicastResponse()
6397 rr->resrec.rroriginalttl = ttl; in RefreshCacheRecord()
6630 m->rec.r.resrec.rroriginalttl = GetEffectiveTTL(LLQType, m->rec.r.resrec.rroriginalttl); in mDNSCoreReceiveResponse()
6707 if (m->rec.r.resrec.rroriginalttl >= rr->resrec.rroriginalttl/2 || m->SleepState) in mDNSCoreReceiveResponse()
6719 else if (m->rec.r.resrec.rroriginalttl > 0 && PacketRRConflict(m, rr, &m->rec.r)) in mDNSCoreReceiveResponse()
6849 rr->resrec.rroriginalttl = 0; in mDNSCoreReceiveResponse()
6859 else if (m->rec.r.resrec.rroriginalttl > 0) in mDNSCoreReceiveResponse()
6863 RefreshCacheRecord(m, rr, m->rec.r.resrec.rroriginalttl); in mDNSCoreReceiveResponse()
6906 rr->resrec.rroriginalttl = 1; in mDNSCoreReceiveResponse()
6918 if (!rr && m->rec.r.resrec.rroriginalttl > 0) in mDNSCoreReceiveResponse()
6986 if (r2->resrec.rroriginalttl != r1->resrec.rroriginalttl && r1->resrec.rroriginalttl > 1) in mDNSCoreReceiveResponse()
6988 …if (!(r2->resrec.rroriginalttl == 240 && r1->resrec.rroriginalttl == 60 && r2->resrec.rrtype == kD… in mDNSCoreReceiveResponse()
6991 r2->resrec.rroriginalttl, r1->resrec.rroriginalttl, CRDisplayString(m, r2)); in mDNSCoreReceiveResponse()
6992 r2->resrec.rroriginalttl = r1->resrec.rroriginalttl; in mDNSCoreReceiveResponse()
7019 …if (r2->TimeRcvd == m->timenow && r2->resrec.rroriginalttl == 1 && r2->UnansweredQueries == MaxUna… in mDNSCoreReceiveResponse()
7022 r2->resrec.rroriginalttl = 0; in mDNSCoreReceiveResponse()
7028 r2->resrec.rroriginalttl = 1; in mDNSCoreReceiveResponse()
7120 if (ttl_s > m->rec.r.resrec.rroriginalttl && m->rec.r.resrec.name->c[0]) in mDNSCoreReceiveResponse()
7121 ttl_s = m->rec.r.resrec.rroriginalttl; in mDNSCoreReceiveResponse()
7148 if (negttl < neg->resrec.rroriginalttl * 2) in mDNSCoreReceiveResponse()
7149 negttl = neg->resrec.rroriginalttl * 2; in mDNSCoreReceiveResponse()
7159 …debugf("Renewing negative TTL from %d to %d %s", neg->resrec.rroriginalttl, negttl, CRDisplayStrin… in mDNSCoreReceiveResponse()
7324 …rd(ar, mDNSNULL, InterfaceID, m->rec.r.resrec.rrtype, m->rec.r.resrec.rroriginalttl, RecordType, A… in mDNSCoreReceiveUpdate()
7350 if (ar->resrec.rrtype == kDNSType_AAAA) ar->resrec.rroriginalttl = 0; in mDNSCoreReceiveUpdate()
7373 …Limit(&m->omsg, p, &m->omsg.h.numAdditionals, &opt.resrec, opt.resrec.rroriginalttl, m->omsg.data … in mDNSCoreReceiveUpdate()
7451 cr->resrec.rroriginalttl = ttl_seconds; in MakeNegativeCacheRecord()
9092 if (newttl == 0) newttl = rr->resrec.rroriginalttl; in mDNS_Update()
9118 if (RRLocalOnly(rr) || (rr->resrec.rroriginalttl == newttl && in mDNS_Update()
9138 rr->resrec.rroriginalttl = newttl; in mDNS_Update()
10004 err = mDNS_AddRecordToService(m, sr, e, e->r.resrec.rdata, e->r.resrec.rroriginalttl, 0); in mDNS_RenameAndReregisterService()