/bind-9.11.3/bin/tests/ |
H A D | wire_test.c | 281 dns_compress_t cctx; local 295 result = dns_compress_init(&cctx, -1, mctx); 298 result = dns_message_renderbegin(message, &cctx, &buffer); 323 dns_compress_invalidate(&cctx);
|
H A D | sig0_test.c | 133 dns_compress_t cctx; local 158 result = dns_compress_init(&cctx, -1, mctx); 160 result = dns_message_renderbegin(query, &cctx, &qbuffer); 172 dns_compress_invalidate(&cctx);
|
/bind-9.11.3/lib/dns/ |
H A D | ncache.c | 264 dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx, argument 278 * compressing names as specified in 'cctx', and storing the result in 329 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14); 330 result = dns_name_towire(&name, cctx, target); 356 result = dns_rdata_towire(&rdata, cctx, target); 385 dns_compress_rollback(cctx, (isc_uint16_t)savedbuffer.used);
|
H A D | compress.c | 34 if ((cctx->allowed & DNS_COMPRESS_READY) == 0) { \ 35 cctx->allowed |= DNS_COMPRESS_READY; \ 37 cctx->table[i] = NULL; \ 46 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx) { argument 47 REQUIRE(cctx != NULL); 50 cctx->edns = edns; 51 cctx->mctx = mctx; 52 cctx->count = 0; 53 cctx->allowed = DNS_COMPRESS_ENABLED; 54 cctx 59 dns_compress_invalidate(dns_compress_t *cctx) argument 85 dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed) argument 93 dns_compress_getmethods(dns_compress_t *cctx) argument 99 dns_compress_disable(dns_compress_t *cctx) argument 105 dns_compress_setsensitive(dns_compress_t *cctx, isc_boolean_t sensitive) argument 115 dns_compress_getsensitive(dns_compress_t *cctx) argument 122 dns_compress_getedns(dns_compress_t *cctx) argument 141 dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, isc_uint16_t *offset) argument 208 dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, isc_uint16_t offset) argument 296 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset) argument [all...] |
H A D | rdataset.c | 309 dns_compress_t *cctx, isc_buffer_t *target, 331 * in cctx, and storing the result in 'target'. 338 REQUIRE(cctx != NULL && cctx->mctx != NULL); 352 return (dns_ncache_towire(rdataset, cctx, target, ncache_opts, 372 in = isc_mem_get(cctx->mctx, count * sizeof(*in)); 373 out = isc_mem_get(cctx->mctx, count * sizeof(*out)); 477 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14); 478 result = dns_name_towire(name, cctx, target); 510 result = dns_rdata_towire(&rdata, cctx, targe 308 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 562 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 577 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 594 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 | 1143 dns_compress_t cctx; local 1157 result = dns_compress_init(&cctx, -1, mctx); 1163 dns_compress_setsensitive(&cctx, ISC_TRUE); 1168 result = dns_message_renderbegin(message, &cctx, buf1); 1187 dns_compress_invalidate(&cctx); 1223 dns_compress_invalidate(&cctx);
|
H A D | xfrin.c | 960 dns_compress_t cctx; local 964 CHECK(dns_compress_init(&cctx, -1, mctx)); 966 CHECK(dns_message_renderbegin(msg, &cctx, buf)); 975 dns_compress_invalidate(&cctx);
|
H A D | name.c | 1970 dns_name_towire(const dns_name_t *name, dns_compress_t *cctx, argument 1983 * compression context 'cctx', and storing the result in 'target'. 1987 REQUIRE(cctx != NULL); 2007 methods = dns_compress_getmethods(cctx); 2011 gf = dns_compress_findglobal(cctx, name, &gp, &go); 2042 dns_compress_add(cctx, name, &gp, offset); 2052 dns_compress_add(cctx, name, name, offset);
|
H A D | rdata.c | 88 #define ARGS_TOWIRE dns_rdata_t *rdata, dns_compress_t *cctx, \ 808 dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx, argument 842 dns_compress_rollback(cctx, (isc_uint16_t)target->used);
|
H A D | message.c | 761 m->cctx = NULL; 1772 dns_message_renderbegin(dns_message_t *msg, dns_compress_t *cctx, argument 1782 msg->cctx = cctx; 1942 dns_compress_t *cctx, isc_buffer_t *target, 1955 cctx, target, options, countp); 2035 msg->cctx, 2045 msg->cctx, 2062 dns_compress_rollback(msg->cctx, 2122 msg->cctx, 1941 renderset(dns_rdataset_t *rdataset, dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, unsigned int reserved, unsigned int options, unsigned int *countp) argument [all...] |
H A D | resolver.c | 2119 dns_compress_t cctx; local 2232 result = dns_compress_init(&cctx, -1, fctx->res->mctx); 2237 result = dns_message_renderbegin(fctx->qmessage, &cctx, 2481 dns_compress_setmethods(&cctx, DNS_COMPRESS_NONE); 2482 result = dns_name_towire(&fctx->domain, &cctx, &zb); 2487 dns_compress_invalidate(&cctx); 2607 dns_compress_invalidate(&cctx); 7693 dns_compress_t cctx; local 7892 result = dns_compress_init(&cctx, -1, res->mctx); 7895 dns_compress_setmethods(&cctx, DNS_COMPRESS_NON [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | dnstap_test.c | 132 dns_compress_t cctx; local 172 result = dns_compress_init(&cctx, -1, mctx); 173 dns_compress_setmethods(&cctx, DNS_COMPRESS_NONE); 174 result = dns_name_towire(zname, &cctx, &zb); 176 dns_compress_invalidate(&cctx);
|
H A D | name_test.c | 127 dns_compress_t *cctx, dns_decompress_t *dctx) 138 ATF_REQUIRE_EQ(dns_name_towire(name1, cctx, &source), ISC_R_SUCCESS); 140 ATF_CHECK_EQ(dns_name_towire(name2, cctx, &source), ISC_R_SUCCESS); 141 ATF_CHECK_EQ(dns_name_towire(name2, cctx, &source), ISC_R_SUCCESS); 142 ATF_CHECK_EQ(dns_name_towire(name3, cctx, &source), ISC_R_SUCCESS); 167 dns_compress_t cctx; local 198 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS); 199 dns_compress_setmethods(&cctx, allowed); 204 &cctx, &dctx); 206 dns_compress_rollback(&cctx, 125 compress_test(dns_name_t *name1, dns_name_t *name2, dns_name_t *name3, unsigned char *expected, unsigned int length, dns_compress_t *cctx, dns_decompress_t *dctx) argument [all...] |
H A D | rbt_serialize_test.c | 195 dns_compress_t cctx; local 198 dns_compress_init(&cctx, -1, mymctx); 220 dns_compress_invalidate(&cctx);
|
H A D | tsig_test.c | 54 dns_compress_t cctx; local 72 CHECK(dns_compress_init(&cctx, -1, mctx)); 113 CHECK(dns_rdataset_towire(&rdataset, &key->name, &cctx, 128 dns_compress_invalidate(&cctx); 168 dns_compress_t cctx; local 203 result = dns_compress_init(&cctx, -1, mctx); 208 result = dns_message_renderbegin(msg, &cctx, buf); 236 dns_compress_invalidate(&cctx);
|
/bind-9.11.3/lib/isccfg/ |
H A D | aclconf.c | 103 get_acl_def(const cfg_obj_t *cctx, const char *name, const cfg_obj_t **ret) { argument 108 result = cfg_map_get(cctx, "acl", &acls); 127 convert_named_acl(const cfg_obj_t *nameobj, const cfg_obj_t *cctx, argument 154 result = get_acl_def(cctx, aclname, &cacl); 168 result = cfg_acl_fromconfig(cacl, cctx, lctx, ctx, mctx, 216 count_acl_elements(const cfg_obj_t *caml, const cfg_obj_t *cctx, argument 250 result = count_acl_elements(ce, cctx, lctx, ctx, mctx, 276 result = convert_named_acl(ce, cctx, lctx, ctx, 611 cfg_acl_fromconfig(const cfg_obj_t *caml, const cfg_obj_t *cctx, argument 616 return (cfg_acl_fromconfig2(caml, cctx, lct 621 cfg_acl_fromconfig2(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, isc_uint16_t family, dns_acl_t **target) argument [all...] |
/bind-9.11.3/bin/named/ |
H A D | config.c | 542 get_masters_def(const cfg_obj_t *cctx, const char *name, argument 549 result = cfg_map_get(cctx, "masters", &masters);
|
H A D | xfrout.c | 1268 dns_compress_t cctx; local 1493 CHECK(dns_compress_init(&cctx, -1, xfr->mctx)); 1494 dns_compress_setsensitive(&cctx, ISC_TRUE); 1496 CHECK(dns_message_renderbegin(msg, &cctx, &xfr->txbuf)); 1500 dns_compress_invalidate(&cctx); 1549 dns_compress_invalidate(&cctx);
|
H A D | client.c | 1015 dns_compress_t cctx; local 1092 result = dns_compress_init(&cctx, -1, client->mctx); 1107 dns_compress_setsensitive(&cctx, ISC_TRUE); 1111 dns_compress_disable(&cctx); 1116 result = dns_message_renderbegin(client->message, &cctx, &buffer); 1181 dns_compress_setmethods(&cctx, DNS_COMPRESS_NONE); 1182 result = dns_name_towire(zo, &cctx, &b); 1194 dns_compress_invalidate(&cctx); 1287 dns_compress_invalidate(&cctx);
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | message.h | 222 dns_compress_t *cctx; member in struct:dns_message 462 dns_message_renderbegin(dns_message_t *msg, dns_compress_t *cctx, 478 *\li 'cctx' be valid.
|
/bind-9.11.3/bin/tests/names/ |
H A D | t_names.c | 2177 "dns_name_towire(name, cctx, target) converts the DNS name " 2179 "by the compression context cctx, stores the result in " 2184 "dns_name_towire(name, cctx, target) returns ISC_R_NOSPACE"; 2202 dns_compress_t cctx; local 2215 dns_compress_init(&cctx, -1, mctx); 2216 dns_compress_setmethods(&cctx, dc_method); 2225 dns_result = dns_name_towire(&dns_name, &cctx, &iscbuf3);
|
/bind-9.11.3/lib/bind9/ |
H A D | check.c | 1493 get_masters_def(const cfg_obj_t *cctx, const char *name, const cfg_obj_t **ret) { argument 1498 result = cfg_map_get(cctx, "masters", &masters);
|
/bind-9.11.3/bin/dig/ |
H A D | dighost.c | 2339 dns_compress_t cctx; local 2607 result = dns_compress_init(&cctx, -1, mctx); 2612 result = dns_message_renderbegin(lookup->sendmsg, &cctx, 2771 dns_compress_invalidate(&cctx);
|