Home
last modified time | relevance | path

Searched refs:foundname (Results 1 – 25 of 65) sorted by relevance

123

/netbsd-src/external/mpl/bind/dist/tests/dns/
H A Ddb_test.c299 dns_name_t *name, *foundname; in ISC_RUN_TEST_IMPL()
313 foundname = dns_fixedname_initname(&ffound); in ISC_RUN_TEST_IMPL()
316 foundname, &rdataset, NULL); in ISC_RUN_TEST_IMPL()
326 foundname = dns_fixedname_initname(&ffound); in ISC_RUN_TEST_IMPL()
329 foundname, &rdataset, NULL); in ISC_RUN_TEST_IMPL()
344 foundname, &rdataset, NULL); in ISC_RUN_TEST_IMPL()
351 foundname, &rdataset, NULL); in ISC_RUN_TEST_IMPL()
302 dns_name_t *name, *foundname; ISC_RUN_TEST_IMPL() local
H A Drbt_test.c196 dns_name_t *foundname; in check_test_data()
199 foundname = dns_fixedname_initname(&fixed); in check_test_data()
211 result = dns_rbt_findnode(rbt, name, foundname, &node, NULL, 0, in check_test_data()
1004 dns_name_t *name, *foundname, *expected; in ISC_RUN_TEST_IMPL()
1021 foundname = dns_fixedname_initname(&found); in ISC_RUN_TEST_IMPL()
1027 result = dns_rbtnodechain_first(&chain, ctx->rbt, foundname, NULL); in ISC_RUN_TEST_IMPL()
1029 assert_int_equal(dns_name_countlabels(foundname), 0); in ISC_RUN_TEST_IMPL()
193 dns_name_t *foundname; check_test_data() local
972 dns_name_t *name = NULL, *foundname = NULL; ISC_RUN_TEST_IMPL() local
1077 dns_name_t *name, *foundname, *expected; ISC_RUN_TEST_IMPL() local
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dkeytable.c539 dns_name_t *foundname) { in dns_keytable_finddeepestmatch() argument
549 REQUIRE(foundname != NULL); in dns_keytable_finddeepestmatch()
554 result = dns_rbt_findname(keytable->table, name, 0, foundname, &data); in dns_keytable_finddeepestmatch()
579 dns_name_t *foundname, bool *wantdnssecp) { in dns_keytable_issecuredomain() argument
593 result = dns_rbt_findnode(keytable->table, name, foundname, &node, NULL, in dns_keytable_issecuredomain()
702 dns_name_t *foundname, *origin, *fullname; in dns_keytable_totext() local
710 foundname = dns_fixedname_initname(&fixedfoundname); in dns_keytable_totext()
722 dns_rbtnodechain_current(&chain, foundname, origin, &node); in dns_keytable_totext()
726 result = dns_name_concatenate(foundname, origin, in dns_keytable_totext()
762 dns_name_t *foundname, *origin, *fullname; in dns_keytable_forall() local
[all …]
H A Drootns.c354 dns_name_t *foundname; in check_address_records() local
359 foundname = dns_fixedname_initname(&fixed); in check_address_records()
362 foundname, &hintrrset, NULL); in check_address_records()
364 DNS_DBFIND_GLUEOK, now, NULL, foundname, in check_address_records()
410 NULL, foundname, &hintrrset, NULL); in check_address_records()
412 DNS_DBFIND_GLUEOK, now, NULL, foundname, in check_address_records()
H A Ddb.c486 dns_dbnode_t **nodep, dns_name_t *foundname, in dns_db_find() argument
496 REQUIRE(dns_name_hasbuffer(foundname)); in dns_db_find()
505 now, nodep, foundname, rdataset, in dns_db_find()
509 now, nodep, foundname, NULL, in dns_db_find()
517 dns_dbnode_t **nodep, dns_name_t *foundname, in dns_db_findext() argument
528 REQUIRE(dns_name_hasbuffer(foundname)); in dns_db_findext()
537 db, name, version, type, options, now, nodep, foundname, in dns_db_findext()
541 now, nodep, foundname, rdataset, in dns_db_findext()
549 dns_name_t *foundname, dns_name_t *dcname, in dns_db_findzonecut() argument
560 REQUIRE(dns_name_hasbuffer(foundname)); in dns_db_findzonecut()
[all …]
H A Dlookup.c127 view_find(dns_lookup_t *lookup, dns_name_t *foundname) { in view_find() argument
140 foundname, &lookup->rdataset, in view_find()
151 dns_fixedname_t foundname, fixed; in lookup_find() local
172 fname = dns_fixedname_initname(&foundname); in lookup_find()
209 fname = dns_fixedname_name(&event->foundname); in lookup_find()
H A Dnta.c438 dns_name_t *foundname; in dns_ntatable_covered() local
450 foundname = dns_fixedname_initname(&fn); in dns_ntatable_covered()
456 result = dns_rbt_findnode(ntatable->table, name, foundname, &node, NULL, in dns_ntatable_covered()
459 if (dns_name_issubdomain(foundname, anchor)) { in dns_ntatable_covered()
478 dns_name_format(foundname, nb, sizeof(nb)); in dns_ntatable_covered()
490 result = deletenode(ntatable, foundname); in dns_ntatable_covered()
H A Drbtdb.c2839 dns_name_t foundname; in add_wildcard_magic() local
2844 dns_name_init(&foundname, offsets); in add_wildcard_magic()
2848 dns_name_getlabelsequence(name, 1, n, &foundname); in add_wildcard_magic()
2849 result = dns_rbt_addnode(rbtdb->tree, &foundname, &node); in add_wildcard_magic()
2875 dns_name_t foundname; in add_empty_wildcards() local
2879 dns_name_init(&foundname, offsets); in add_empty_wildcards()
2885 dns_name_getlabelsequence(name, n - i, i, &foundname); in add_empty_wildcards()
2886 if (dns_name_iswildcard(&foundname)) { in add_empty_wildcards()
2887 result = add_wildcard_magic(rbtdb, &foundname, lock); in add_empty_wildcards()
2891 result = dns_rbt_addnode(rbtdb->tree, &foundname, in add_empty_wildcards()
[all …]
H A Dtsig.c390 dns_name_t foundname; in cleanup_ring() local
401 dns_name_init(&foundname, NULL); in cleanup_ring()
406 result = dns_rbtnodechain_first(&chain, ring->keys, &foundname, origin); in cleanup_ring()
414 dns_rbtnodechain_current(&chain, &foundname, origin, &node); in cleanup_ring()
429 result = dns_rbtnodechain_next(&chain, &foundname, origin); in cleanup_ring()
602 dns_name_t foundname; in dns_tsigkeyring_dumpanddetach() local
620 dns_name_init(&foundname, NULL); in dns_tsigkeyring_dumpanddetach()
623 result = dns_rbtnodechain_first(&chain, ring->keys, &foundname, origin); in dns_tsigkeyring_dumpanddetach()
631 dns_rbtnodechain_current(&chain, &foundname, origin, &node); in dns_tsigkeyring_dumpanddetach()
636 result = dns_rbtnodechain_next(&chain, &foundname, origin); in dns_tsigkeyring_dumpanddetach()
H A Dforward.c177 dns_name_t *foundname, dns_forwarders_t **forwardersp) { in dns_fwdtable_find() argument
184 result = dns_rbt_findname(fwdtable->table, name, 0, foundname, in dns_fwdtable_find()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dkeytable.c508 dns_name_t *foundname) { in dns_keytable_deletekey()
520 REQUIRE(foundname != NULL); in dns_keytable_deletekey()
527 dns_name_copy(&keynode->name, foundname); in dns_keytable_find()
537 dns_name_t *foundname, bool *wantdnssecp) { in dns_keytable_find()
555 if (foundname != NULL) { in dns_keytable_finddeepestmatch()
556 dns_name_copy(&keynode->name, foundname); in dns_keytable_finddeepestmatch()
552 dns_keytable_finddeepestmatch(dns_keytable_t * keytable,const dns_name_t * name,dns_name_t * foundname) dns_keytable_finddeepestmatch() argument
592 dns_keytable_issecuredomain(dns_keytable_t * keytable,const dns_name_t * name,dns_name_t * foundname,bool * wantdnssecp) dns_keytable_issecuredomain() argument
715 dns_name_t *foundname, *origin, *fullname; dns_keytable_totext() local
775 dns_name_t *foundname, *origin, *fullname; dns_keytable_forall() local
H A Ddb.c490 dns_dbnode_t **nodep, dns_name_t *foundname, in dns_db_find()
501 REQUIRE(dns_name_hasbuffer(foundname)); in dns_db_find()
510 now, nodep, foundname, rdataset, in dns_db_findext() argument
514 db, name, version, type, options, now, nodep, foundname, in dns_db_findext()
522 dns_dbnode_t **nodep, dns_name_t *foundname, in dns_db_findext()
534 REQUIRE(dns_name_hasbuffer(foundname)); in dns_db_findext()
543 now, nodep, foundname, methods, in dns_db_findzonecut()
548 now, nodep, foundname, rdataset, in dns_db_findzonecut()
556 dns_name_t *foundname, dns_name_t *dcname, in dns_db_findzonecut()
561 * foundname i in dns_db_findzonecut()
479 dns_db_find(dns_db_t * db,const dns_name_t * name,dns_dbversion_t * version,dns_rdatatype_t type,unsigned int options,isc_stdtime_t now,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) dns_db_find() argument
542 dns_db_findzonecut(dns_db_t * db,const dns_name_t * name,unsigned int options,isc_stdtime_t now,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_name_t * dcname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) dns_db_findzonecut() argument
[all...]
H A Drootns.c385 dns_name_t *foundname; in check_address_records()
390 foundname = dns_fixedname_initname(&fixed); in check_address_records()
393 foundname, &hintrrset, NULL); in check_address_records()
395 DNS_DBFIND_GLUEOK, now, NULL, foundname, in check_address_records()
445 NULL, foundname, &hintrrset, NULL); in check_address_records()
447 DNS_DBFIND_GLUEOK, now, NULL, foundname, in check_address_records()
387 dns_name_t *foundname; check_address_records() local
H A Dlookup.c
H A Dnta.c438 dns_name_t *foundname; dns_ntatable_covered() local
H A Drbtdb.c2746 dns_name_t foundname; add_wildcard_magic() local
2782 dns_name_t foundname; add_empty_wildcards() local
3177 setup_delegation(rbtdb_search_t * search,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) setup_delegation() argument
3790 find_closest_nsec(rbtdb_search_t * search,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset,dns_rbt_t * tree,dns_db_secure_t secure) find_closest_nsec() argument
3983 zone_find(dns_db_t * db,const dns_name_t * name,dns_dbversion_t * version,dns_rdatatype_t type,unsigned int options,isc_stdtime_t now,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) zone_find() argument
4522 zone_findzonecut(dns_db_t * db,const dns_name_t * name,unsigned int options,isc_stdtime_t now,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_name_t * dcname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) zone_findzonecut() argument
4725 find_deepest_zonecut(rbtdb_search_t * search,dns_rbtnode_t * node,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) find_deepest_zonecut() argument
4875 find_coveringnsec(rbtdb_search_t * search,const dns_name_t * name,dns_dbnode_t ** nodep,isc_stdtime_t now,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) find_coveringnsec() argument
4987 cache_find(dns_db_t * db,const dns_name_t * name,dns_dbversion_t * version,dns_rdatatype_t type,unsigned int options,isc_stdtime_t now,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) cache_find() argument
5392 cache_findzonecut(dns_db_t * db,const dns_name_t * name,unsigned int options,isc_stdtime_t now,dns_dbnode_t ** nodep,dns_name_t * foundname,dns_name_t * dcname,dns_rdataset_t * rdataset,dns_rdataset_t * sigrdataset) cache_findzonecut() argument
7962 getsigningtime(dns_db_t * db,dns_rdataset_t * rdataset,dns_name_t * foundname) getsigningtime() argument
H A Dtsig.c392 dns_name_t foundname; cleanup_ring() local
604 dns_name_t foundname; dns_tsigkeyring_dumpanddetach() local
H A Dforward.c172 dns_fwdtable_find(dns_fwdtable_t * fwdtable,const dns_name_t * name,dns_name_t * foundname,dns_forwarders_t ** forwardersp) dns_fwdtable_find() argument
/netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/
H A Ddb.h100 dns_dbnode_t **nodep, dns_name_t *foundname,
105 dns_dbnode_t **nodep, dns_name_t *foundname,
165 dns_dbnode_t **nodep, dns_name_t *foundname,
745 #define dns_db_find(db, name, version, type, options, now, nodep, foundname, \
747 dns__db_find(db, name, version, type, options, now, nodep, foundname, \
752 dns_dbnode_t **nodep, dns_name_t *foundname,
757 foundname, methods, clientinfo, rdataset, sigrdataset) \
759 foundname, methods, clientinfo, rdataset, \
764 dns_dbnode_t **nodep, dns_name_t *foundname,
836 * \li 'foundname' i
[all...]
H A Dkeytable.h193 dns_name_t *foundname);
203 *\li 'foundname' is a name with a dedicated buffer.
215 dns_name_t *foundname, bool *wantdnssecp);
232 * is at or beneath a trusted key. If 'foundname' is not NULL, then
H A Drbt.h309 #define dns_rbt_findnode(rbt, name, foundname, node, chain, options, callback, \
311 dns__rbt_findnode(rbt, name, foundname, node, chain, options, \
314 dns__rbt_findnode(dns_rbt_t *rbt, const dns_name_t *name, dns_name_t *foundname,
383 * 'foundname' and 'name' represent the same name (though not
396 * 'foundname' is the name of deepest superdomain (which has
415 *\li #ISC_R_NOSPACE Concatenating nodes to form foundname failed
H A Dforward.h
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
H A Ddb.h97 dns_dbnode_t **nodep, dns_name_t *foundname,
102 dns_dbnode_t **nodep, dns_name_t *foundname,
172 dns_dbnode_t **nodep, dns_name_t *foundname,
765 dns_dbnode_t **nodep, dns_name_t *foundname,
771 dns_dbnode_t **nodep, dns_name_t *foundname,
961 dns_name_t *foundname, dns_name_t *dcname,
H A Dkeytable.h234 dns_name_t *foundname);
270 dns_name_t *foundname, bool *wantdnssecp);
H A Drbt.h399 dns_name_t *foundname, void **data);
437 dns_rbt_findnode(dns_rbt_t *rbt, const dns_name_t *name, dns_name_t *foundname,

123