Lines Matching refs:section
88 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
98 if (section != ns_s_qd) {
149 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
153 /* Make section right. */
154 tmp = section;
155 if (tmp < 0 || section >= ns_s_max)
157 if (section != handle->_sect)
158 setsection(handle, section);
163 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
166 setsection(handle, section);
168 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
187 if (section == ns_s_qd) {
201 if (++handle->_rrnum > handle->_counts[(int)section])
202 setsection(handle, (ns_sect)((int)section + 1));
212 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) {
216 /* Make section right. */
217 tmp = section;
218 if (tmp < 0 || section >= ns_s_max)
220 if (section != handle->_sect)
221 setsection(handle, section);
226 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
229 setsection(handle, section);
231 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
250 if (section == ns_s_qd) {
264 if (++handle->_rrnum > handle->_counts[(int)section])
265 setsection(handle, (ns_sect)((int)section + 1));