Lines Matching defs:rt
170 dns_rdata_rt_t *rt = source;
175 REQUIRE(rt->common.rdtype == type);
176 REQUIRE(rt->common.rdclass == rdclass);
181 RETERR(uint16_tobuffer(rt->preference, target));
182 dns_name_toregion(&rt->host, ®ion);
189 dns_rdata_rt_t *rt = target;
196 rt->common.rdclass = rdata->rdclass;
197 rt->common.rdtype = rdata->type;
198 ISC_LINK_INIT(&rt->common, link);
202 rt->preference = uint16_fromregion(®ion);
205 dns_name_init(&rt->host, NULL);
206 RETERR(name_duporclone(&name, mctx, &rt->host));
208 rt->mctx = mctx;
214 dns_rdata_rt_t *rt = source;
217 REQUIRE(rt->common.rdtype == dns_rdatatype_rt);
219 if (rt->mctx == NULL)
222 dns_name_free(&rt->host, rt->mctx);
223 rt->mctx = NULL;