Home
last modified time | relevance | path

Searched refs:typebits (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
H A Dnxt_30.c224 REQUIRE(nxt->typebits != NULL || nxt->len == 0); in fromstruct_nxt()
225 if (nxt->typebits != NULL && (nxt->typebits[0] & 0x80) == 0) { in fromstruct_nxt()
227 REQUIRE(nxt->typebits[nxt->len - 1] != 0); in fromstruct_nxt()
236 return (mem_tobuffer(target, nxt->typebits, nxt->len)); in fromstruct_nxt()
261 nxt->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_nxt()
262 if (nxt->typebits == NULL) { in tostruct_nxt()
288 if (nxt->typebits != NULL) { in freestruct_nxt()
289 isc_mem_free(nxt->mctx, nxt->typebits); in freestruct_nxt()
H A Dcsync_62.c151 REQUIRE(csync->typebits != NULL || csync->len == 0); in fromstruct_csync()
159 region.base = csync->typebits; in fromstruct_csync()
162 return (mem_tobuffer(target, csync->typebits, csync->len)); in fromstruct_csync()
187 csync->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_csync()
188 if (csync->typebits == NULL) { in tostruct_csync()
210 if (csync->typebits != NULL) { in freestruct_csync()
211 isc_mem_free(csync->mctx, csync->typebits); in freestruct_csync()
H A Dnsec_47.c146 REQUIRE(nsec->typebits != NULL || nsec->len == 0); in fromstruct_nsec()
154 region.base = nsec->typebits; in fromstruct_nsec()
157 return (mem_tobuffer(target, nsec->typebits, nsec->len)); in fromstruct_nsec()
182 nsec->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_nsec()
183 if (nsec->typebits == NULL) { in tostruct_nsec()
209 if (nsec->typebits != NULL) { in freestruct_nsec()
210 isc_mem_free(nsec->mctx, nsec->typebits); in freestruct_nsec()
H A Dnsec3_50.c269 REQUIRE(nsec3->typebits != NULL || nsec3->len == 0); in fromstruct_nsec3()
283 region.base = nsec3->typebits; in fromstruct_nsec3()
286 return (mem_tobuffer(target, nsec3->typebits, nsec3->len)); in fromstruct_nsec3()
325 nsec3->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_nsec3()
326 if (nsec3->typebits == NULL) { in tostruct_nsec3()
358 if (nsec3->typebits != NULL) { in freestruct_nsec3()
359 isc_mem_free(nsec3->mctx, nsec3->typebits); in freestruct_nsec3()
H A Dnsec_47.h26 unsigned char *typebits; member
H A Dnxt_30.h26 unsigned char *typebits; member
H A Dcsync_62.h28 unsigned char *typebits; member
H A Dnsec3_50.h35 unsigned char *typebits; member
/netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/
H A Dnxt_30.c224 REQUIRE(nxt->typebits != NULL || nxt->len == 0); in fromstruct_nxt()
225 if (nxt->typebits != NULL && (nxt->typebits[0] & 0x80) == 0) { in fromstruct_nxt()
227 REQUIRE(nxt->typebits[nxt->len - 1] != 0); in fromstruct_nxt()
236 return mem_tobuffer(target, nxt->typebits, nxt->len); in fromstruct_nxt()
261 nxt->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_nxt()
278 if (nxt->typebits != NULL) { in freestruct_nxt()
279 isc_mem_free(nxt->mctx, nxt->typebits); in freestruct_nxt()
H A Dcsync_62.c150 REQUIRE(csync->typebits != NULL || csync->len == 0); in fromstruct_csync()
158 region.base = csync->typebits; in fromstruct_csync()
161 return mem_tobuffer(target, csync->typebits, csync->len); in fromstruct_csync()
186 csync->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_csync()
202 if (csync->typebits != NULL) { in freestruct_csync()
203 isc_mem_free(csync->mctx, csync->typebits); in freestruct_csync()
H A Dnsec_47.c146 REQUIRE(nsec->typebits != NULL || nsec->len == 0); in fromstruct_nsec()
154 region.base = nsec->typebits; in fromstruct_nsec()
157 return mem_tobuffer(target, nsec->typebits, nsec->len); in fromstruct_nsec()
182 nsec->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_nsec()
199 if (nsec->typebits != NULL) { in freestruct_nsec()
200 isc_mem_free(nsec->mctx, nsec->typebits); in freestruct_nsec()
H A Dnsec3_50.c268 REQUIRE(nsec3->typebits != NULL || nsec3->len == 0); in fromstruct_nsec3()
282 region.base = nsec3->typebits; in fromstruct_nsec3()
285 return mem_tobuffer(target, nsec3->typebits, nsec3->len); in fromstruct_nsec3()
318 nsec3->typebits = mem_maybedup(mctx, region.base, region.length); in tostruct_nsec3()
340 if (nsec3->typebits != NULL) {
341 isc_mem_free(nsec3->mctx, nsec3->typebits);
H A Dnxt_30.h25 unsigned char *typebits; member
H A Dnsec_47.h25 unsigned char *typebits; member
H A Dcsync_62.h27 unsigned char *typebits; member
H A Dnsec3_50.h34 unsigned char *typebits; member
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dnsec.c231 window = nsecstruct.typebits[i]; in dns_nsec_typepresent()
232 len = nsecstruct.typebits[i + 1]; in dns_nsec_typepresent()
243 present = dns_nsec_isset(&nsecstruct.typebits[i], in dns_nsec_typepresent()
H A Dzoneverify.c209 memcmp(nsec->typebits, tmpnsec.typebits, nsec->len) != 0) in nsec_bitmap_equal()
484 if (nsec3.len != len || memcmp(cbm, nsec3.typebits, len) != 0) { in match_nsec3()
H A Dnsec3.c214 window = nsec3.typebits[i]; in dns_nsec3_typepresent()
215 len = nsec3.typebits[i + 1]; in dns_nsec3_typepresent()
226 present = dns_nsec_isset(&nsec3.typebits[i], in dns_nsec3_typepresent()
/netbsd-src/external/mpl/bind/include/dns/
H A Drdatastruct.h829 unsigned char *typebits; member
1313 unsigned char *typebits; member
1389 unsigned char *typebits; member
1731 unsigned char *typebits; member
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dnsec.c231 window = nsecstruct.typebits[i]; in dns_nsec_typepresent()
232 len = nsecstruct.typebits[i + 1]; in dns_nsec_typepresent()
243 present = dns_nsec_isset(&nsecstruct.typebits[i], in dns_nsec_typepresent()
H A Dzoneverify.c208 memcmp(nsec->typebits, tmpnsec.typebits, nsec->len) != 0) in nsec_bitmap_equal()
484 if (nsec3.len != len || memcmp(cbm, nsec3.typebits, len) != 0) { in match_nsec3()
H A Dnsec3.c214 window = nsec3.typebits[i]; in dns_nsec3_typepresent()
215 len = nsec3.typebits[i + 1]; in dns_nsec3_typepresent()
226 present = dns_nsec_isset(&nsec3.typebits[i], in dns_nsec3_typepresent()
/netbsd-src/external/mpl/dhcp/bind/include/dns/
H A Drdatastruct.h924 unsigned char *typebits; member
1459 unsigned char *typebits; member
1544 unsigned char *typebits; member
1919 unsigned char *typebits; member
/netbsd-src/external/bsd/unbound/dist/sldns/
H A Dstr2wire.c2010 uint8_t typebits[8192]; /* 65536 bits */ in sldns_str2wire_nsec_buf() local
2018 memset(typebits, 0, sizeof(typebits)); in sldns_str2wire_nsec_buf()
2028 typebits[t/8] |= (0x80>>(t%8)); in sldns_str2wire_nsec_buf()
2047 if(typebits[block*32+i] != 0) in sldns_str2wire_nsec_buf()
2057 rd[used+2+i] = typebits[block*32+i]; in sldns_str2wire_nsec_buf()

12