Searched defs:rdata (Results 1 - 25 of 83) sorted by relevance

1234

/bind-9.11.3/lib/dns/include/dns/
H A Drdatalist.h20 * A DNS rdatalist is a list of rdata of a common type and class.
50 ISC_LIST(dns_rdata_t) rdata; member in struct:dns_rdatalist
76 * Make 'rdataset' refer to the rdata in 'rdatalist'.
87 * any rdata.
92 *\li 'rdataset' is associated with the rdata in rdatalist.
H A Drriterator.h36 #include <dns/rdata.h>
63 dns_rdata_t rdata; member in struct:dns_rriterator
89 * Move the rriterator cursor to the first rdata in the database.
96 *\li #ISC_R_NOMORE There are no rdata in the set.
132 dns_rdata_t **rdata);
135 * make '*rdataset' refer to the current * rdataset. If '*rdata' is not
136 * NULL, make '*rdata' refer to the current record.
141 *\li 'rdata' is NULL or '*rdata' is NULL
144 *\li 'rdata' refer
[all...]
H A Ddiff.h32 #include <dns/rdata.h>
41 * The RR type and class are in the 'rdata' member; the class is always
78 dns_rdata_t rdata; member in struct:dns_difftuple
80 /* Variable-size name data and rdata follows. */
116 dns_rdata_t *rdata, dns_difftuple_t **tp);
118 * Create a tuple. Deep copies are made of the name and rdata, so
/bind-9.11.3/lib/dns/
H A Drriterator.c24 #include <dns/rdata.h>
49 dns_rdata_init(&it->rdata);
181 dns_rdata_t **rdata)
187 REQUIRE(rdata == NULL || *rdata == NULL);
192 dns_rdata_reset(&it->rdata);
193 dns_rdataset_current(&it->rdataset, &it->rdata);
198 if (rdata != NULL)
199 *rdata = &it->rdata;
179 dns_rriterator_current(dns_rriterator_t *it, dns_name_t **name, isc_uint32_t *ttl, dns_rdataset_t **rdataset, dns_rdata_t **rdata) argument
[all...]
H A Dds.c26 #include <dns/rdata.h>
39 dns_rdata_t *rdata)
148 return (dns_rdata_fromstruct(rdata, key->rdclass, dns_rdatatype_ds,
37 dns_ds_buildrdata(dns_name_t *owner, dns_rdata_t *key, unsigned int digest_type, unsigned char *buffer, dns_rdata_t *rdata) argument
H A Dprivate.c65 dns_rdata_t rdata = DNS_RDATA_INIT; local
68 if (!dns_nsec3param_fromprivate(&private, &rdata,
75 if (CREATE(rdata.data[1]))
77 if (rdata.data[0] != param->data[0] ||
78 rdata.data[2] != param->data[2] ||
79 rdata.data[3] != param->data[3] ||
80 rdata.data[4] != param->data[4] ||
81 memcmp(&rdata.data[5], &param->data[5], param->data[4]))
88 if (NONSEC(rdata.data[1]))
158 dns_rdata_t rdata local
188 dns_rdata_t rdata = DNS_RDATA_INIT; local
206 dns_rdata_t rdata = DNS_RDATA_INIT; local
246 dns_rdata_t rdata = DNS_RDATA_INIT; local
299 dns_rdata_t rdata = DNS_RDATA_INIT; local
[all...]
H A Drdatalist.c22 #include <dns/rdata.h>
62 ISC_LIST_INIT(rdatalist->rdata);
76 * Make 'rdataset' refer to the rdata in 'rdatalist'.
121 rdataset->private2 = ISC_LIST_HEAD(rdatalist->rdata);
131 dns_rdata_t *rdata; local
135 rdata = rdataset->private2;
136 if (rdata == NULL)
139 rdataset->private2 = ISC_LIST_NEXT(rdata, link);
148 isc__rdatalist_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata) { argument
156 dns_rdata_clone(list_rdata, rdata);
176 dns_rdata_t *rdata; local
[all...]
H A Dsoa.c19 #include <dns/rdata.h>
40 soa_get(dns_rdata_t *rdata, int offset) { argument
41 INSIST(rdata->type == dns_rdatatype_soa);
52 INSIST(rdata->length >= 20);
54 return (decode_uint32(rdata->data + rdata->length - 20 + offset));
63 dns_rdata_t *rdata) {
86 return (dns_rdata_fromstruct(rdata, rdclass, dns_rdatatype_soa,
91 dns_soa_getserial(dns_rdata_t *rdata) { argument
92 return soa_get(rdata,
58 dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact, dns_rdataclass_t rdclass, isc_uint32_t serial, isc_uint32_t refresh, isc_uint32_t retry, isc_uint32_t expire, isc_uint32_t minimum, unsigned char *buffer, dns_rdata_t *rdata) argument
95 dns_soa_getrefresh(dns_rdata_t *rdata) argument
99 dns_soa_getretry(dns_rdata_t *rdata) argument
103 dns_soa_getexpire(dns_rdata_t *rdata) argument
107 dns_soa_getminimum(dns_rdata_t *rdata) argument
112 soa_set(dns_rdata_t *rdata, isc_uint32_t val, int offset) argument
120 dns_soa_setserial(isc_uint32_t val, dns_rdata_t *rdata) argument
124 dns_soa_setrefresh(isc_uint32_t val, dns_rdata_t *rdata) argument
128 dns_soa_setretry(isc_uint32_t val, dns_rdata_t *rdata) argument
132 dns_soa_setexpire(isc_uint32_t val, dns_rdata_t *rdata) argument
136 dns_soa_setminimum(isc_uint32_t val, dns_rdata_t *rdata) argument
[all...]
H A Ddns64.c21 #include <dns/rdata.h>
259 dns_rdata_t rdata = DNS_RDATA_INIT; local
262 dns_rdataset_current(rdataset, &rdata);
263 memmove(&in6.s6_addr, rdata.data, 16);
H A Dlookup.c24 #include <dns/rdata.h>
178 dns_rdata_t rdata = DNS_RDATA_INIT; local
265 dns_rdataset_current(&lookup->rdataset, &rdata);
266 result = dns_rdata_tostruct(&rdata, &cname, NULL);
267 dns_rdata_reset(&rdata);
287 dns_rdataset_current(&lookup->rdataset, &rdata);
288 result = dns_rdata_tostruct(&rdata, &dname, NULL);
289 dns_rdata_reset(&rdata);
H A Dncache.c21 #include <dns/rdata.h>
29 * The format of an ncache rdata is a sequence of zero or more records of
35 * rdata count
36 * rdata length These two occur 'rdata count'
37 * rdata times.
52 dns_rdata_t rdata = DNS_RDATA_INIT; local
66 dns_rdataset_current(rdataset, &rdata);
67 dns_rdata_toregion(&rdata, &r);
73 * Copy the rdata lengt
124 dns_rdata_t rdata[DNS_NCACHE_RDATA]; local
268 dns_rdata_t rdata = DNS_RDATA_INIT; local
440 rdataset_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata) argument
506 dns_rdata_t rdata = DNS_RDATA_INIT; local
581 dns_rdata_t rdata = DNS_RDATA_INIT; local
678 dns_rdata_t rdata = DNS_RDATA_INIT; local
[all...]
H A Dnsec.c21 #include <dns/rdata.h>
96 unsigned char *buffer, dns_rdata_t *rdata)
160 dns_rdata_fromregion(rdata,
173 dns_rdata_t rdata = DNS_RDATA_INIT; local
179 dns_rdata_init(&rdata);
181 RETERR(dns_nsec_buildrdata(db, version, node, target, data, &rdata));
187 ISC_LIST_APPEND(rdatalist.rdata, &rdata, link);
263 dns_rdata_t rdata = DNS_RDATA_INIT; local
265 dns_rdataset_current(&rdataset, &rdata);
94 dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *target, unsigned char *buffer, dns_rdata_t *rdata) argument
299 dns_rdata_t rdata = DNS_RDATA_INIT; local
[all...]
H A Drootns.c25 #include <dns/rdata.h>
26 #include <dns/rdata.h>
83 dns_rdata_t rdata = DNS_RDATA_INIT; local
91 dns_rdataset_current(rootns, &rdata);
92 result = dns_rdata_tostruct(&rdata, &ns, NULL);
98 dns_rdata_reset(&rdata);
263 dns_rdata_t *rdata)
279 dns_rdatatype_format(rdata->type, typebuf, sizeof(typebuf));
281 result = dns_rdata_totext(rdata, NULL, &buffer);
299 inrrset(dns_rdataset_t *rrset, dns_rdata_t *rdata) { argument
262 report(dns_view_t *view, dns_name_t *name, isc_boolean_t missing, dns_rdata_t *rdata) argument
326 dns_rdata_t rdata = DNS_RDATA_INIT; local
423 dns_rdata_t rdata = DNS_RDATA_INIT; local
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dnsec3_test.c64 dns_rdata_t rdata = DNS_RDATA_INIT; local
74 result = dns_test_rdata_fromstring(&rdata, dns_rdataclass_in,
79 result = dns_rdata_tostruct(&rdata, &nsec3param, NULL);
H A Ddbversion_test.c617 dns_rdata_t rdata = DNS_RDATA_INIT; local
647 result = dns_rdata_fromstruct(&rdata, dns_rdataclass_in,
653 ISC_LIST_APPEND(rdatalist.rdata, &rdata, link);
H A Drdata_test.c22 #include <dns/rdata.h>
76 * Test whether converting rdata to a type-specific struct and then back to
77 * rdata results in the same uncompressed wire form. This checks whether
85 check_struct_conversions(dns_rdata_t *rdata, size_t structsize, int lineno) { argument
86 dns_rdataclass_t rdclass = rdata->rdclass;
87 dns_rdatatype_t type = rdata->type;
99 result = dns_rdata_tostruct(rdata, rdata_struct, NULL);
102 dns_test_tohex(rdata->data, rdata->length,
104 rdata
144 dns_rdata_t rdata = DNS_RDATA_INIT; local
211 dns_rdata_t rdata; local
874 dns_rdata_t rdata; local
[all...]
H A Dtsig_test.c32 dns_rdata_t rdata = DNS_RDATA_INIT; local
39 dns_rdata_fromregion(&rdata, dns_rdataclass_any,
42 CHECK(dns_rdata_tostruct(&rdata, &tsig, NULL));
56 dns_rdata_t rdata = DNS_RDATA_INIT; local
105 CHECK(dns_rdata_fromstruct(&rdata, dns_rdataclass_any,
110 ISC_LIST_APPEND(rdatalist.rdata, &rdata, link);
/bind-9.11.3/contrib/sdb/bdb/
H A Dbdb.c111 char *type, *rdata; local
146 rdata = type + strlen(type) + 1;
148 if (dns_sdb_putrr(l, type, ttl, rdata) != ISC_R_SUCCESS) {
167 char *type, *rdata; local
194 rdata = type + strlen(type) + 1;
196 if (dns_sdb_putnamedrr(n, key.data, type, ttl, rdata) !=
H A Dzone2bdb.c31 #include <dns/rdata.h>
40 #define MAX_RDATATEXT 63 + 4 + 65535 + 2 /* ttl + type + rdata + sep */
64 bdb_putrdata(DB *db, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument
84 dns_rdatatype_totext(rdata->type, &databuf); /* XXX private data */
88 dns_rdata_totext(rdata, NULL, &databuf);
126 dns_rdata_t rdata; local
150 dns_rdata_init(&rdata);
167 dns_rdataset_current(&rdataset, &rdata);
170 rdataset.ttl, &rdata)
173 dns_rdata_reset(&rdata);
[all...]
/bind-9.11.3/bin/tools/
H A Dnamed-rrchecker.c23 #include <dns/rdata.h>
77 dns_rdata_t rdata = DNS_RDATA_INIT; local
250 result = dns_rdata_fromtext(&rdata, rdclass, rdtype, lex,
279 result = dns_rdata_totext(&rdata, NULL, &tbuf);
303 result = dns_rdata_tofmttext(&rdata, NULL,
/bind-9.11.3/contrib/sdb/pgsql/
H A Dzonetodb.c25 #include <dns/rdata.h>
80 addrdata(dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) { argument
98 result = dns_rdatatype_totext(rdata->type, &b);
104 result = dns_rdata_totext(rdata, NULL, &b);
134 dns_rdata_t rdata = DNS_RDATA_INIT; local
233 dns_rdata_init(&rdata);
253 dns_rdataset_current(&rdataset, &rdata);
254 addrdata(name, rdataset.ttl, &rdata);
255 dns_rdata_reset(&rdata);
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dsyncptr.c78 * @param[in] rdata IP address as A/AAAA record
89 syncptr_find_zone(sample_instance_t *inst, dns_rdata_t *rdata, argument
100 switch (rdata->type) {
102 CHECK(dns_rdata_tostruct(rdata, &ipv4, inst->mctx));
107 CHECK(dns_rdata_tostruct(rdata, &ipv6, inst->mctx));
112 fatal_error("unsupported address type 0x%x", rdata->type);
138 if (rdata->type == dns_rdatatype_a)
239 * Generate update event for every rdata in rdataset.
244 * the rdata
251 dns_rdata_t rdata local
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Drrsig_46.c156 REQUIRE(rdata->type == dns_rdatatype_rrsig);
157 REQUIRE(rdata->length != 0);
159 dns_rdata_toregion(rdata, &sr);
306 REQUIRE(rdata->type == dns_rdatatype_rrsig);
307 REQUIRE(rdata->length != 0);
310 dns_rdata_toregion(rdata, &sr);
418 REQUIRE(rdata->type == dns_rdatatype_rrsig);
420 REQUIRE(rdata->length != 0);
422 sig->common.rdclass = rdata->rdclass;
423 sig->common.rdtype = rdata
534 covers_rrsig(dns_rdata_t *rdata) argument
[all...]
H A Dsig_24.c132 REQUIRE(rdata->type == dns_rdatatype_sig);
133 REQUIRE(rdata->length != 0);
135 dns_rdata_toregion(rdata, &sr);
280 REQUIRE(rdata->type == dns_rdatatype_sig);
281 REQUIRE(rdata->length != 0);
284 dns_rdata_toregion(rdata, &sr);
419 REQUIRE(rdata->type == dns_rdatatype_sig);
421 REQUIRE(rdata->length != 0);
423 sig->common.rdclass = rdata->rdclass;
424 sig->common.rdtype = rdata
535 covers_sig(dns_rdata_t *rdata) argument
[all...]
/bind-9.11.3/lib/irs/
H A Dgetnameinfo.c103 #include <dns/rdata.h>
347 dns_rdata_t rdata; local
351 dns_rdata_init(&rdata);
352 dns_rdataset_current(rdataset, &rdata);
353 dns_rdata_tostruct(&rdata, &rdata_ptr,

Completed in 331 milliseconds

1234