Home
last modified time | relevance | path

Searched refs:addrnode (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/usr.sbin/unbound/edns-subnet/
H A Daddrtree.h66 struct addrnode *root;
86 struct addrnode* first;
88 struct addrnode *last;
91 struct addrnode { struct
107 struct addrnode *prev; argument
109 struct addrnode *next; argument
118 struct addrnode *node;
120 struct addrnode *parent_node;
180 struct addrnode * addrtree_find(struct addrtree *tree,
H A Daddrtree.c55 edge_create(struct addrnode *node, const addrkey_t *addr, in edge_create()
56 addrlen_t addrlen, struct addrnode *parent_node, int parent_index) in edge_create()
89 static struct addrnode *
93 struct addrnode* node = (struct addrnode *)malloc( sizeof (*node) ); in node_create()
115 node_size(const struct addrtree *tree, const struct addrnode *n) in node_size()
154 clean_node(struct addrtree *tree, struct addrnode *node) in clean_node()
165 lru_pop(struct addrtree *tree, struct addrnode *node) in lru_pop()
186 lru_push(struct addrtree *tree, struct addrnode *node) in lru_push()
201 lru_update(struct addrtree *tree, struct addrnode *node) in lru_update()
215 purge_node(struct addrtree *tree, struct addrnode *node) in purge_node()
[all …]
H A Dsubnetmod.c460 struct addrnode *node; in lookup_and_reply()
/openbsd-src/usr.sbin/unbound/testcode/
H A Dunitecs.c98 struct addrnode* node = parent_edge->node; in addrtree_inconsistent_subtree()
/openbsd-src/usr.sbin/unbound/services/
H A Drpz.c1628 * The dname is used, for the applied rpz, if NULL, addrnode is used. in log_rpz_apply()
1631 log_rpz_apply(char* trigger, uint8_t* dname, struct addr_tree_node* addrnode, in log_rpz_apply()
1640 } else if(addrnode) { in log_rpz_apply()
1642 addr_to_str(&addrnode->addr, addrnode->addrlen, addrbuf, sizeof(addrbuf)); in log_rpz_apply()
1643 snprintf(dnamestr, sizeof(dnamestr), "%s/%d", addrbuf, addrnode->net); in log_rpz_apply()
1619 log_rpz_apply(char * trigger,uint8_t * dname,struct addr_tree_node * addrnode,enum rpz_action a,struct query_info * qinfo,struct comm_reply * repinfo,struct module_qstate * ms,char * log_name) log_rpz_apply() argument
/openbsd-src/sbin/unwind/libunbound/services/
H A Drpz.c1628 * The dname is used, for the applied rpz, if NULL, addrnode is used. in log_rpz_apply()
1631 log_rpz_apply(char* trigger, uint8_t* dname, struct addr_tree_node* addrnode, in log_rpz_apply()
1640 } else if(addrnode) { in log_rpz_apply()
1642 addr_to_str(&addrnode->addr, addrnode->addrlen, addrbuf, sizeof(addrbuf)); in log_rpz_apply()
1643 snprintf(dnamestr, sizeof(dnamestr), "%s/%d", addrbuf, addrnode->net); in log_rpz_apply()
1619 log_rpz_apply(char * trigger,uint8_t * dname,struct addr_tree_node * addrnode,enum rpz_action a,struct query_info * qinfo,struct comm_reply * repinfo,struct module_qstate * ms,char * log_name) log_rpz_apply() argument