Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSCore/
DmDNS.c599 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond) macro
600 #define RRExpireTime(RR) ((RR)->TimeRcvd + TicksTTL(RR))
2494 ((RR)->UnansweredQueries < MaxUnansweredQueries) ? (TicksTTL(rr)/50) : \
2521 rr->NextRequiredQuery -= TicksTTL(rr)/20 * (MaxUnansweredQueries - rr->UnansweredQueries); in SetNextCacheCheckTimeForRecord()
2522 rr->NextRequiredQuery += mDNSRandom((mDNSu32)TicksTTL(rr)/50); in SetNextCacheCheckTimeForRecord()
2590 …rr->TimeRcvd + TicksTTL(rr)/2 - m->timenow > // and its half-way-to-expiry time is at least 1 s… in BuildQuestion()
2824 rr->TimeRcvd + TicksTTL(rr)/2 - m->timenow >= 0 && // and it is less than half-way to expiry in AccelerateThisQuery()
2868 if (m->timenow + TicksTTL(cr)/50 - cr->NextRequiredQuery >= 0) in SendQueries()
2872 …ExpireDupSuppressInfoOnInterface(q->DupSuppress, m->timenow - TicksTTL(cr)/20, cr->resrec.Interfac… in SendQueries()
3236 if (m->timenow + TicksTTL(cr)/50 - cr->NextRequiredQuery >= 0) in SendQueries()
[all …]