Lines Matching defs:key
87 node->node.key = node;
99 node->node.key = node;
162 struct name_tree_node key;
163 key.node.key = &key;
164 key.name = name;
165 key.len = len;
166 key.labs = labs;
167 key.dclass = dclass;
168 return (struct name_tree_node*)rbtree_search(tree, &key);
176 struct name_tree_node key;
177 key.node.key = &key;
178 key.name = name;
179 key.len = len;
180 key.labs = labs;
181 key.dclass = dclass;
182 if(rbtree_find_less_equal(tree, &key, &res)) {
192 (void)dname_lab_cmp(result->name, result->labs, key.name,
193 key.labs, &m);
208 struct addr_tree_node key;
209 key.node.key = &key;
210 memcpy(&key.addr, addr, addrlen);
211 key.addrlen = addrlen;
212 key.net = (addr_is_ip6(addr, addrlen)?128:32);
213 if(rbtree_find_less_equal(tree, &key, &res)) {
224 key.net, addrlen);
237 struct name_tree_node key;
257 key.node.key = &key;
258 key.name = (uint8_t*)"\000";
259 key.len = 1;
260 key.labs = 0;
261 key.dclass = *dclass;
263 if(rbtree_find_less_equal(tree, &key, &n)) {