HomeSort by: relevance | last modified time | path
    Searched refs:addrtree (Results 1 - 7 of 7) sorted by relevancy

  /src/external/bsd/unbound/dist/edns-subnet/
addrtree.h 2 * edns-subnet/addrtree.h -- radix tree for edns subnet cache.
38 * The addrtree is a radix tree designed for edns subnet. Most notable
65 struct addrtree { struct
78 * delfunc(addrnode->elem, addrtree->env) */
130 size_t addrtree_size(const struct addrtree *tree);
140 * @return new addrtree or NULL on failure.
142 struct addrtree *
150 void addrtree_delete(struct addrtree *tree);
167 void addrtree_insert(struct addrtree *tree, const addrkey_t *addr,
180 struct addrnode * addrtree_find(struct addrtree *tree,
    [all...]
subnetmod.h 49 #include "edns-subnet/addrtree.h"
73 struct addrtree* tree4;
75 struct addrtree* tree6;
addrtree.c 2 * edns-subnet/addrtree.c -- radix tree for edns subnet cache.
36 * addrtree -- radix tree for edns subnet cache.
43 #include "addrtree.h"
90 node_create(struct addrtree *tree, void *elem, addrlen_t scope,
115 node_size(const struct addrtree *tree, const struct addrnode *n)
121 struct addrtree *
125 struct addrtree *tree;
128 tree = (struct addrtree *)calloc(1, sizeof(*tree));
154 clean_node(struct addrtree *tree, struct addrnode *node)
165 lru_pop(struct addrtree *tree, struct addrnode *node
    [all...]
subnetmod.c 47 #include "edns-subnet/addrtree.h"
367 static struct addrtree*
371 struct addrtree *tree;
392 struct addrtree *tree;
536 struct addrtree *tree;
  /src/usr.sbin/tprof/
tprof_analyze.c 68 static rb_tree_t addrtree; variable
194 rb_tree_init(&addrtree, &addrtree_ops);
258 o = rb_tree_insert_node(&addrtree, a);
281 RB_TREE_FOREACH(a, &addrtree) {
  /src/external/bsd/unbound/dist/testcode/
unitecs.c 49 #include "edns-subnet/addrtree.h"
94 static int addrtree_inconsistent_subtree(struct addrtree* tree,
119 static int addrtree_inconsistent(struct addrtree* tree)
163 struct addrtree* t;
167 unit_show_func("edns-subnet/addrtree.h", "Tree consistency check");
186 unit_show_func("edns-subnet/addrtree.h", "Tree consistency with purge");
198 unit_show_func("edns-subnet/addrtree.h", "Tree consistency with limit");
216 unit_show_func("edns-subnet/addrtree.h", "issub");
232 unit_show_func("edns-subnet/addrtree.h", "getbit");
244 unit_show_func("edns-subnet/addrtree.h", "bits_common")
    [all...]
  /src/external/bsd/unbound/dist/daemon/
remote.c 106 #include "edns-subnet/addrtree.h"
1791 /** Lookup in subnet addrtree */
1862 /** Visit an edge in subnet addrtree traverse */
1884 /** Visit a node in subnet addrtree traverse */
1903 /** Traverse subnet addrtree */
1905 addrtree_traverse(struct addrtree* tree, int is_ipv6, time_t now,

Completed in 22 milliseconds