Lines Matching defs:nid
119 dns_rdata_nid_t *nid = source;
123 REQUIRE(nid->common.rdtype == type);
124 REQUIRE(nid->common.rdclass == rdclass);
129 RETERR(uint16_tobuffer(nid->pref, target));
130 return (mem_tobuffer(target, nid->nid, sizeof(nid->nid)));
136 dns_rdata_nid_t *nid = target;
144 nid->common.rdclass = rdata->rdclass;
145 nid->common.rdtype = rdata->type;
146 ISC_LINK_INIT(&nid->common, link);
149 nid->pref = uint16_fromregion(®ion);
150 memmove(nid->nid, region.base, region.length);
156 dns_rdata_nid_t *nid = source;
159 REQUIRE(nid->common.rdtype == dns_rdatatype_nid);