Home | History | Annotate | Download | only in dns

Lines Matching refs:STALE

266 /*%< May be potentially served as stale data. */
308 #define STALE(header) \
501 * Maximum length of time to keep using a stale answer past its
507 * The time after a failed lookup, where stale answers from cache
521 * Temporary storage for stale cache nodes and dynamically deleted
929 if (STALE(header)) {
1623 * If the STALE attribute is set, this will decrement the
1624 * stale type counter, otherwise it decrements the active
1642 * If we are already stale there is nothing to do.
1654 * unlikely that an RRset goes from ANCIENT to STALE), this
1655 * will decrement the ancient stale type counter, otherwise it
1689 * If current is nonexistent, ancient, or stale and
1690 * we are not keeping stale, we can clean it up.
1693 (STALE(current) && !KEEPSTALE(rbtdb)))
2207 * it's their responsibility to purge stale leaves (e.g. by
2769 * sure that stale nodes will be removed in
3150 bool stale = STALE(header);
3170 * Mark header stale or ancient if the RRset is no longer active.
3175 * If this data is in the stale window keep it and if
3182 stale = true;
3185 * We are not keeping stale, or it is outside the
3186 * stale window. Mark ancient, i.e. ready for cleanup.
3212 if (stale && !ancient) {
4633 dns_ttl_t stale = header->rdh_ttl +
4636 * If this data is in the stale window keep it and if
4644 stale > search->now)
4667 * refresh failure time + 'stale-refresh-time',
4668 * then don't skip this stale entry but use it
4678 * We want stale RRset due to timeout, so we
4687 * This rdataset is stale. If no one else is using the
4702 * rdatasets are probably stale, too.
4714 * which case we need to purge the stale
5162 * non-stale rdataset at this node.
5487 * However, this node may be stale and if serve-stale
5488 * is not enabled (in other words 'stale-answer-enable'
6415 * stale. If the cache data is stale, new lower trust
6505 * special to be done w.r.t stale data; it gets replaced
7072 /* Only account for stale TTL if cache is not overmem */
9260 * If we are not returning stale records or the rdataset is
10647 * Purge some stale (i.e. unused for some period - LRU based cleaning) cache