Lines Matching refs:section
81 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
91 if (section != ns_s_qd) { in ns_skiprr()
141 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
146 tmp = section; in ns_parserr()
147 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
149 if (section != handle->_sect) in ns_parserr()
150 setsection(handle, section); in ns_parserr()
155 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
158 setsection(handle, section); in ns_parserr()
160 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
179 if (section == ns_s_qd) { in ns_parserr()
193 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr()
194 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr()
204 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument
209 if ((tmp = section) < 0 || section >= ns_s_max) in ns_parserr2()
211 if (section != handle->_sect) in ns_parserr2()
212 setsection(handle, section); in ns_parserr2()
217 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr2()
220 setsection(handle, section); in ns_parserr2()
222 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr2()
241 if (section == ns_s_qd) { in ns_parserr2()
255 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr2()
256 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr2()