Searched refs:leeway (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/contrib/unbound/services/cache/
H A Ddns.h81 * @param leeway: TTL value, if not 0, other rrsets are considered expired
96 struct reply_info* rep, int is_referral, time_t leeway, int pside,
110 * @param leeway: TTL value, if not 0, other rrsets are considered expired
122 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
H A Ddns.c62 * @param leeway: during prefetch how much leeway to update TTLs.
79 time_t leeway, int pside, struct reply_info* qrep,
91 LDNS_RR_TYPE_NS && !pside)?qstarttime:now + leeway))) {
147 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
164 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region,
1046 struct reply_info* msgrep, int is_referral, time_t leeway, int pside,
1056 /* the leeway is used to invalidate other rrsets earlier */
1067 /* no leeway for typeNS */
1071 && !pside) ? qstarttime:*env->now + leeway));
78 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, time_t leeway, int pside, struct reply_info* qrep, struct regional* region, time_t qstarttime) argument
146 dns_cache_store_msg(struct module_env* env, struct query_info* qinfo, hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, struct reply_info* qrep, uint32_t flags, struct regional* region, time_t qstarttime) argument
1045 dns_cache_store(struct module_env* env, struct query_info* msgqinf, struct reply_info* msgrep, int is_referral, time_t leeway, int pside, struct regional* region, uint32_t flags, time_t qstarttime) argument
[all...]
/freebsd-current/contrib/unbound/iterator/
H A Diter_utils.h139 * @param leeway: prefetch TTL leeway to expire old rrsets quicker.
152 struct reply_info* rep, int is_referral, time_t leeway, int pside,
H A Diter_utils.c694 struct reply_info* msgrep, int is_referral, time_t leeway, int pside,
697 if(!dns_cache_store(env, msgqinf, msgrep, is_referral, leeway,
693 iter_dns_store(struct module_env* env, struct query_info* msgqinf, struct reply_info* msgrep, int is_referral, time_t leeway, int pside, struct regional* region, uint16_t flags, time_t qstarttime) argument
/freebsd-current/contrib/unbound/services/
H A Dmesh.h337 * @param leeway: TTL leeway what to expire earlier for this update.
345 uint16_t qflags, time_t leeway, int rpz_passthru,
H A Dmesh.c673 struct query_info* qinfo, uint16_t qflags, time_t leeway, int run,
687 if(s->s.prefetch_leeway < leeway)
688 s->s.prefetch_leeway = leeway;
714 s->s.prefetch_leeway = leeway;
751 struct query_info* qinfo, uint16_t qflags, time_t leeway, int run,
798 s->s.prefetch_leeway = leeway;
831 uint16_t qflags, time_t leeway, int rpz_passthru,
838 mesh_schedule_prefetch_subnet(mesh, qinfo, qflags, leeway, 1,
842 mesh_schedule_prefetch(mesh, qinfo, qflags, leeway, 1,
672 mesh_schedule_prefetch(struct mesh_area* mesh, struct query_info* qinfo, uint16_t qflags, time_t leeway, int run, int rpz_passthru) argument
750 mesh_schedule_prefetch_subnet(struct mesh_area* mesh, struct query_info* qinfo, uint16_t qflags, time_t leeway, int run, int rpz_passthru, struct sockaddr_storage* addr, struct edns_option* edns_list) argument
830 mesh_new_prefetch(struct mesh_area* mesh, struct query_info* qinfo, uint16_t qflags, time_t leeway, int rpz_passthru, struct sockaddr_storage* addr, struct edns_option* opt_list) argument
/freebsd-current/contrib/unbound/daemon/
H A Dworker.c104 * seconds to add to prefetch leeway. This is a TTL that expires old rrsets
832 uint16_t flags, struct comm_reply* repinfo, time_t leeway, int noreply,
853 mesh_new_prefetch(worker->env.mesh, qinfo, flags, leeway +
863 mesh_new_prefetch(worker->env.mesh, qinfo, flags, leeway +
1853 time_t leeway = rep->ttl - *worker->env.now; local
1855 leeway = 0;
1860 repinfo, leeway,
831 reply_and_prefetch(struct worker* worker, struct query_info* qinfo, uint16_t flags, struct comm_reply* repinfo, time_t leeway, int noreply, int rpz_passthru, struct edns_option* opt_list) argument
/freebsd-current/contrib/unbound/smallapp/
H A Dunbound-anchor.c2207 int32_t leeway = 30 * 24 * 3600; /* 30 days leeway */ local
2229 if(now - last_success >= leeway) {

Completed in 225 milliseconds