Lines Matching refs:section
84 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
94 if (section != ns_s_qd) { in ns_skiprr()
144 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
149 tmp = section; in ns_parserr()
150 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
152 if (section != handle->_sect) in ns_parserr()
153 setsection(handle, section); in ns_parserr()
158 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
161 setsection(handle, section); in ns_parserr()
163 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
182 if (section == ns_s_qd) { in ns_parserr()
196 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr()
197 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr()
207 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument
212 if ((tmp = section) < 0 || section >= ns_s_max) in ns_parserr2()
214 if (section != handle->_sect) in ns_parserr2()
215 setsection(handle, section); in ns_parserr2()
220 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr2()
223 setsection(handle, section); in ns_parserr2()
225 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr2()
244 if (section == ns_s_qd) { in ns_parserr2()
258 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr2()
259 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr2()