Lines Matching full:ttl

58 /** MAX TTL default for messages and rrsets */
60 /** MIN TTL default for messages and rrsets */
62 /** MAX Negative TTL, for SOA records in authority section */
64 /** MIN Negative TTL, for SOA records in authority section */
70 /** Reset serve expired TTL after failed update attempt */
72 /** TTL to use for expired records */
74 /** If we serve the original TTL or decrementing TTLs */
100 time_t ttl, time_t prettl, time_t expttl, time_t norecttl, size_t an, in construct_reply_info_base() argument
117 rep->ttl = ttl; in construct_reply_info_base()
181 log_assert(rep->ttl < timenow); in reply_info_can_answer_expired()
193 log_assert(rep->ttl < timenow); in reply_info_could_use_expired()
217 rep->qdcount, rep->ttl, rep->prefetch_ttl, in make_new_reply_info()
238 /* minimum TTL is the last 32bit value in the rdata of the record */ in soa_find_minttl()
239 /* at position ttl_data + 4(ttl) + 2(rdatalen) + rdatalen - 4(timeval)*/ in soa_find_minttl()
253 /* RFC 2181 Section 8. if msb of ttl is set treat as if zero. */ in rdata_copy()
257 /* negative response. see if TTL of SOA record larger than the in rdata_copy()
258 * minimum-ttl in the rdata of the SOA record */ in rdata_copy()
267 /* MAX_NEG_TTL overrides the min and max ttl of everything in rdata_copy()
270 /* MIN_NEG_TTL overrides the min and max ttl of everything in rdata_copy()
279 if(*rr_ttl < data->ttl) in rdata_copy()
280 data->ttl = *rr_ttl; in rdata_copy()
350 data->ttl = MAX_TTL; in parse_rr_copy()
503 rep->ttl = MAX_TTL; in parse_copy_decompress()
506 rep->ttl = NORR_TTL; in parse_copy_decompress()
513 if(data->ttl < rep->ttl) in parse_copy_decompress()
514 rep->ttl = data->ttl; in parse_copy_decompress()
518 rep->prefetch_ttl = PREFETCH_TTL_CALC(rep->ttl); in parse_copy_decompress()
519 rep->serve_expired_ttl = rep->ttl + SERVE_EXPIRED_TTL; in parse_copy_decompress()
601 rep->ttl += timenow; in reply_info_set_ttls()
612 data->ttl += timenow; in reply_info_set_ttls()
801 rep->ttl, rep->prefetch_ttl, rep->serve_expired_ttl, in reply_info_copy()
1061 continue; /* skip dnames; note TTL 0 not cached */ in reply_check_cname_chain()