/bind-9.11.3/contrib/sdb/bdb/ |
H A D | zone2bdb.c | 67 isc_buffer_t keybuf, databuf; local 78 isc_buffer_init(&databuf, rdatatext, MAX_RDATATEXT); 80 dns_ttl_totext(ttl, ISC_FALSE, &databuf); 81 *(char *)isc_buffer_used(&databuf) = ' '; 82 isc_buffer_add(&databuf, 1); 84 dns_rdatatype_totext(rdata->type, &databuf); /* XXX private data */ 85 *(char *)isc_buffer_used(&databuf) = ' '; 86 isc_buffer_add(&databuf, 1); 88 dns_rdata_totext(rdata, NULL, &databuf); 90 data.data = isc_buffer_base(&databuf); [all...] |
/bind-9.11.3/bin/rndc/ |
H A D | rndc.c | 70 static isc_buffer_t *databuf; variable 378 isc_buffer_clear(databuf); 380 isc_buffer_add(databuf, 4); 383 isccc_cc_towire(request, &databuf, algorithm, &secret)); 385 isc_buffer_init(&b, databuf->base, 4); 386 isc_buffer_putuint32(&b, databuf->used - 4); 388 r.base = databuf->base; 389 r.length = databuf->used; 444 isc_buffer_clear(databuf); 446 isc_buffer_add(databuf, [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | tsig_test.c | 33 isc_buffer_t databuf; local 41 isc_buffer_init(&databuf, tsigbuf, sizeof(tsigbuf)); 43 isc_buffer_putuint16(&databuf, tsig.siglen); 44 isc_buffer_putmem(&databuf, tsig.signature, tsig.siglen); 45 isc_buffer_usedregion(&databuf, &r); 60 isc_buffer_t databuf; local 89 isc_buffer_init(&databuf, tsigbuf, sizeof(tsigbuf)); 90 isc_buffer_putuint48(&databuf, tsig.timesigned); 91 isc_buffer_putuint16(&databuf, tsig.fudge); 92 isc_buffer_usedregion(&databuf, [all...] |
/bind-9.11.3/lib/dns/ |
H A D | tsig.c | 843 isc_buffer_t databuf, sigbuf; local 886 isc_buffer_init(&databuf, data, sizeof(data)); 940 isc_buffer_putuint16(&databuf, querytsig.siglen); 941 if (isc_buffer_availablelength(&databuf) < 946 isc_buffer_putmem(&databuf, querytsig.signature, 948 isc_buffer_usedregion(&databuf, &r); 989 isc_buffer_clear(&databuf); 990 isc_buffer_putuint16(&databuf, dns_rdataclass_any); 991 isc_buffer_putuint32(&databuf, 0); /* ttl */ 992 isc_buffer_usedregion(&databuf, 1153 isc_buffer_t databuf; local 1514 isc_buffer_t databuf; local [all...] |
H A D | rootns.c | 268 char databuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:123.123.123.123")]; local 280 isc_buffer_init(&buffer, databuf, sizeof(databuf) - 1); 283 databuf[isc_buffer_usedlength(&buffer)] = '\0'; 289 sep, viewname, namebuf, typebuf, databuf); 295 databuf);
|
H A D | dnssec.c | 195 isc_buffer_t *databuf = NULL; local 258 ret = isc_buffer_allocate(mctx, &databuf, sigsize + 256 + 18); 264 sig.common.rdtype, &sig, databuf); 355 isc_buffer_free(&databuf); 922 isc_buffer_t headerbuf, databuf, sigbuf; local 967 isc_buffer_init(&databuf, data, sizeof(data)); 979 &sig, &databuf)); 980 isc_buffer_usedregion(&databuf, &r);
|
/bind-9.11.3/bin/tests/dst/ |
H A D | dst_test.c | 40 isc_buffer_t databuf, sigbuf; local 50 isc_buffer_constinit(&databuf, data, strlen(data)); 51 isc_buffer_add(&databuf, strlen(data)); 52 isc_buffer_usedregion(&databuf, &datareg);
|
H A D | t_dst.c | 96 isc_buffer_t databuf, sigbuf; local 101 isc_buffer_constinit(&databuf, data, strlen(data)); 102 isc_buffer_add(&databuf, strlen(data)); 103 isc_buffer_usedregion(&databuf, &datareg); 718 isc_buffer_t databuf; local 790 isc_buffer_init(&databuf, data, (unsigned int)size); 791 isc_buffer_add(&databuf, (unsigned int)size); 792 isc_buffer_usedregion(&databuf, &datareg);
|
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | datafile.c | 44 char databuf[BUFFER_SIZE + 1]; member in struct:perf_datafile 79 isc_buffer_init(&dfile->data, dfile->databuf, BUFFER_SIZE);
|