Lines Matching defs:rt
178 dns_rdata_rt_t *rt = source;
183 REQUIRE(rt->common.rdtype == type);
184 REQUIRE(rt->common.rdclass == rdclass);
189 RETERR(uint16_tobuffer(rt->preference, target));
190 dns_name_toregion(&rt->host, ®ion);
197 dns_rdata_rt_t *rt = target;
204 rt->common.rdclass = rdata->rdclass;
205 rt->common.rdtype = rdata->type;
206 ISC_LINK_INIT(&rt->common, link);
210 rt->preference = uint16_fromregion(®ion);
213 dns_name_init(&rt->host, NULL);
214 RETERR(name_duporclone(&name, mctx, &rt->host));
216 rt->mctx = mctx;
222 dns_rdata_rt_t *rt = source;
225 REQUIRE(rt->common.rdtype == 21);
227 if (rt->mctx == NULL)
230 dns_name_free(&rt->host, rt->mctx);
231 rt->mctx = NULL;