Lines Matching refs:timenow
179 reply_info_can_answer_expired(struct reply_info* rep, time_t timenow)
181 log_assert(rep->ttl < timenow);
183 if(SERVE_EXPIRED_TTL && rep->serve_expired_ttl < timenow) return 0;
191 int reply_info_could_use_expired(struct reply_info* rep, time_t timenow)
193 log_assert(rep->ttl < timenow);
195 if(SERVE_EXPIRED_TTL && rep->serve_expired_ttl < timenow &&
598 reply_info_set_ttls(struct reply_info* rep, time_t timenow)
601 rep->ttl += timenow;
602 rep->prefetch_ttl += timenow;
603 rep->serve_expired_ttl += timenow;
612 data->ttl += timenow;
614 data->rr_ttl[j] += timenow;
616 data->ttl_add = timenow;