Lines Matching refs:scope
90 node_create(struct addrtree *tree, void *elem, addrlen_t scope, in node_create() argument
98 node->scope = scope; in node_create()
362 addrlen_t sourcemask, addrlen_t scope, void *elem, time_t ttl, in addrtree_insert() argument
374 if (tree->max_depth < scope) scope = tree->max_depth; in addrtree_insert()
376 if (scope < sourcemask) sourcemask = scope; in addrtree_insert()
388 node->scope = scope; in addrtree_insert()
404 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
425 node->scope = scope; in addrtree_insert()
451 newnode->scope = scope; in addrtree_insert()
461 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
493 log_assert(node->scope >= depth); in addrtree_find()
494 if (depth == node->scope || in addrtree_find()
495 (node->scope > sourcemask && in addrtree_find()