Home
last modified time | relevance | path

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

/freebsd/contrib/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.c462 struct addrnode *node; in lookup_and_reply()
/freebsd/contrib/unbound/services/
H A Drpz.c1628 * The dname is used, for the applied rpz, if NULL, addrnode is used.
1631 log_rpz_apply(char* trigger, uint8_t* dname, struct addr_tree_node* addrnode, in log_rpz_apply() argument
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()