Lines Matching refs:adjust
490 /* Adjust the TTL of a DNS message and its RRs by 'adjust'. If 'adjust' is
493 adjust_msg_ttl(struct dns_msg* msg, time_t adjust)
496 if(adjust >= 0 && msg->rep->ttl > adjust)
497 msg->rep->ttl -= adjust;
505 rep->rrsets[i]->entry.data, adjust);
546 time_t adjust;
604 verbose(VERB_ALGO, "cachedb msg adjust by zero");
607 adjust = *qstate->env->now - (time_t)timestamp;
608 if(qstate->return_msg->rep->ttl < adjust) {
622 adjust = -1;
624 verbose(VERB_ALGO, "cachedb msg adjusted down by %d", (int)adjust);
625 adjust_msg_ttl(qstate->return_msg, adjust);
637 (adjust == -1 || (time_t)expiry < *qstate->env->now)) {