Home
last modified time | relevance | path

Searched refs:serve_expired_ttl (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/bsd/unbound/dist/cachedb/
H A Dredis.c333 (!env->cfg->serve_expired || env->cfg->serve_expired_ttl > 0)); in redis_store()
346 ttl += env->cfg->serve_expired_ttl; in redis_store()
H A Dcachedb.c506 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in adjust_msg_ttl()
/netbsd-src/external/bsd/unbound/dist/services/cache/
H A Ddns.c618 if(env->cfg->serve_expired_ttl && in tomsg()
619 r->serve_expired_ttl < now) { in tomsg()
650 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in tomsg()
733 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in rrset_msg()
772 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in synth_dname_msg()
832 msg->rep->serve_expired_ttl = newd->ttl + SERVE_EXPIRED_TTL; in synth_dname_msg()
/netbsd-src/external/bsd/unbound/dist/ipsecmod/
H A Dipsecmod.c450 qstate->return_msg->rep->serve_expired_ttl = qstate->return_msg->rep->ttl + in ipsecmod_handle_query()
451 qstate->env->cfg->serve_expired_ttl; in ipsecmod_handle_query()
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dmsgreply.c114 rep->serve_expired_ttl = expttl; in construct_reply_info_base()
186 rep->serve_expired_ttl, an_numrrsets, 0, 0, an_numrrsets, in make_new_reply_info()
479 rep->serve_expired_ttl = rep->ttl + SERVE_EXPIRED_TTL; in parse_copy_decompress()
561 rep->serve_expired_ttl += timenow; in reply_info_set_ttls()
756 rep->ttl, rep->prefetch_ttl, rep->serve_expired_ttl, in reply_info_copy()
H A Dmsgreply.h164 time_t serve_expired_ttl; member
/netbsd-src/external/bsd/unbound/dist/iterator/
H A Diterator.c326 *qstate->env->now + qstate->env->cfg->serve_expired_ttl in error_response_cache()
327 > rep->serve_expired_ttl) { in error_response_cache()
330 rep->serve_expired_ttl = *qstate->env->now + in error_response_cache()
331 qstate->env->cfg->serve_expired_ttl; in error_response_cache()
358 err.serve_expired_ttl = NORR_TTL; in error_response_cache()
3819 if(from->rep->serve_expired_ttl < to->rep->serve_expired_ttl) in processClassResponse()
3820 to->rep->serve_expired_ttl = from->rep->serve_expired_ttl; in processClassResponse()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dconfig_file.h417 int serve_expired_ttl; member
H A Dconfig_file.c276 cfg->serve_expired_ttl = 0; in config_create()
701 …{ IS_NUMBER_OR_ZERO; cfg->serve_expired_ttl = atoi(val); SERVE_EXPIRED_TTL=(time_t)cfg->serve_expi… in config_set_option()
1161 else O_DEC(opt, "serve-expired-ttl", serve_expired_ttl) in config_get_option()
2306 SERVE_EXPIRED_TTL = (time_t)config->serve_expired_ttl; in config_apply()
H A Dconfigparser.y2087 else cfg_parser->cfg->serve_expired_ttl = atoi($2);
H A Dconfigparser.c5164 else cfg_parser->cfg->serve_expired_ttl = atoi((yyvsp[0].str)); in yyparse()
/netbsd-src/external/bsd/unbound/dist/dns64/
H A Ddns64.c848 rep->ttl, rep->prefetch_ttl, rep->serve_expired_ttl, in dns64_adjust_a()
/netbsd-src/external/bsd/unbound/dist/daemon/
H A Dcachedump.c668 rep.serve_expired_ttl = rep.ttl + SERVE_EXPIRED_TTL; in load_msg()
H A Dworker.c663 if(worker->env.cfg->serve_expired_ttl && in answer_from_cache()
664 rep->serve_expired_ttl < timenow) in answer_from_cache()
H A Dremote.c1727 d->serve_expired_ttl = inf->expired; in zone_del_msg()
/netbsd-src/external/bsd/unbound/dist/validator/
H A Dvalidator.c2449 vq->orig_msg->rep->serve_expired_ttl = in processFinished()
2450 vq->orig_msg->rep->ttl + qstate->env->cfg->serve_expired_ttl; in processFinished()
/netbsd-src/external/bsd/unbound/dist/services/
H A Dauthzone.c196 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in msg_ttl()
202 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in msg_ttl()
2596 msg->rep->serve_expired_ttl = msg->rep->ttl + SERVE_EXPIRED_TTL; in az_add_negative_soa()