| /freebsd-9-stable/contrib/bind9/lib/dns/ |
| D | view.c | 76 dns_view_t *view; in dns_view_create() local 86 view = isc_mem_get(mctx, sizeof(*view)); in dns_view_create() 87 if (view == NULL) in dns_view_create() 90 view->mctx = NULL; in dns_view_create() 91 isc_mem_attach(mctx, &view->mctx); in dns_view_create() 92 view->name = isc_mem_strdup(mctx, name); in dns_view_create() 93 if (view->name == NULL) { in dns_view_create() 97 result = isc_mutex_init(&view->lock); in dns_view_create() 101 view->zonetable = NULL; in dns_view_create() 103 result = dns_zt_create(mctx, rdclass, &view->zonetable); in dns_view_create() [all …]
|
| D | dlz.c | 113 dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name, in dns_dlzallowzonexfr() argument 123 REQUIRE(DNS_DLZ_VALID(view->dlzdatabase)); in dns_dlzallowzonexfr() 128 dlzdatabase = view->dlzdatabase; in dns_dlzallowzonexfr() 132 view->rdclass, name, clientaddr, dbp); in dns_dlzallowzonexfr() 254 dns_dlzfindzone(dns_view_t *view, dns_name_t *name, unsigned int minlabels, in dns_dlzfindzone() argument 268 REQUIRE(DNS_DLZ_VALID(view->dlzdatabase)); in dns_dlzfindzone() 298 dlzdatabase = view->dlzdatabase; in dns_dlzfindzone() 302 view->rdclass, zonename, dbp); in dns_dlzfindzone() 529 dns_dlz_writeablezone(dns_view_t *view, const char *zone_name) { in dns_dlz_writeablezone() argument 538 REQUIRE(DNS_DLZ_VALID(view->dlzdatabase)); in dns_dlz_writeablezone() [all …]
|
| D | rootns.c | 270 report(dns_view_t *view, dns_name_t *name, isc_boolean_t missing, in report() argument 280 if (strcmp(view->name, "_bind") != 0 && in report() 281 strcmp(view->name, "_default") != 0) { in report() 282 viewname = view->name; in report() 329 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, in check_address_records() argument 355 report(view, name, ISC_TRUE, &rdata); in check_address_records() 363 report(view, name, ISC_FALSE, &rdata); in check_address_records() 373 report(view, name, ISC_TRUE, &rdata); in check_address_records() 397 report(view, name, ISC_TRUE, &rdata); in check_address_records() 406 report(view, name, ISC_FALSE, &rdata); in check_address_records() [all …]
|
| D | client.c | 129 dns_view_t *view; member 227 dns_view_t *view; member 310 dns_view_t *view = NULL; in dns_client_createview() local 313 result = dns_view_create(mctx, rdclass, DNS_CLIENTVIEW_NAME, &view); in dns_client_createview() 318 result = dns_view_initsecroots(view, mctx); in dns_client_createview() 320 dns_view_detach(&view); in dns_client_createview() 324 result = dns_view_createresolver(view, taskmgr, ntasks, 1, socketmgr, in dns_client_createview() 328 dns_view_detach(&view); in dns_client_createview() 342 rdclass, 0, NULL, &view->cachedb); in dns_client_createview() 344 dns_view_detach(&view); in dns_client_createview() [all …]
|
| D | lookup.c | 50 dns_view_t * view; member 91 result = dns_resolver_createfetch(lookup->view->resolver, in start_fetch() 173 result = dns_view_find(lookup->view, name, type, 0, 0, ISC_FALSE, in view_find() 349 dns_view_detach(&lookup->view); in lookup_find() 386 dns_view_t *view, unsigned int options, isc_task_t *task, in dns_lookup_create() argument 430 lookup->view = NULL; in dns_lookup_create() 431 dns_view_attach(view, &lookup->view); in dns_lookup_create() 470 INSIST(lookup->view != NULL); in dns_lookup_cancel() 487 REQUIRE(lookup->view == NULL); in dns_lookup_destroy()
|
| D | validator.c | 254 if (!dns_resolver_algorithm_supported(val->view->resolver, in dlv_algorithm_supported() 611 } else if (val->view->dlv == NULL || DLVTRIED(val)) { in dsfetched2() 771 } else if (val->view->dlv == NULL || DLVTRIED(val)) { in dsvalidated() 999 dns_resolver_getbadcache(val->view->resolver, name, type, &now)) { in view_find() 1013 result = dns_view_find(val->view, name, type, 0, options, in view_find() 1161 return (dns_resolver_createfetch(val->view->resolver, name, type, in create_fetch() 1187 result = dns_validator_create(val->view, name, type, in create_validator() 1232 val->view->mctx, &val->key); in get_dst_key() 1438 mctx = val->view->mctx; in isselfsigned() 1477 val->view->maxbits, in isselfsigned() [all …]
|
| D | rpz.c | 245 dns_rpz_view_destroy(dns_view_t *view) { in dns_rpz_view_destroy() argument 248 REQUIRE(view != NULL); in dns_rpz_view_destroy() 250 while (!ISC_LIST_EMPTY(view->rpz_zones)) { in dns_rpz_view_destroy() 251 zone = ISC_LIST_HEAD(view->rpz_zones); in dns_rpz_view_destroy() 252 ISC_LIST_UNLINK(view->rpz_zones, zone, link); in dns_rpz_view_destroy() 254 dns_name_free(&zone->origin, view->mctx); in dns_rpz_view_destroy() 256 dns_name_free(&zone->passthru, view->mctx); in dns_rpz_view_destroy() 258 dns_name_free(&zone->nsdname, view->mctx); in dns_rpz_view_destroy() 260 dns_name_free(&zone->cname, view->mctx); in dns_rpz_view_destroy() 261 isc_mem_put(view->mctx, zone, sizeof(*zone)); in dns_rpz_view_destroy()
|
| D | rrl.c | 1008 dns_rrl(dns_view_t *view, in dns_rrl() argument 1026 rrl = view->rrl; in dns_rrl() 1030 &view->aclenv, &exempt_match, NULL); in dns_rrl() 1237 dns_rrl_view_destroy(dns_view_t *view) { in dns_rrl_view_destroy() argument 1244 rrl = view->rrl; in dns_rrl_view_destroy() 1247 view->rrl = NULL; in dns_rrl_view_destroy() 1287 dns_rrl_init(dns_rrl_t **rrlp, dns_view_t *view, int min_entries) { in dns_rrl_init() argument 1293 rrl = isc_mem_get(view->mctx, sizeof(*rrl)); in dns_rrl_init() 1297 isc_mem_attach(view->mctx, &rrl->mctx); in dns_rrl_init() 1305 view->rrl = rrl; in dns_rrl_init() [all …]
|
| D | resolver.c | 464 dns_view_t * view; member 574 if (res->view->resstats != NULL) in inc_stats() 575 isc_stats_increment(res->view->resstats, counter); in inc_stats() 600 result = dns_validator_create(fctx->res->view, name, type, rdataset, in valcreate() 1638 if (res->view->peers != NULL) { in fctx_query() 1642 result = dns_peerlist_peerbyaddr(res->view->peers, in fctx_query() 1789 if (res->view->resquerystats != NULL) in fctx_query() 1790 dns_rdatatypestats_increment(res->view->resquerystats, in fctx_query() 1906 if (!fctx->res->view->enablevalidation) in wouldvalidate() 1909 if (fctx->res->view->dlv != NULL) in wouldvalidate() [all …]
|
| D | zt.c | 374 dns_view_t *view; in freezezones() local 409 view = dns_zone_getview(zone); in freezezones() 410 if (strcmp(view->name, "_bind") == 0 || in freezezones() 411 strcmp(view->name, "_default") == 0) in freezezones() 416 vname = view->name; in freezezones()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/include/dns/ |
| D | view.h | 204 #define DNS_VIEW_VALID(view) ISC_MAGIC_VALID(view, DNS_VIEW_MAGIC) argument 319 dns_view_createresolver(dns_view_t *view, 349 dns_view_setcache(dns_view_t *view, dns_cache_t *cache); 351 dns_view_setcache2(dns_view_t *view, dns_cache_t *cache, isc_boolean_t shared); 372 dns_view_sethints(dns_view_t *view, dns_db_t *hints); 389 dns_view_setkeyring(dns_view_t *view, dns_tsig_keyring_t *ring); 391 dns_view_setdynamickeyring(dns_view_t *view, dns_tsig_keyring_t *ring); 408 dns_view_getdynamickeyring(dns_view_t *view, dns_tsig_keyring_t **ringp); 417 dns_view_setdstport(dns_view_t *view, in_port_t dstport); 439 dns_view_addzone(dns_view_t *view, dns_zone_t *zone); [all …]
|
| D | dlz.h | 172 (*dns_dlzconfigure_t)(void *driverarg, void *dbdata, dns_view_t *view); 232 dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name, 264 dns_dlzfindzone(dns_view_t *view, dns_name_t *name, 321 typedef isc_result_t dns_dlz_writeablezone_t(dns_view_t *view, 331 dns_dlzconfigure(dns_view_t *view, dlzconfigure_callback_t callback);
|
| D | rrl.h | 265 dns_rrl(dns_view_t *view, 272 dns_rrl_view_destroy(dns_view_t *view); 275 dns_rrl_init(dns_rrl_t **rrlp, dns_view_t *view, int min_entries);
|
| D | dlz_dlopen.h | 117 typedef isc_result_t dlz_dlopen_configure_t (dns_view_t *view, 125 typedef isc_result_t dlz_dlopen_setclientcallback_t (dns_view_t *view,
|
| D | validator.h | 129 dns_view_t * view; member 179 dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
|
| /freebsd-9-stable/contrib/bind9/bin/named/ |
| D | server.c | 203 struct viewlistentry *view; member 213 dns_view_t *view; member 380 configure_forward(const cfg_obj_t *config, dns_view_t *view, dns_name_t *origin, 384 configure_alternates(const cfg_obj_t *config, dns_view_t *view, 389 const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view, 393 add_keydata_zone(dns_view_t *view, const char *directory, isc_mem_t *mctx); 706 dns_view_t *view, isc_boolean_t managed, in load_view_keys() argument 715 CHECK(dns_view_getsecroots(view, &secroots)); in load_view_keys() 766 configure_view_dnsseckeys(dns_view_t *view, const cfg_obj_t *vconfig, in configure_view_dnsseckeys() argument 784 if (strcmp(view->name, "_bind") == 0 && in configure_view_dnsseckeys() [all …]
|
| D | statschannel.c | 1059 dns_view_t *view; in generatexml() local 1090 view = ISC_LIST_HEAD(server->viewlist); in generatexml() 1092 while (view != NULL) { in generatexml() 1095 ISC_XMLCHAR view->name)); in generatexml() 1098 result = dns_zt_apply(view->zonetable, ISC_TRUE, zone_xmlrender, in generatexml() 1109 if (view->resquerystats != NULL) { in generatexml() 1111 dns_rdatatypestats_dump(view->resquerystats, in generatexml() 1122 if (view->resstats != NULL) { in generatexml() 1123 result = dump_counters(view->resstats, in generatexml() 1134 cacherrstats = dns_db_getrrsetstats(view->cachedb); in generatexml() [all …]
|
| D | client.c | 314 client->newstate == NS_CLIENTSTATE_FREED && client->view != NULL) in exit_check() 315 dns_view_detach(&client->view); in exit_check() 675 if (client->view != NULL) in ns_client_endrequest() 676 dns_view_detach(&client->view); in ns_client_endrequest() 950 if (client->view != NULL) { in ns_client_send() 951 if (client->view->preferred_glue == dns_rdatatype_a) in ns_client_send() 953 else if (client->view->preferred_glue == dns_rdatatype_aaaa) in ns_client_send() 992 if (client->peeraddr_valid && client->view != NULL) { in ns_client_send() 999 if (client->view->nocasecompress == NULL || in ns_client_send() 1000 !allowed(&netaddr, name, client->view->nocasecompress)) in ns_client_send() [all …]
|
| D | zoneconf.c | 91 dns_view_t *view; in configure_zone_acl() local 93 view = dns_zone_getview(zone); in configure_zone_acl() 97 if (view != NULL) in configure_zone_acl() 98 aclp = &view->notifyacl; in configure_zone_acl() 102 if (view != NULL) in configure_zone_acl() 103 aclp = &view->queryacl; in configure_zone_acl() 107 if (view != NULL) in configure_zone_acl() 108 aclp = &view->queryonacl; in configure_zone_acl() 112 if (view != NULL) in configure_zone_acl() 113 aclp = &view->transferacl; in configure_zone_acl() [all …]
|
| D | query.c | 734 if (!client->view->additionalfromauth && in query_validatezonedb() 776 queryacl = client->view->queryacl; in query_validatezonedb() 802 client->view->rdclass, in query_validatezonedb() 812 client->view->rdclass, in query_validatezonedb() 820 if (queryacl == client->view->queryacl) { in query_validatezonedb() 840 queryonacl = client->view->queryonacl; in query_validatezonedb() 885 result = dns_zt_find(client->view->zonetable, name, ztoptions, NULL, in query_getzonedb() 1029 dns_db_attach(client->view->cachedb, &db); in query_getcachedb() 1053 client->view->cacheacl, in query_getcachedb() 1066 client->view->rdclass, in query_getcachedb() [all …]
|
| /freebsd-9-stable/contrib/bsnmp/snmp_vacm/ |
| D | vacm_snmp.c | 462 struct vacm_view *view; in op_vacm_view() local 466 if ((view = vacm_get_view(&val->var, sub)) == NULL) in op_vacm_view() 471 if ((view = vacm_get_next_view(&val->var, sub)) == NULL) in op_vacm_view() 473 vacm_append_viewindex(&val->var, sub, view); in op_vacm_view() 477 if ((view = vacm_get_view(&val->var, sub)) == NULL && in op_vacm_view() 481 if (view != NULL) { in op_vacm_view() 483 view->type == StorageType_readOnly) in op_vacm_view() 485 if (view->status == RowStatus_active && in op_vacm_view() 492 if (val->v.octetstring.len > sizeof(view->mask)) in op_vacm_view() 493 ctx->scratch->ptr1 = malloc(sizeof(view->mask)); in op_vacm_view() [all …]
|
| /freebsd-9-stable/release/picobsd/floppy.tree/etc/ |
| D | snmpd.conf | 39 view all included .1 80 40 view system included system fe 41 view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
|
| /freebsd-9-stable/release/picobsd/tinyware/view/ |
| D | Makefile | 3 PROG=view 4 SRCS=view.c
|
| /freebsd-9-stable/contrib/bsnmp/snmpd/ |
| D | main.c | 385 struct vacm_view *view; in snmp_pdu_auth_access() local 449 if ((view = acl->read_view) == NULL) in snmp_pdu_auth_access() 454 if ((view = acl->write_view) == NULL) in snmp_pdu_auth_access() 462 if ((view = acl->notify_view) == NULL) in snmp_pdu_auth_access() 474 suboid = asn_is_suboid(&view->subtree, &pdu->bindings[i].var); in snmp_pdu_auth_access() 475 if ((!suboid && !view->exclude) || (suboid && view->exclude)) { in snmp_pdu_auth_access() 3129 vacm_next_view(struct vacm_view *view) in vacm_next_view() argument 3131 if (view == NULL) in vacm_next_view() 3134 return (SLIST_NEXT(view, vvl)); in vacm_next_view() 3161 struct vacm_view *view, *temp, *prev; in vacm_new_view() local [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/ |
| D | EdgeBundles.cpp | 55 view(); in runOnMachineFunction() 73 void EdgeBundles::view() const { in view() function in EdgeBundles
|