Searched defs:node (Results 1 - 25 of 64) sorted by relevance

123

/bind-9.11.3/lib/dns/include/dns/
H A Dlookup.h63 dns_dbnode_t *node; member in struct:dns_lookupevent
H A Drdatasetiter.h21 * rdatasets at a node.
92 dns_dbnode_t * node; member in struct:dns_rdatasetiter
116 * Move the rdataset cursor to the first rdataset at the node (if any).
123 *\li ISC_R_NOMORE There are no rdatasets at the node.
131 * Move the rdataset cursor to the next rdataset at the node (if any).
139 * node.
H A Drriterator.h59 dns_dbnode_t *node; member in struct:dns_rriterator
73 * Initialize an rriterator; sets the cursor to the origin node
H A Dresolver.h55 * 'node', 'rdataset', and 'sigrdataset' may be bound. It is the
68 dns_dbnode_t * node; member in struct:dns_fetchevent
H A Drbt.h61 * This is the structure that is used for each node in the red/black
70 DNS_RBT_NSEC_HAS_NSEC=1, /* also has node in nsec tree */
117 /* node needs to be cleaned from rpz */
141 * node lock must be held before accessing them.
145 * set of bitfields which are accessed after acquiring the node
148 * after acquiring the node lock.
152 * without the node lock as it shares the qword with other
157 unsigned int :0; /* start of bitfields c/o node lock */
164 unsigned int :0; /* end of bitfields c/o node lock */
171 typedef isc_result_t (*dns_rbtfindcallback_t)(dns_rbtnode_t *node,
1085 dns_rbtnode_refincrement0(dns_rbtnode_t *node, unsigned int *refs) argument
1092 dns_rbtnode_refincrement(dns_rbtnode_t *node, unsigned int *refs) argument
1100 dns_rbtnode_refdecrement(dns_rbtnode_t *node, unsigned int *refs) argument
[all...]
/bind-9.11.3/lib/isc/tests/
H A Dradix_test.c30 isc_radix_node_t *node; local
48 node = NULL;
49 result = isc_radix_insert(radix, &node, NULL, &prefix);
51 node->data[0] = (void *)1;
58 node = NULL;
59 result = isc_radix_insert(radix, &node, NULL, &prefix);
61 node->data[0] = (void *)2;
68 node = NULL;
69 result = isc_radix_search(radix, &node, &prefix);
71 ATF_REQUIRE_EQ(node
[all...]
/bind-9.11.3/lib/dns/tests/
H A Ddb_test.c46 dns_dbnode_t *node = NULL; local
60 result = dns_db_getoriginnode(db, &node);
62 dns_db_detachnode(db, &node);
64 result = dns_db_getoriginnode(db, &node);
66 dns_db_detachnode(db, &node);
H A Ddbiterator_test.c92 dns_dbnode_t *node = NULL; local
115 result = dns_dbiterator_current(iter, &node, name);
119 dns_db_detachnode(db, &node);
155 dns_dbnode_t *node = NULL; local
178 result = dns_dbiterator_current(iter, &node, name);
182 dns_db_detachnode(db, &node);
211 /* seek: walk database starting at a particular node */
216 dns_dbnode_t *node = NULL; local
245 result = dns_dbiterator_current(iter, &node, name);
249 dns_db_detachnode(db, &node);
[all...]
H A Ddbversion_test.c228 dns_dbnode_t *node = NULL; local
236 result = dns_db_findnode(db1, dns_rootname, ISC_FALSE, &node);
240 result = dns_db_allrdatasets(db1, node, VERSION(callback), 0,
249 dns_db_detachnode(db1, &node);
250 ATF_REQUIRE_EQ(node, NULL);
284 dns_dbnode_t *node = NULL; local
294 result = dns_db_findnode(db1, dns_rootname, ISC_FALSE, &node);
298 result = dns_db_findrdataset(db1, node, VERSION(callback),
304 dns_db_detachnode(db1, &node);
305 ATF_REQUIRE_EQ(node, NUL
339 dns_dbnode_t *node = NULL; local
394 dns_dbnode_t *node = NULL; local
504 dns_dbnode_t *node = NULL; local
614 dns_dbnode_t *node = NULL; local
[all...]
/bind-9.11.3/lib/dns/
H A Diptable.c68 isc_radix_node_t *node = NULL; local
76 result = isc_radix_insert(tab->radix, &node, NULL, &pfx);
82 /* If a node already contains data, don't overwrite it */
87 if (node->data[i] == NULL)
88 node->data[i] = pos ? &dns_iptable_pos
94 if (node->data[offset] == NULL) {
95 node->data[offset] = pos ? &dns_iptable_pos
111 isc_radix_node_t *node, *new_node; local
114 RADIX_WALK (source->radix->head, node) {
116 result = isc_radix_insert (tab->radix, &new_node, node, NUL
[all...]
H A Dprivate.c100 dns_dbnode_t *node; local
108 node = NULL;
113 CHECK(dns_db_getoriginnode(db, &node));
115 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec,
121 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec3param,
137 result = dns_db_findrdataset(db, node, ver, privatetype,
284 if (node != NULL)
285 dns_db_detachnode(db, &node);
H A Dncache.c42 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
92 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, argument
96 return (addoptout(message, cache, node, covers, now, maxttl,
102 dns_dbnode_t *node, dns_rdatatype_t covers,
106 return (addoptout(message, cache, node, covers, now, maxttl,
111 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, argument
132 * rdataset, and store it in 'cache' at 'node'.
259 return (dns_db_addrdataset(cache, node, NULL, now, &ncrdataset,
101 dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl, isc_boolean_t optout, dns_rdataset_t *addedrdataset) argument
H A Dnsec.c95 dns_dbnode_t *node, dns_name_t *target,
122 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter);
169 dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, argument
181 RETERR(dns_nsec_buildrdata(db, version, node, target, data, &rdata));
189 result = dns_db_addrdataset(db, node, version, 0, &rdataset,
239 dns_dbnode_t *node = NULL; local
248 result = dns_db_getoriginnode(db, &node);
252 result = dns_db_findrdataset(db, node, version, dns_rdatatype_dnskey,
254 dns_db_detachnode(db, &node);
94 dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *target, unsigned char *buffer, dns_rdata_t *rdata) argument
H A Drootns.c146 dns_dbnode_t *node = NULL; local
165 result = dns_dbiterator_current(dbiter, &node, name);
168 result = dns_db_allrdatasets(db, node, NULL, now, &rdsiter);
175 dns_db_detachnode(db, &node);
186 if (node != NULL)
187 dns_db_detachnode(db, &node);
H A Dcompress.c60 dns_compressnode_t *node; local
68 node = cctx->table[i];
70 if ((node->offset & 0x8000) != 0)
71 isc_mem_put(cctx->mctx, node->r.base,
72 node->r.length);
73 if (node->count < DNS_COMPRESS_INITIALNODES)
75 isc_mem_put(cctx->mctx, node, sizeof(*node));
127 #define NODENAME(node, name) \
129 (name)->length = (node)
145 dns_compressnode_t *node = NULL; local
216 dns_compressnode_t *node; local
298 dns_compressnode_t *node; local
[all...]
/bind-9.11.3/contrib/sdb/bdb/
H A Dzone2bdb.c123 dns_dbnode_t *node = NULL; local
156 dns_dbiterator_current(dbiter, &node, dns_fixedname_name(&name));
157 REQUIRE(dns_db_allrdatasets(db, node, NULL, 0, &rdatasetiter)
180 dns_db_detachnode(db, &node);
/bind-9.11.3/contrib/sdb/pgsql/
H A Dzonetodb.c131 dns_dbnode_t *node; local
236 node = NULL;
237 result = dns_dbiterator_current(dbiter, &node, name);
243 result = dns_db_allrdatasets(db, node, NULL, 0, &rdsiter);
262 dns_db_detachnode(db, &node);
/bind-9.11.3/bin/tests/
H A Dnsecify.c45 active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) { argument
53 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter);
72 * Make sure there is no NSEC record for this node.
74 result = dns_db_deleterdataset(db, node, version,
111 dns_dbnode_t *node, *nextnode; local
152 node = NULL;
153 result = next_active(db, wversion, dbiter, name, &node);
168 dns_nsec_build(db, wversion, node, target, 3600); /* XXX BEW */
169 dns_db_detachnode(db, &node);
170 node
[all...]
/bind-9.11.3/lib/isc/
H A Dht.c99 isc_ht_node_t *node = ht->table[i]; local
100 while (node != NULL) {
101 isc_ht_node_t *next = node->next;
103 isc_mem_put(ht->mctx, node,
105 node->keysize);
106 node = next;
122 isc_ht_node_t *node; local
129 node = ht->table[hash & ht->mask];
130 while (node != NULL) {
131 if (keysize == node
156 isc_ht_node_t *node; local
179 isc_ht_node_t *node, *prev; local
282 isc_ht_node_t *node = NULL; local
[all...]
H A Dradix.c158 * if func is supplied, it will be called as func(node->data)
159 * before deleting the node
217 * func will be called as func(node->prefix, node->data)
221 isc_radix_node_t *node; local
225 RADIX_WALK(radix->head, node) {
226 func(node->prefix, node->data);
235 isc_radix_node_t *node; local
252 node
304 isc_radix_node_t *node, *new_node, *parent, *glue = NULL; local
613 isc_radix_remove(isc_radix_tree_t *radix, isc_radix_node_t *node) argument
[all...]
/bind-9.11.3/contrib/sdb/sqlite/
H A Dzone2sqlite.c146 dns_dbnode_t *node; local
248 node = NULL;
249 result = dns_dbiterator_current(dbiter, &node, name);
255 result = dns_db_allrdatasets(db, node, NULL, 0, &rdsiter);
274 dns_db_detachnode(db, &node);
/bind-9.11.3/bin/dnssec/
H A Ddnssec-dsfromkey.c100 dns_dbnode_t *node = NULL; local
120 result = dns_db_findnode(db, name, ISC_FALSE, &node);
122 fatal("can't find %s node in %s", setname, filename);
124 result = dns_db_findrdataset(db, node, NULL, dns_rdatatype_dnskey,
132 if (node != NULL)
133 dns_db_detachnode(db, &node);
H A Ddnssec-importkey.c105 dns_dbnode_t *node = NULL; local
126 result = dns_db_findnode(db, name, ISC_FALSE, &node);
128 fatal("can't find %s node in %s", setname, filename);
130 result = dns_db_findrdataset(db, node, NULL, dns_rdatatype_dnskey,
138 if (node != NULL)
139 dns_db_detachnode(db, &node);
/bind-9.11.3/bin/named/include/named/
H A Dquery.h64 dns_dbnode_t * node; member in struct:ns_query::__anon10
/bind-9.11.3/bin/named/
H A Dlwdgrbn.c64 iterate_node(lwres_grbnresponse_t *grbn, dns_db_t *db, dns_dbnode_t *node, argument
77 result = dns_db_allrdatasets(db, node, NULL, 0, &iter);
290 result = iterate_node(grbn, levent->db, levent->node,

Completed in 36 milliseconds

123