/bind-9.11.3/bin/tests/ |
H A D | entropy_test.c | 54 isc_entropy_t *ent; local 66 ent = NULL; 68 isc_entropy_create(mctx, &ent)); 70 isc_entropy_stats(ent, stderr); 74 isc_entropy_createfilesource(ent, "/dev/random")); 76 isc_entropy_createfilesource(ent, "/dev/random")); 79 isc_entropy_createfilesource(ent, "/tmp/foo")); 88 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags); 96 isc_entropy_stats(ent, stderr); 98 isc_entropy_getdata(ent, buffe [all...] |
H A D | entropy2_test.c | 115 isc_entropy_t *ent; local 129 ent = NULL; 131 isc_entropy_create(mctx, &ent)); 133 isc_entropy_stats(ent, stderr); 136 result = isc_entropy_createcallbacksource(ent, start, get, stop, &kbd, 148 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags); 153 isc_entropy_stopcallbacksources(ent); 157 isc_entropy_stats(ent, stderr); 160 isc_entropy_detach(&ent);
|
H A D | sig0_test.c | 61 isc_entropy_t *ent = NULL; variable 226 RUNTIME_CHECK(isc_entropy_create(mctx, &ent) == ISC_R_SUCCESS); 227 RUNTIME_CHECK(dst_lib_init(mctx, ent, 0) == ISC_R_SUCCESS); 282 isc_entropy_detach(&ent);
|
/bind-9.11.3/lib/dns/ |
H A D | order.c | 78 dns_order_ent_t *ent; local 85 ent = isc_mem_get(order->mctx, sizeof(*ent)); 86 if (ent == NULL) 89 dns_fixedname_init(&ent->name); 90 RUNTIME_CHECK(dns_name_copy(name, dns_fixedname_name(&ent->name), NULL) 92 ent->rdtype = rdtype; 93 ent->rdclass = rdclass; 94 ent->mode = mode; 95 ISC_LINK_INIT(ent, lin 112 dns_order_ent_t *ent; local 140 dns_order_ent_t *ent; local [all...] |
H A D | acache.c | 262 static void destroy_entry(dns_acacheentry_t *ent); 264 dns_acacheentry_t *ent); 400 unlink_dbentries(dns_acache_t *acache, dns_acacheentry_t *ent) { argument 404 if (ISC_LINK_LINKED(ent, olink)) { 405 INSIST(ent->origdb != NULL); 407 result = finddbent(acache, ent->origdb, &dbent); 410 ISC_LIST_UNLINK(dbent->originlist, ent, olink); 412 if (ISC_LINK_LINKED(ent, rlink)) { 413 INSIST(ent->db != NULL); 415 result = finddbent(acache, ent [all...] |
H A D | dispatch.c | 2137 port_cmp(const void *key, const void *ent) { argument 2139 in_port_t p2 = *(const in_port_t *)ent;
|
/bind-9.11.3/lib/isc/win32/ |
H A D | entropy.c | 41 isc_entropy_t *ent = source->ent; local 61 entropypool_adddata(ent, buf, 77 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument 85 REQUIRE(VALID_ENTROPY(ent)); 112 if ((ent->pool.entropy >= RND_POOLBITS / 4) 113 && (ent->pool.pseudo <= RND_POOLBITS / 4)) 125 needed = ISC_MIN(needed, RND_POOLBITS - ent->pool.entropy); 132 if (ent->initialized < THRESHOLD_BITS) 133 needed = ISC_MAX(needed, THRESHOLD_BITS - ent 234 isc_entropy_createfilesource(isc_entropy_t *ent, const char *fname) argument [all...] |
/bind-9.11.3/lib/dns/rdata/in_1/ |
H A D | apl_42.c | 357 dns_rdata_apl_current(dns_rdata_in_apl_t *apl, dns_rdata_apl_ent_t *ent) { argument 363 REQUIRE(ent != NULL); 382 ent->family = (apl->apl[apl->offset] << 8) + apl->apl[apl->offset + 1]; 383 ent->prefix = apl->apl[apl->offset + 2]; 384 ent->length = length; 385 ent->negative = ISC_TF((apl->apl[apl->offset + 3] & 0x80) != 0); 386 if (ent->length != 0) 387 ent->data = &apl->apl[apl->offset + 4]; 389 ent->data = NULL;
|
/bind-9.11.3/lib/isc/unix/ |
H A D | entropy.c | 67 isc_entropy_t *ent = source->ent; local 90 entropypool_adddata(ent, buf, n, n * 8); 107 isc_entropy_t *ent = source->ent; local 222 entropypool_adddata(ent, buf, n, n * 8); 243 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument 250 REQUIRE(VALID_ENTROPY(ent)); 277 if ((ent->pool.entropy >= RND_POOLBITS / 4) 278 && (ent 383 wait_for_sources(isc_entropy_t *ent) argument 481 isc_entropy_createfilesource(isc_entropy_t *ent, const char *fname) argument [all...] |
/bind-9.11.3/lib/isc/ |
H A D | entropy.c | 139 isc_entropy_t *ent; member in struct:isc_entropysource 190 samplequeue_release(isc_entropy_t *ent, sample_queue_t *sq) { argument 194 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4); 195 isc_mem_put(ent->mctx, sq->extra, RND_EVENTQSIZE * 4); 201 samplesource_allocate(isc_entropy_t *ent, sample_queue_t *sq) { argument 202 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4); 206 sq->extra = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4); 208 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4); 223 add_entropy(isc_entropy_t *ent, isc_uint32_t entropy) { argument 227 entropy += ent 236 subtract_entropy(isc_entropy_t *ent, isc_uint32_t entropy) argument 246 add_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument 259 subtract_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument 308 entropypool_adddata(isc_entropy_t *ent, void *p, unsigned int len, isc_uint32_t entropy) argument 370 reseed(isc_entropy_t *ent) argument 443 crunchsamples(isc_entropy_t *ent, sample_queue_t *sq) argument 486 isc_entropy_t *ent = source->ent; local 535 isc_entropy_getdata(isc_entropy_t *ent, void *data, unsigned int length, unsigned int *returned, unsigned int flags) argument 681 isc_entropy_t *ent; local 727 isc_entropy_t *ent; local 766 destroy_check(isc_entropy_t *ent) argument 789 isc_entropy_t *ent; local 836 isc_entropy_t *ent; local 861 isc_entropy_createcallbacksource(isc_entropy_t *ent, isc_entropystart_t start, isc_entropyget_t get, isc_entropystop_t stop, void *arg, isc_entropysource_t **sourcep) argument 928 isc_entropy_stopcallbacksources(isc_entropy_t *ent) argument 953 isc_entropy_createsamplesource(isc_entropy_t *ent, isc_entropysource_t **sourcep) argument 1030 isc_entropy_t *ent; local 1070 isc_entropy_putdata(isc_entropy_t *ent, void *data, unsigned int length, isc_uint32_t entropy) argument 1086 dumpstats(isc_entropy_t *ent, FILE *out) argument 1104 isc_entropy_stats(isc_entropy_t *ent, FILE *out) argument 1113 isc_entropy_status(isc_entropy_t *ent) argument 1124 isc_entropy_attach(isc_entropy_t *ent, isc_entropy_t **entp) argument 1138 isc_entropy_t *ent; local [all...] |
/bind-9.11.3/lib/bind9/ |
H A D | check.c | 72 check_orderent(const cfg_obj_t *ent, isc_log_t *logctx) { argument 84 obj = cfg_tuple_get(ent, "class"); 98 obj = cfg_tuple_get(ent, "type"); 111 obj = cfg_tuple_get(ent, "name"); 125 obj = cfg_tuple_get(ent, "order"); 128 cfg_obj_log(ent, logctx, ISC_LOG_ERROR, 133 obj = cfg_tuple_get(ent, "ordering"); 135 cfg_obj_log(ent, logctx, ISC_LOG_ERROR,
|
/bind-9.11.3/bin/named/ |
H A D | server.c | 1234 configure_order(dns_order_t *order, const cfg_obj_t *ent) { argument 1245 result = ns_config_getclass(cfg_tuple_get(ent, "class"), 1250 result = ns_config_gettype(cfg_tuple_get(ent, "type"), 1255 obj = cfg_tuple_get(ent, "name"); 1269 obj = cfg_tuple_get(ent, "ordering"); 4172 const cfg_obj_t *ent = cfg_listelt_value(element); local 4174 CHECK(configure_order(order, ent));
|