Searched refs:infra_cache (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/external/bsd/unbound/dist/services/cache/
H A Dinfra.h112 struct infra_cache { struct
201 struct infra_cache* infra_create(struct config_file* cfg);
207 void infra_delete(struct infra_cache* infra);
217 struct infra_cache* infra_adjust(struct infra_cache* infra,
230 struct lruhash_entry* infra_lookup_nottl(struct infra_cache* infra,
252 int infra_host(struct infra_cache* infra, struct sockaddr_storage* addr,
271 int infra_set_lame(struct infra_cache* infra,
291 int infra_rtt_update(struct infra_cache* infra, struct sockaddr_storage* addr,
303 void infra_update_tcp_works(struct infra_cache* infr
[all...]
H A Dinfra.c158 struct infra_cache* infra, char* name)
205 static int infra_ratelimit_cfg_insert(struct infra_cache* infra,
227 setup_domain_limits(struct infra_cache* infra, struct config_file* cfg)
237 struct infra_cache*
240 struct infra_cache* infra = (struct infra_cache*)calloc(1,
241 sizeof(struct infra_cache));
291 infra_delete(struct infra_cache* infra)
302 struct infra_cache*
303 infra_adjust(struct infra_cache* infr
[all...]
/netbsd-current/external/bsd/unbound/dist/testcode/
H A Dreplay.h149 struct infra_cache;
299 struct infra_cache* infra;
H A Dunitmain.c439 static struct infra_data* infra_lookup_host(struct infra_cache* infra,
464 struct infra_cache* slab;
H A Dfake_event.c1034 struct infra_cache* infra,
/netbsd-current/external/bsd/unbound/dist/services/
H A Doutside_network.h58 struct infra_cache;
139 struct infra_cache* infra;
567 int do_ip4, int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra,
H A Doutside_network.c1660 int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra,
3448 if(!infra_ratelimit_inc(env->infra_cache, zone,
3475 infra_ratelimit_dec(env->infra_cache,
3483 infra_ratelimit_dec(env->infra_cache,
/netbsd-current/external/bsd/unbound/dist/util/
H A Dmodule.h342 struct infra_cache* infra_cache; member in struct:module_env
/netbsd-current/external/bsd/unbound/dist/libunbound/
H A Dcontext.c104 ctx->env->infra_cache = infra_adjust(ctx->env->infra_cache, cfg);
105 if(!ctx->env->infra_cache)
H A Dlibworker.c241 w->env->infra_cache, w->env->rnd, cfg->use_caps_bits_for_id,
H A Dlibunbound.c378 infra_delete(ctx->env->infra_cache);
/netbsd-current/external/bsd/unbound/dist/daemon/
H A Dcachedump.c747 entry_ttl = infra_get_host_rto(worker->env.infra_cache,
765 if(!infra_get_lame_rtt(worker->env.infra_cache,
784 if(infra_host(worker->env.infra_cache, &a->addr, a->addrlen,
H A Ddaemon.c882 infra_delete(daemon->env->infra_cache);
1002 if((daemon->env->infra_cache = infra_adjust(daemon->env->infra_cache,
H A Dworker.c136 infra = infra_get_mem(worker->env.infra_cache);
220 (unsigned)infra_get_mem(worker->env.infra_cache),
226 (unsigned)infra_get_mem(worker->env.infra_cache),
1344 if(!infra_ip_ratelimit_inc(worker->env.infra_cache, addr, addrlen,
2185 worker->daemon->env->infra_cache, worker->rndstate,
H A Dremote.c1664 slabhash_clear(worker->env.infra_cache->hosts);
1685 slabhash_traverse(worker->env.infra_cache->hosts, 1, &infra_del_host,
2445 struct infra_cache* infra;
2505 arg.infra = worker->env.infra_cache;
2843 struct infra_cache* infra;
2898 a.infra = worker->env.infra_cache;
2917 a.infra = worker->env.infra_cache;
H A Dstats.c300 s->svr.infra_cache_count = (long long)count_slabhash_entries(worker->env.infra_cache->hosts);
/netbsd-current/external/bsd/unbound/dist/pythonmod/
H A Dinterface.i723 struct infra_cache* infra_cache;
/netbsd-current/external/bsd/unbound/dist/iterator/
H A Diter_utils.c278 if(infra_get_lame_rtt(env->infra_cache, &a->addr, a->addrlen,
H A Diterator.c3414 if(!infra_set_lame(qstate->env->infra_cache,
3433 if(!infra_set_lame(qstate->env->infra_cache,

Completed in 302 milliseconds