| /src/external/bsd/unbound/dist/services/cache/ |
| infra.c | 2 * services/cache/infra.c - infrastructure cache, server rtt and capabilities 46 #include "services/cache/infra.h" 70 * infra-cache-max-rtt) change it to just above the RTT_BAND. */ 348 struct infra_cache* infra = (struct infra_cache*)calloc(1, local 352 if(!infra) { 355 infra->hosts = slabhash_create(cfg->infra_cache_slabs, 358 if(!infra->hosts) { 359 free(infra); 362 infra->host_ttl = cfg->host_ttl; 363 infra->infra_keep_probing = cfg->infra_keep_probing [all...] |
| infra.h | 2 * services/cache/infra.h - infrastructure cache, server rtt and capabilities 42 * - Post-cache, per-domain name rate limiting (infra-ratelimits) 123 * Infra cache 220 /** infra host cache default hash lookup size */ 226 * Create infra cache. 228 * @return: new infra cache, or NULL. 233 * Delete infra cache. 234 * @param infra: infrastructure cache to delete. 236 void infra_delete(struct infra_cache* infra); 239 * Adjust infra cache to use updated configuration settings [all...] |
| /src/external/bsd/unbound/dist/testdata/stat_values.tdir/ |
| stat_values_discard_wait_limit.conf | 23 infra-cache-min-rtt: 3000 # This is for the discard-timeout test
|
| /src/external/bsd/unbound/dist/testcode/ |
| replay.h | 87 * o INFRA_RTT [ip] [dp] [rtt] - update infra cache entry with rtt. 220 /** store infra rtt cache entry: addr and string (int) */ 309 /** ref the infra cache (was passed to outside_network_create) */ 310 struct infra_cache* infra; member in struct:replay_runtime
|
| unitinfra.c | 2 * testcode/unitinfra.c - unit test for infra cache. 38 * Tests the infra functionality. 44 #include "services/cache/infra.h" 49 static struct infra_data* infra_lookup_host(struct infra_cache* infra, 54 struct lruhash_entry* e = infra_lookup_nottl(infra, addr, addrlen, 131 unit_show_feature("infra cache"); 193 unit_show_feature("infra cache probing (keep-probing off, default infra-cache-max-rtt)"); 196 unit_show_feature("infra cache probing (keep-probing on, default infra-cache-max-rtt)") [all...] |
| fake_event.c | 60 #include "services/cache/infra.h" 693 /** Store RTT in infra cache */ 702 rto = infra_rtt_update(runtime->infra, &now->addr, now->addrlen, 781 if(!infra_host(runtime->infra, &p->addr, p->addrlen, p->zone, 785 rto = infra_rtt_update(runtime->infra, &p->addr, p->addrlen, p->zone, 1127 struct infra_cache* infra, 1145 runtime->infra = infra;
|
| /src/external/bsd/unbound/lib/libunbound/ |
| Makefile | 38 infra.c \
|
| /src/external/bsd/unbound/dist/services/ |
| outside_network.h | 143 struct infra_cache* infra; member in struct:outside_network 551 * @param infra: pointer to infra cached used for serviced queries. 574 int do_ip4, int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra,
|
| outside_network.c | 50 #include "services/cache/infra.h" 1722 int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra, 1745 outnet->infra = infra; 2962 * Sends UDP with EDNS, unless infra host marked non EDNS. 2974 if(!infra_host(sq->outnet->infra, &sq->addr, sq->addrlen, sq->zone, 3158 infra_update_tcp_works(sq->outnet->infra, &sq->addr, 3194 if(!infra_edns_update(sq->outnet->infra, &sq->addr, 3203 if(!infra_rtt_update(sq->outnet->infra, &sq->addr, 3218 if(!infra_rtt_update(sq->outnet->infra, &sq->addr [all...] |
| /src/external/bsd/unbound/dist/contrib/ |
| unbound_munin_ | 289 p_config "infra.cache.count" "infra cache count" "GAUGE" 473 infra.cache.count key.cache.count; do
|
| /src/external/bsd/unbound/dist/daemon/ |
| remote.c | 72 #include "services/cache/infra.h" 1195 if(!ssl_printf(ssl, "infra.cache.count"SQ"%u\n", 2226 /** callback to delete hosts in infra cache */ 2247 /** flush infra cache */ 3112 /** structure for argument data for dump infra host */ 3114 /** the infra cache */ 3115 struct infra_cache* infra; member in struct:infra_arg 3125 /** callback for every host element in the infra cache */ 3175 arg.infra = worker->env.infra_cache; 3179 slabhash_traverse(arg.infra->hosts, 0, &dump_infra_host, (void*)&arg) 3547 struct infra_cache* infra; member in struct:ratelimit_list_arg 6510 struct infra_cache* infra = env->infra_cache; local [all...] |
| worker.c | 59 #include "services/cache/infra.h" 124 size_t total, front, back, mesh, msg, rrset, infra, ac, superac; local 136 infra = infra_get_mem(worker->env.infra_cache); 173 total = front+back+mesh+msg+rrset+infra+iter+val+ac+superac+me; 177 "rrset=%u infra=%u iter=%u val=%u subnet=%u anchors=%u " 180 (unsigned)mesh, (unsigned)msg, (unsigned)rrset, (unsigned)infra, 186 "rrset=%u infra=%u iter=%u val=%u anchors=%u " 190 (unsigned)infra, (unsigned)iter, (unsigned)val, (unsigned)anch, 218 verbose(VERB_QUERY, "cache memory msg=%u rrset=%u infra=%u val=%u " 225 verbose(VERB_QUERY, "cache memory msg=%u rrset=%u infra=%u val=%u" [all...] |