Home
last modified time | relevance | path

Searched refs:ntatable (Results 1 – 5 of 5) sorted by relevance

/netbsd/external/mpl/bind/dist/lib/dns/
H A Dnta.c114 ntatable = isc_mem_get(view->mctx, sizeof(*ntatable)); in dns_ntatable_create()
116 ntatable->task = NULL; in dns_ntatable_create()
121 isc_task_setname(ntatable->task, "ntatable", ntatable); in dns_ntatable_create()
125 &ntatable->table); in dns_ntatable_create()
148 isc_mem_put(view->mctx, ntatable, sizeof(*ntatable)); in dns_ntatable_create()
181 ntatable->magic = 0; in dns_ntatable_detach()
182 isc_mem_put(ntatable->view->mctx, ntatable, sizeof(*ntatable)); in dns_ntatable_detach()
191 dns_ntatable_t *ntatable = nta->ntatable; in fetch_done() local
247 dns_ntatable_t *ntatable = nta->ntatable; in checkbogus() local
317 nta->ntatable = ntatable; in nta_create()
[all …]
H A Dview.c2403 dns_ntatable_t *ntatable = NULL; in dns_view_saventa() local
2415 result = dns_view_getntatable(view, &ntatable); in dns_view_saventa()
2424 result = dns_ntatable_save(ntatable, fp); in dns_view_saventa()
2434 if (ntatable != NULL) { in dns_view_saventa()
2435 dns_ntatable_detach(&ntatable); in dns_view_saventa()
2456 dns_ntatable_t *ntatable = NULL; in dns_view_loadnta() local
2469 CHECK(dns_view_getntatable(view, &ntatable)); in dns_view_loadnta()
2537 (void)dns_ntatable_add(ntatable, ntaname, forced, 0, t); in dns_view_loadnta()
2548 if (ntatable != NULL) { in dns_view_loadnta()
2549 dns_ntatable_detach(&ntatable); in dns_view_loadnta()
/netbsd/external/mpl/bind/dist/lib/dns/include/dns/
H A Dnta.h125 dns_ntatable_add(dns_ntatable_t *ntatable, const dns_name_t *name, bool force,
155 dns_ntatable_delete(dns_ntatable_t *ntatable, const dns_name_t *keyname);
173 dns_ntatable_covered(dns_ntatable_t *ntatable, isc_stdtime_t now,
189 dns_ntatable_totext(dns_ntatable_t *ntatable, const char *view,
201 dns_ntatable_dump(dns_ntatable_t *ntatable, FILE *fp);
207 dns_ntatable_save(dns_ntatable_t *ntatable, FILE *fp);
213 dns_ntatable_shutdown(dns_ntatable_t *ntatable);
/netbsd/external/mpl/bind/dist/lib/dns/tests/
H A Dkeytable_test.c71 dns_ntatable_t *ntatable = NULL; variable
193 dns_ntatable_create(view, taskmgr, timermgr, &ntatable), in create_tables()
215 assert_int_equal(dns_ntatable_add(ntatable, in create_tables()
223 if (ntatable != NULL) { in destroy_tables()
224 dns_ntatable_detach(&ntatable); in destroy_tables()
406 assert_int_equal(dns_ntatable_delete(ntatable, str2name("insecure." in delete_test()
618 result = dns_view_getntatable(myview, &ntatable); in nta_test()
627 result = dns_ntatable_add(ntatable, str2name("insecure.example"), false, in nta_test()
672 result = dns_ntatable_add(ntatable, str2name("new.example"), false, now, in nta_test()
682 result = dns_ntatable_delete(ntatable, str2name("new.example")); in nta_test()
[all …]
/netbsd/external/mpl/bind/dist/bin/named/
H A Dserver.c4026 dns_ntatable_t *ntatable = NULL; in configure_view() local
5931 if (ntatable != NULL) { in configure_view()
5932 dns_ntatable_detach(&ntatable); in configure_view()
11342 dns_ntatable_t *ntatable = NULL; in named_server_dumpsecroots() local
11405 if (ntatable != NULL) { in named_server_dumpsecroots()
11430 if (ntatable != NULL) { in named_server_dumpsecroots()
11431 dns_ntatable_detach(&ntatable); in named_server_dumpsecroots()
15292 dns_ntatable_t *ntatable = NULL; in named_server_nta() local
15393 if (ntatable != NULL) { in named_server_nta()
15473 if (ntatable != NULL) { in named_server_nta()
[all …]