Lines Matching defs:sregion
87 isc_region_t sregion;
100 isc_buffer_activeregion(source, &sregion);
101 if (sregion.length == 0)
104 while (sregion.length != 0) {
105 if (sregion.length < 4)
107 opt = uint16_fromregion(&sregion);
108 isc_region_consume(&sregion, 2);
109 length = uint16_fromregion(&sregion);
110 isc_region_consume(&sregion, 2);
112 if (sregion.length < length)
123 family = uint16_fromregion(&sregion);
124 isc_region_consume(&sregion, 2);
125 addrlen = uint8_fromregion(&sregion);
126 isc_region_consume(&sregion, 1);
127 scope = uint8_fromregion(&sregion);
128 isc_region_consume(&sregion, 1);
161 bits &= sregion.base[addrbytes - 1];
162 if (bits != sregion.base[addrbytes - 1])
165 isc_region_consume(&sregion, addrbytes);
174 isc_region_consume(&sregion, length);
179 isc_region_consume(&sregion, length);
184 isc_region_consume(&sregion, length);
187 isc_region_consume(&sregion, length);
193 isc_buffer_activeregion(source, &sregion);
197 memmove(tregion.base, sregion.base, total);