Lines Matching refs:sr
100 isc_region_t sr, ar;
114 dns_rdata_toregion(rdata, &sr);
115 prefixlen = sr.base[0];
117 isc_region_consume(&sr, 1);
125 memmove(&addr[octets], sr.base, 16 - octets);
131 isc_region_consume(&sr, 16 - octets);
140 dns_name_fromregion(&name, &sr);
147 isc_region_t sr;
161 isc_buffer_activeregion(source, &sr);
165 if (sr.length < 1)
167 prefixlen = sr.base[0];
170 isc_region_consume(&sr, 1);
179 if (sr.length < octets)
182 sr.base[0] &= mask; /* Ensure pad bits are zero. */
183 RETERR(mem_tobuffer(target, sr.base, octets));
196 isc_region_t sr;
207 dns_rdata_toregion(rdata, &sr);
208 prefixlen = sr.base[0];
212 RETERR(mem_tobuffer(target, sr.base, octets));
213 isc_region_consume(&sr, octets);
219 dns_name_fromregion(&name, &sr);