Searched refs:rrset_cache (Results 1 - 25 of 25) sorted by relevance

/freebsd-11.0-release/contrib/unbound/services/cache/
H A Drrset.h56 struct rrset_cache { struct
67 struct rrset_cache* rrset_cache_create(struct config_file* cfg,
74 void rrset_cache_delete(struct rrset_cache* r);
85 struct rrset_cache* rrset_cache_adjust(struct rrset_cache* r,
104 void rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key,
133 int rrset_cache_update(struct rrset_cache* r, struct rrset_ref* ref,
150 struct ub_packed_rrset_key* rrset_cache_lookup(struct rrset_cache* r,
188 void rrset_array_unlock_touch(struct rrset_cache* r, struct regional* scratch,
201 void rrset_update_sec_status(struct rrset_cache*
[all...]
H A Drrset.c58 struct rrset_cache* rrset_cache_create(struct config_file* cfg,
65 struct rrset_cache *r = (struct rrset_cache*)slabhash_create(slabs,
72 void rrset_cache_delete(struct rrset_cache* r)
80 struct rrset_cache* rrset_cache_adjust(struct rrset_cache *r,
93 rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key,
184 rrset_cache_update(struct rrset_cache* r, struct rrset_ref* ref,
241 rrset_cache_lookup(struct rrset_cache* r, uint8_t* qname, size_t qnamelen,
303 rrset_array_unlock_touch(struct rrset_cache*
[all...]
H A Ddns.c80 switch(rrset_cache_update(env->rrset_cache, &rep->ref[i],
160 if((rrset = rrset_cache_lookup(env->rrset_cache, qname,
218 akey = rrset_cache_lookup(env->rrset_cache, ns->name,
238 akey = rrset_cache_lookup(env->rrset_cache, ns->name,
272 akey = rrset_cache_lookup(env->rrset_cache, ns->name,
292 akey = rrset_cache_lookup(env->rrset_cache, ns->name,
323 env->rrset_cache, dp->name, dp->namelen, LDNS_RR_TYPE_DS,
328 rrset = rrset_cache_lookup(env->rrset_cache, dp->name,
526 rrset_array_unlock_touch(env->rrset_cache, scratch, r->ref,
667 env->rrset_cache, qnam
[all...]
/freebsd-11.0-release/contrib/unbound/validator/
H A Dval_neg.h53 struct rrset_cache;
224 * @param rrset_cache: the rrset cache, for NSEC lookups.
233 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now);
241 * @param rrset_cache: rrset cache.
259 struct rrset_cache* rrset_cache, struct sldns_buffer* buf, time_t now,
H A Dval_utils.h53 struct rrset_cache;
323 struct val_anchors* anchors, struct rrset_cache* r,
335 struct rrset_cache* r, struct module_env* env);
H A Dval_neg.c931 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now)
980 nsec = rrset_cache_lookup(rrset_cache, data->name, data->len,
1136 * @param rrset_cache: rrset cache
1149 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, argument
1154 struct ub_packed_rrset_key* r, *k = rrset_cache_lookup(rrset_cache,
1238 struct rrset_cache* rrset_cache, struct regional* region,
1259 nc_rrset = grab_nsec(rrset_cache, dat
930 val_neg_dlvlookup(struct val_neg_cache* neg, uint8_t* qname, size_t len, uint16_t qclass, struct rrset_cache* rrset_cache, time_t now) argument
1237 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* b32, size_t maxb32) argument
1270 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument
1370 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument
1400 val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo, struct regional* region, struct rrset_cache* rrset_cache, sldns_buffer* buf, time_t now, int addsoa, uint8_t* topname) argument
[all...]
H A Dval_utils.c327 rrset_check_sec_status(env->rrset_cache, rrset, *env->now);
360 rrset_update_sec_status(env->rrset_cache, rrset, *env->now);
967 struct rrset_cache* r, struct module_env* env)
987 struct rrset_cache* r, struct module_env* env)
1096 env->rrset_cache, nm, nmlen, LDNS_RR_TYPE_DS, c, 0,
1119 msg = val_neg_getmsg(env->neg_cache, &qinfo, region, env->rrset_cache,
H A Dval_nsec.c185 rrset_check_sec_status(env->rrset_cache, nsec, *env->now);
190 rrset_update_sec_status(env->rrset_cache, nsec, *env->now);
H A Dvalidator.c1355 qstate->env->rrset_cache, qstate->env);
1433 qstate->env->rrset_cache, qstate->env);
1462 qstate->env->rrset_cache, qstate->env);
1672 qstate->env->rrset_cache, qstate->env);
1921 qstate->env->rrset_cache, *qstate->env->now)) {
2201 qstate->env->rrset_cache, *qstate->env->now)) {
H A Dval_nsec3.c1298 rrset_check_sec_status(env->rrset_cache, list[i], *env->now);
1307 rrset_update_sec_status(env->rrset_cache, list[i], *env->now);
H A Dautotrust.c2346 rrset_cache_remove(env->rrset_cache, qinfo.qname, qinfo.qname_len,
/freebsd-11.0-release/contrib/unbound/util/
H A Dmodule.h161 struct rrset_cache;
192 struct rrset_cache* rrset_cache; member in struct:module_env
/freebsd-11.0-release/contrib/unbound/daemon/
H A Ddaemon.h56 struct rrset_cache;
H A Ddaemon.c594 slabhash_clear(&daemon->env->rrset_cache->table);
625 rrset_cache_delete(daemon->env->rrset_cache);
693 if((daemon->env->rrset_cache = rrset_cache_adjust(
694 daemon->env->rrset_cache, cfg, &daemon->superalloc)) == 0)
H A Dcachedump.c122 struct rrset_cache* r = worker->env.rrset_cache;
430 (void)rrset_cache_update(worker->env.rrset_cache, &ref,
603 k = rrset_cache_lookup(worker->env.rrset_cache, qinfo.qname,
H A Dworker.c164 rrset = slabhash_get_mem(&worker->env.rrset_cache->table);
217 (unsigned)slabhash_get_mem(&worker->env.rrset_cache->table),
575 rrset_array_unlock_touch(worker->env.rrset_cache,
590 rrset_array_unlock_touch(worker->env.rrset_cache,
627 rrset_array_unlock_touch(worker->env.rrset_cache, worker->scratchpad,
1382 slabhash_clear(&worker->env.rrset_cache->table);
H A Dremote.c802 rrset = slabhash_get_mem(&daemon->env->rrset_cache->table);
1207 rrset_cache_remove(worker->env.rrset_cache, nm, nmlen, t, c, 0);
1209 rrset_cache_remove(worker->env.rrset_cache, nm, nmlen, t, c,
1411 slabhash_traverse(&worker->env.rrset_cache->table, 1,
1480 slabhash_traverse(&worker->env.rrset_cache->table, 1,
1555 slabhash_traverse(&worker->env.rrset_cache->table, 1,
H A Dstats.c173 s->svr.rrset_cache_count = count_slabhash_entries(&worker->env.rrset_cache->table);
/freebsd-11.0-release/contrib/unbound/libunbound/
H A Dcontext.c81 ctx->env->rrset_cache = rrset_cache_adjust(ctx->env->rrset_cache,
83 if(!ctx->env->rrset_cache)
H A Dlibworker.c819 slabhash_clear(&w->env->rrset_cache->table);
H A Dlibunbound.c279 rrset_cache_delete(ctx->env->rrset_cache);
/freebsd-11.0-release/contrib/unbound/iterator/
H A Diter_utils.c819 (void)rrset_cache_update(env->rrset_cache, &ref, env->alloc, *env->now);
909 akey = rrset_cache_lookup(env->rrset_cache, dp->name,
933 akey = rrset_cache_lookup(env->rrset_cache, ns->name,
945 akey = rrset_cache_lookup(env->rrset_cache, ns->name,
H A Diter_scrub.c575 (void)rrset_cache_update(env->rrset_cache, &ref, env->alloc, now);
H A Diterator.c1033 qstate->region, qstate->env->rrset_cache,
/freebsd-11.0-release/contrib/unbound/dns64/
H A Ddns64.c728 rrset_cache_remove(super->env->rrset_cache, dk->rk.dname,

Completed in 180 milliseconds