Searched defs:cache (Results 1 - 10 of 10) sorted by relevance

/bind-9.6-ESV-R11/bin/tests/
H A Dbyaddr_test.c38 #include <dns/cache.h>
93 dns_cache_t *cache; local
141 cache = NULL;
144 &cache) == ISC_R_SUCCESS);
215 dns_view_setcache(view, cache);
218 dns_cache_detach(&cache);
H A Dadb_test.c38 #include <dns/cache.h>
176 dns_cache_t *cache; local
189 cache = NULL;
191 "rbt", 0, NULL, &cache);
193 dns_view_setcache(view, cache);
194 dns_cache_detach(&cache);
H A Dbyname_test.c40 #include <dns/cache.h>
208 dns_cache_t *cache; local
261 cache = NULL;
264 &cache) == ISC_R_SUCCESS);
334 dns_view_setcache(view, cache);
337 dns_cache_detach(&cache);
H A Ddb_test.c123 if (strcasecmp(origintext, "cache") == 0) {
125 printf("the cache does not exist\n");
238 load(const char *filename, const char *origintext, isc_boolean_t cache) { argument
276 cache ? dns_dbtype_cache : dns_dbtype_zone,
293 if (cache) {
394 printf("cache load(%s) %08x: %s\n",
778 (dns_db_iszone(db)) ? "zone" : "cache");
/bind-9.6-ESV-R11/lib/dns/
H A Dncache.c51 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
101 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, argument
105 return (addoptout(message, cache, node, covers, now, maxttl,
110 dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache, argument
115 return (addoptout(message, cache, node, covers, now, maxttl,
120 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, argument
140 * Convert the authority data from 'message' into a negative cache
141 * rdataset, and store it in 'cache' at 'node'.
154 ncrdatalist.rdclass = dns_db_class(cache);
244 * negative cache rdatase
[all...]
H A Dcache.c31 #include <dns/cache.h>
46 #define VALID_CACHE(cache) ISC_MAGIC_VALID(cache, CACHE_MAGIC)
67 * cache cleaning.
88 * Accesses to a cache cleaner object are synchronized through
89 * task/event serialization, or locked from the cache object.
100 dns_cache_t *cache; member in struct:cache_cleaner
113 isc_boolean_t overmem; /*% The cache is in an overmem state. */
118 * The actual cache object.
126 isc_mem_t *mctx; /* Main cache memor
165 cache_create_db(dns_cache_t *cache, dns_db_t **db) argument
199 dns_cache_t *cache; local
327 cache_free(dns_cache_t *cache) argument
385 dns_cache_attach(dns_cache_t *cache, dns_cache_t **targetp) argument
399 dns_cache_t *cache; local
444 dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp) argument
456 dns_cache_setfilename(dns_cache_t *cache, const char *filename) argument
476 dns_cache_load(dns_cache_t *cache) argument
492 dns_cache_dump(dns_cache_t *cache) argument
509 dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int t) argument
551 cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr, isc_timermgr_t *timermgr, cache_cleaner_t *cleaner) argument
916 dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) argument
967 dns_cache_t *cache = arg; local
988 dns_cache_setcachesize(dns_cache_t *cache, isc_uint32_t size) argument
1029 dns_cache_t *cache = event->ev_arg; local
1068 dns_cache_flush(dns_cache_t *cache) argument
1097 dns_cache_flushname(dns_cache_t *cache, dns_name_t *name) argument
[all...]
H A Dview.c33 #include <dns/cache.h>
129 view->cache = NULL;
295 if (view->cache != NULL)
296 dns_cache_detach(&view->cache);
639 dns_view_setcache(dns_view_t *view, dns_cache_t *cache) { argument
643 if (view->cache != NULL) {
647 dns_cache_detach(&view->cache);
649 dns_cache_attach(cache, &view->cache);
650 dns_cache_attachdb(cache,
[all...]
H A Dresolver.c36 #include <dns/cache.h>
216 dns_db_t * cache; member in struct:fetchctx
407 /* Bad cache. */
449 dns_db_t *cache, dns_dbnode_t *node,
3196 dns_db_detach(&fctx->cache);
3730 * Attach to the view's cache and adb.
3732 fctx->cache = NULL;
3733 dns_db_attach(res->view->cachedb, &fctx->cache);
4064 * to cache the result anyway (if this was a validation started by
4092 result = dns_db_findnode(fctx->cache,
4963 ncache_adderesult(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, isc_boolean_t secure, dns_rdataset_t *ardataset, isc_result_t *eresultp) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dview.h33 * authoritative zones together with an optional cache and optional
37 * the cache, set of zones, and forwarding policy may be set. While
92 dns_cache_t * cache; member in struct:dns_view
182 *\li The newly created view has no cache, no resolver, and an empty
312 dns_view_setcache(dns_view_t *view, dns_cache_t *cache);
314 * Set the view's cache database.
320 *\li 'cache' is a valid cache.
324 * \li The cache of 'view' is 'cached.
327 * view, then previously set cache i
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dserver.c54 #include <dns/cache.h>
165 dns_db_t *cache; member in struct:dumpcontext
1335 dns_cache_t *cache = NULL; local
1397 * Create additional cache for this view and zones under the view
1513 * we can reuse/share an existing cache.
1534 result = ns_config_get(maps, "zero-no-soa-ttl-cache", &obj);
1549 result = ns_config_get(maps, "max-cache-ttl", &obj);
1561 * Configure the view's cache. Try to reuse an existing
1562 * cache if possible, otherwise create a new cache
[all...]

Completed in 1605 milliseconds