Searched refs:cctx (Results 1 - 25 of 107) sorted by relevance

12345

/bind-9.11.3/lib/dns/
H A Dcompress.c34 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 Drdataset.c309 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...]
/bind-9.11.3/lib/dns/include/dns/
H A Dcompress.h81 dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx);
84 * 'cctx'. A freshly initialized context has name compression
89 * \li 'cctx' is a valid dns_compress_t structure.
92 * \li cctx->global is initialized.
99 dns_compress_invalidate(dns_compress_t *cctx);
102 * Invalidate the compression structure pointed to by cctx.
105 *\li 'cctx' to be initialized.
109 dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed);
115 *\li 'cctx' to be initialized.
119 dns_compress_getmethods(dns_compress_t *cctx);
[all...]
H A Dncache.h97 dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx,
102 * compressing names as specified in 'cctx', and storing the result in
H A Drdataset.h383 dns_compress_t *cctx,
389 * in 'cctx', and storing the result in 'target'.
422 dns_compress_t *cctx,
441 dns_compress_t *cctx,
/bind-9.11.3/lib/dns/tests/
H A Dname_test.c127 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 Dtsig_test.c54 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);
H A Ddnstap_test.c132 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);
/bind-9.11.3/lib/isccfg/include/isccfg/
H A Daclconf.h58 cfg_acl_fromconfig(const cfg_obj_t *caml, const cfg_obj_t *cctx,
64 cfg_acl_fromconfig2(const cfg_obj_t *caml, const cfg_obj_t *cctx,
70 * 'cctx'. Memory is allocated through 'mctx'.
/bind-9.11.3/bin/tests/
H A Dwire_test.c281 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 Dsig0_test.c133 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/isccfg/
H A Daclconf.c103 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/lib/dns/rdata/generic/
H A Dtalink_58.c106 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
115 RETERR(dns_name_towire(&prev, cctx, target));
119 return(dns_name_towire(&next, cctx, target));
H A Dminfo_14.c117 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
127 RETERR(dns_name_towire(&rmail, cctx, target));
132 return (dns_name_towire(&rmail, cctx, target));
H A Drp_17.c116 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
125 RETERR(dns_name_towire(&rmail, cctx, target));
130 return (dns_name_towire(&rmail, cctx, target));
H A Davc_258.c58 UNUSED(cctx);
H A Dsmimea_53.c47 UNUSED(cctx);
H A Dspf_99.c62 UNUSED(cctx);
H A Dcname_5.c87 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
93 return (dns_name_towire(&name, cctx, target));
H A Ddname_39.c88 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
93 return (dns_name_towire(&name, cctx, target));
H A Dmb_7.c86 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
92 return (dns_name_towire(&name, cctx, target));
H A Dmd_3.c86 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
92 return (dns_name_towire(&name, cctx, target));
H A Dmf_4.c86 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
92 return (dns_name_towire(&name, cctx, target));
H A Dmg_8.c86 dns_compress_setmethods(cctx, DNS_COMPRESS_GLOBAL14);
92 return (dns_name_towire(&name, cctx, target));
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dpx_26.c153 dns_compress_setmethods(cctx, DNS_COMPRESS_NONE);
166 RETERR(dns_name_towire(&name, cctx, target));
174 return (dns_name_towire(&name, cctx, target));

Completed in 1364 milliseconds

12345