Lines Matching defs:x25
111 dns_rdata_x25_t *x25 = source;
116 REQUIRE(x25->common.rdtype == type);
117 REQUIRE(x25->common.rdclass == rdclass);
118 REQUIRE(x25->x25 != NULL && x25->x25_len != 0);
123 if (x25->x25_len < 4)
126 for (i = 0; i < x25->x25_len; i++)
127 if (!isdigit(x25->x25[i] & 0xff))
130 RETERR(uint8_tobuffer(x25->x25_len, target));
131 return (mem_tobuffer(target, x25->x25, x25->x25_len));
136 dns_rdata_x25_t *x25 = target;
143 x25->common.rdclass = rdata->rdclass;
144 x25->common.rdtype = rdata->type;
145 ISC_LINK_INIT(&x25->common, link);
148 x25->x25_len = uint8_fromregion(&r);
150 x25->x25 = mem_maybedup(mctx, r.base, x25->x25_len);
151 if (x25->x25 == NULL)
154 x25->mctx = mctx;
160 dns_rdata_x25_t *x25 = source;
162 REQUIRE(x25->common.rdtype == 19);
164 if (x25->mctx == NULL)
167 if (x25->x25 != NULL)
168 isc_mem_free(x25->mctx, x25->x25);
169 x25->mctx = NULL;