Lines Matching defs:purge
3879 // or the real response again if we purge the cache.
4010 mDNSlocal mDNSs32 CheckForSoonToExpireRecords(mDNS *const m, const domainname *const name, const mDNSu32 namehash, const mDNSu32 slot, mDNSBool *purge)
4018 if (purge)
4019 *purge = mDNSfalse;
4038 // cache is already expired and we set "purge" to indicate that. When "purge" is set, the
4041 // Note: For case (1), "purge" argument is NULL and hence the following checks are skipped.
4048 if (purge && !rr->resrec.InterfaceID && !rr->CRActiveQuestion && rr->resrec.rroriginalttl)
4055 *purge = mDNStrue;
4754 // and we're actively using less than 1/32 of that cache, then we purge all the unused records
6527 // cache record appropriately. If it is expired already, purge. If there
6528 // is a network change that happens after the wakeup, we might purge the
6535 // now which can cause the cache to purge pre-maturely. As this is not a very
6544 // -if we have slept longer than the remaining TTL, purge and start fresh.
8374 // TBD: Need to purge and revalidate if the cached NSECS and the new set are not same.
11416 mDNSBool purge;
11434 question->DelayAnswering = CheckForSoonToExpireRecords(m, &question->qname, question->qnamehash, HashSlot(&question->qname), &purge);
11530 purge = mDNStrue;
11548 return(purge);
11623 mDNSlocal void FinalizeUnicastQuestion(mDNS *const m, DNSQuestion *question, mDNSBool purge)
11639 // If purge was set above, flush the cache. Need to do this after we set the
11641 if (purge)
11669 mDNSBool purge;
11708 purge = InitCommonState(m, question);
11738 FinalizeUnicastQuestion(m, question, purge);
11742 if (purge)
14411 mDNSBool purge = cr->resrec.RecordType == kDNSRecordTypePacketNegative ||
14419 purge ? "purging" : "reconfirming",
14423 if (purge)
14442 // For DNSSEC questions, purge the corresponding RRSIGs also.
14468 // have the cached NSECs, purge them. For positive responses, if we don't have the
14469 // RRSIGs and if we have not already issued the question with EDNS0/DO bit set, purge
14636 // later when we get the response. If we purge the cache, we still deliver a RMV when it is purged even though
14768 // we can't possibly re-confirm, so purge in that case. If it is a DNSSEC question,
14769 // purge the cache as the DNSSEC capabilities of the DNS server may have changed.
14849 // If we now have no DNS servers at all and we used to have some, then immediately purge all unicast cache records (including for LLQs).
14852 // Similarly, if we now have some DNS servers and we used to have none, we want to purge any fake negative results we may have generated.