Home
last modified time | relevance | path

Searched refs:donotq (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/unbound/iterator/
H A Diter_donotq.c142 donotq_lookup(struct iter_donotq* donotq, struct sockaddr_storage* addr, in donotq_lookup() argument
145 return addr_tree_lookup(&donotq->tree, addr, addrlen) != NULL; in donotq_lookup()
149 donotq_get_mem(struct iter_donotq* donotq) in donotq_get_mem() argument
151 if(!donotq) return 0; in donotq_get_mem()
152 return sizeof(*donotq) + regional_get_mem(donotq->region); in donotq_get_mem()
H A Diter_donotq.h74 void donotq_delete(struct iter_donotq* donotq);
82 int donotq_apply_cfg(struct iter_donotq* donotq, struct config_file* cfg);
91 int donotq_lookup(struct iter_donotq* donotq, struct sockaddr_storage* addr,
99 size_t donotq_get_mem(struct iter_donotq* donotq);
H A Diterator.h133 struct iter_donotq* donotq; member
H A Diter_utils.c159 if(!iter_env->donotq) in iter_apply_cfg()
160 iter_env->donotq = donotq_create(); in iter_apply_cfg()
161 if(!iter_env->donotq || !donotq_apply_cfg(iter_env->donotq, cfg)) { in iter_apply_cfg()
265 if(donotq_lookup(iter_env->donotq, &a->addr, a->addrlen)) { in iter_filter_unsuitable()
H A Diterator.c128 donotq_delete(iter_env->donotq); in iter_deinit()
4535 + donotq_get_mem(ie->donotq) + priv_get_mem(ie->priv); in iter_get_mem()