Lines Matching refs:purge

3922     // or the real response again if we purge the cache. 
4078 mDNSlocal mDNSs32 CheckForSoonToExpireRecords(mDNS *const m, const domainname *const name, const mDNSu32 namehash, const mDNSu32 slot, mDNSBool *purge)
4086 if (purge)
4087 *purge = mDNSfalse;
4106 // cache is already expired and we set "purge" to indicate that. When "purge" is set, the
4109 // Note: For case (1), "purge" argument is NULL and hence the following checks are skipped.
4116 if (purge && !rr->resrec.InterfaceID && !rr->CRActiveQuestion && rr->resrec.rroriginalttl)
4123 *purge = mDNStrue;
4823 // and we're actively using less than 1/32 of that cache, then we purge all the unused records
6630 // cache record appropriately. If it is expired already, purge. If there
6631 // is a network change that happens after the wakeup, we might purge the
6638 // now which can cause the cache to purge pre-maturely. As this is not a very
6647 // -if we have slept longer than the remaining TTL, purge and start fresh.
8372 // TBD: Need to purge and revalidate if the cached NSECS and the new set are not same.
11440 mDNSBool purge;
11459 question->DelayAnswering = CheckForSoonToExpireRecords(m, &question->qname, question->qnamehash, HashSlot(&question->qname), &purge);
11555 purge = mDNStrue;
11573 return(purge);
11648 mDNSlocal void FinalizeUnicastQuestion(mDNS *const m, DNSQuestion *question, mDNSBool purge)
11664 // If purge was set above, flush the cache. Need to do this after we set the
11666 if (purge)
11694 mDNSBool purge;
11733 purge = InitCommonState(m, question);
11763 FinalizeUnicastQuestion(m, question, purge);
11774 if (purge)
14471 mDNSBool purge = cr->resrec.RecordType == kDNSRecordTypePacketNegative ||
14479 purge ? "purging" : "reconfirming",
14483 if (purge)
14502 // For DNSSEC questions, purge the corresponding RRSIGs also.
14528 // have the cached NSECs, purge them. For positive responses, if we don't have the
14529 // RRSIGs and if we have not already issued the question with EDNS0/DO bit set, purge
14704 // later when we get the response. If we purge the cache, we still deliver a RMV when it is purged even though
14838 // we can't possibly re-confirm, so purge in that case. If it is a DNSSEC question,
14839 // purge the cache as the DNSSEC capabilities of the DNS server may have changed.
14919 // 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).
14922 // 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.