Searched refs:donotq (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/unbound/iterator/ |
H A D | iter_donotq.c | 142 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 D | iter_donotq.h | 74 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 D | iterator.h | 133 struct iter_donotq* donotq; member
|
H A D | iter_utils.c | 159 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 D | iterator.c | 128 donotq_delete(iter_env->donotq); in iter_deinit() 4535 + donotq_get_mem(ie->donotq) + priv_get_mem(ie->priv); in iter_get_mem()
|