/bind-9.6-ESV-R11/bin/tests/ |
H A D | compress_test.c | 98 dns_compress_t cctx; local 118 RUNTIME_CHECK(dns_compress_init(&cctx, -1, mctx) == ISC_R_SUCCESS); 120 RUNTIME_CHECK(dns_name_towire(name1, &cctx, &source) == ISC_R_SUCCESS); 123 RUNTIME_CHECK(dns_compress_localinit(&cctx, name1, &source) == 126 dns_compress_setmethods(&cctx, allowed); 127 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS); 128 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS); 129 RUNTIME_CHECK(dns_name_towire(name3, &cctx, &source) == ISC_R_SUCCESS); 132 dns_compress_localinvalidate(&cctx); 134 dns_compress_rollback(&cctx, [all...] |
H A D | wire_test.c | 222 dns_compress_t cctx; local 236 result = dns_compress_init(&cctx, -1, mctx); 239 result = dns_message_renderbegin(message, &cctx, &buffer); 264 dns_compress_invalidate(&cctx);
|
H A D | sig0_test.c | 141 dns_compress_t cctx; local 168 result = dns_compress_init(&cctx, -1, mctx); 170 result = dns_message_renderbegin(query, &cctx, &qbuffer); 182 dns_compress_invalidate(&cctx);
|
H A D | rdata_test.c | 905 dns_compress_t cctx; local 1088 result = dns_compress_init(&cctx, -1, mctx); 1096 result = dns_rdata_towire(&rdata, &cctx, &wbuf); 1097 dns_compress_invalidate(&cctx);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | compress.c | 46 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx) { argument 49 REQUIRE(cctx != NULL); 52 cctx->allowed = 0; 53 cctx->edns = edns; 55 cctx->table[i] = NULL; 56 cctx->mctx = mctx; 57 cctx->count = 0; 58 cctx->magic = CCTX_MAGIC; 63 dns_compress_invalidate(dns_compress_t *cctx) { argument 67 REQUIRE(VALID_CCTX(cctx)); 84 dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed) argument 92 dns_compress_getmethods(dns_compress_t *cctx) argument 98 dns_compress_setsensitive(dns_compress_t *cctx, isc_boolean_t sensitive) argument 108 dns_compress_getsensitive(dns_compress_t *cctx) argument 115 dns_compress_getedns(dns_compress_t *cctx) argument 134 dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, isc_uint16_t *offset) argument 196 dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, isc_uint16_t offset) argument 252 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset) argument [all...] |
H A D | ncache.c | 326 dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx, argument 340 * compressing names as specified in 'cctx', and storing the result in 391 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14); 392 result = dns_name_towire(&name, cctx, target); 418 result = dns_rdata_towire(&rdata, cctx, target); 447 dns_compress_rollback(cctx, (isc_uint16_t)savedbuffer.used);
|
H A D | rdataset.c | 314 dns_compress_t *cctx, isc_buffer_t *target, 334 * in cctx, and storing the result in 'target'. 340 REQUIRE(cctx != NULL && cctx->mctx != NULL); 354 return (dns_ncache_towire(rdataset, cctx, target, ncache_opts, 374 shuffled = isc_mem_get(cctx->mctx, count * sizeof(*shuffled)); 375 sorted = isc_mem_get(cctx->mctx, count * sizeof(*sorted)); 474 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14); 475 result = dns_name_towire(owner_name, cctx, target); 507 result = dns_rdata_towire(&rdata, cctx, targe 313 towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, isc_boolean_t partial, unsigned int options, unsigned int *countp, void **state) argument 559 dns_rdataset_towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, unsigned int options, unsigned int *countp) argument 574 dns_rdataset_towirepartial(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, unsigned int options, unsigned int *countp, void **state) argument 591 dns_rdataset_towire(dns_rdataset_t *rdataset, dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, unsigned int options, unsigned int *countp) argument [all...] |
H A D | request.c | 1042 dns_compress_t cctx; local 1056 result = dns_compress_init(&cctx, -1, mctx); 1064 result = dns_message_renderbegin(message, &cctx, buf1); 1083 dns_compress_invalidate(&cctx); 1119 dns_compress_invalidate(&cctx);
|
H A D | xfrin.c | 913 dns_compress_t cctx; local 917 CHECK(dns_compress_init(&cctx, -1, mctx)); 919 CHECK(dns_message_renderbegin(msg, &cctx, buf)); 928 dns_compress_invalidate(&cctx);
|
H A D | message.c | 770 m->cctx = NULL; 1689 dns_message_renderbegin(dns_message_t *msg, dns_compress_t *cctx, argument 1699 msg->cctx = cctx; 1876 msg->cctx, 1886 msg->cctx, 1903 dns_compress_rollback(msg->cctx, 1947 msg->cctx, 1958 msg->cctx, 1987 dns_compress_rollback(msg->cctx, [all...] |
H A D | name.c | 1927 dns_name_towire(const dns_name_t *name, dns_compress_t *cctx, argument 1940 * compression context 'cctx', and storing the result in 'target'. 1944 REQUIRE(cctx != NULL); 1964 methods = dns_compress_getmethods(cctx); 1968 gf = dns_compress_findglobal(cctx, name, &gp, &go); 1996 dns_compress_add(cctx, name, &gp, offset); 2003 dns_compress_add(cctx, name, name, offset);
|
H A D | rdata.c | 81 #define ARGS_TOWIRE dns_rdata_t *rdata, dns_compress_t *cctx, \ 549 dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx, argument 583 dns_compress_rollback(cctx, (isc_uint16_t)target->used);
|
H A D | resolver.c | 1635 dns_compress_t cctx; local 1732 result = dns_compress_init(&cctx, -1, fctx->res->mctx); 1737 result = dns_message_renderbegin(fctx->qmessage, &cctx, 1896 dns_compress_invalidate(&cctx); 1973 dns_compress_invalidate(&cctx);
|
/bind-9.6-ESV-R11/lib/isccfg/ |
H A D | aclconf.c | 58 get_acl_def(const cfg_obj_t *cctx, const char *name, const cfg_obj_t **ret) { argument 63 result = cfg_map_get(cctx, "acl", &acls); 82 convert_named_acl(const cfg_obj_t *nameobj, const cfg_obj_t *cctx, argument 109 result = get_acl_def(cctx, aclname, &cacl); 123 result = cfg_acl_fromconfig(cacl, cctx, lctx, ctx, mctx, 171 count_acl_elements(const cfg_obj_t *caml, const cfg_obj_t *cctx, argument 198 n += count_acl_elements(ce, cctx, &negative); 208 result = get_acl_def(cctx, name, &cacl); 210 n += count_acl_elements(cacl, cctx, 221 const cfg_obj_t *cctx, 220 cfg_acl_fromconfig(const cfg_obj_t *caml, const cfg_obj_t *cctx, isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, unsigned int nest_level, dns_acl_t **target) argument [all...] |
/bind-9.6-ESV-R11/bin/named/ |
H A D | config.c | 416 get_masters_def(const cfg_obj_t *cctx, const char *name, argument 423 result = cfg_map_get(cctx, "masters", &masters);
|
H A D | client.c | 919 dns_compress_t cctx; local 954 result = dns_compress_init(&cctx, -1, client->mctx); 957 dns_compress_setsensitive(&cctx, ISC_TRUE); 960 result = dns_message_renderbegin(client->message, &cctx, &buffer); 1011 dns_compress_invalidate(&cctx); 1051 dns_compress_invalidate(&cctx);
|
H A D | xfrout.c | 1443 dns_compress_t cctx; local 1646 CHECK(dns_compress_init(&cctx, -1, xfr->mctx)); 1647 dns_compress_setsensitive(&cctx, ISC_TRUE); 1649 CHECK(dns_message_renderbegin(msg, &cctx, &xfr->txbuf)); 1653 dns_compress_invalidate(&cctx); 1702 dns_compress_invalidate(&cctx);
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | message.h | 216 dns_compress_t *cctx; member in struct:dns_message 449 dns_message_renderbegin(dns_message_t *msg, dns_compress_t *cctx, 465 *\li 'cctx' be valid.
|
/bind-9.6-ESV-R11/bin/tests/names/ |
H A D | t_names.c | 2188 "dns_name_towire(name, cctx, target) converts the DNS name " 2190 "by the compression context cctx, stores the result in " 2195 "dns_name_towire(name, cctx, target) returns ISC_R_NOSPACE"; 2213 dns_compress_t cctx; local 2226 dns_compress_init(&cctx, -1, mctx); 2227 dns_compress_setmethods(&cctx, dc_method); 2237 dns_result = dns_name_towire(&dns_name, &cctx, &iscbuf3);
|
/bind-9.6-ESV-R11/lib/bind9/ |
H A D | check.c | 811 get_masters_def(const cfg_obj_t *cctx, const char *name, const cfg_obj_t **ret) { argument 816 result = cfg_map_get(cctx, "masters", &masters);
|
/bind-9.6-ESV-R11/bin/dig/ |
H A D | dighost.c | 1841 dns_compress_t cctx; local 2088 result = dns_compress_init(&cctx, -1, mctx); 2093 result = dns_message_renderbegin(lookup->sendmsg, &cctx, 2115 dns_compress_invalidate(&cctx);
|