Lines Matching defs:afsdb
174 dns_rdata_afsdb_t *afsdb = source;
179 REQUIRE(afsdb->common.rdclass == rdclass);
180 REQUIRE(afsdb->common.rdtype == type);
185 RETERR(uint16_tobuffer(afsdb->subtype, target));
186 dns_name_toregion(&afsdb->server, ®ion);
193 dns_rdata_afsdb_t *afsdb = target;
200 afsdb->common.rdclass = rdata->rdclass;
201 afsdb->common.rdtype = rdata->type;
202 ISC_LINK_INIT(&afsdb->common, link);
204 dns_name_init(&afsdb->server, NULL);
208 afsdb->subtype = uint16_fromregion(®ion);
214 RETERR(name_duporclone(&name, mctx, &afsdb->server));
215 afsdb->mctx = mctx;
221 dns_rdata_afsdb_t *afsdb = source;
224 REQUIRE(afsdb->common.rdtype == dns_rdatatype_afsdb);
226 if (afsdb->mctx == NULL)
229 dns_name_free(&afsdb->server, afsdb->mctx);
230 afsdb->mctx = NULL;