Lines Matching refs:section
74 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
84 if (section != ns_s_qd) { in ns_skiprr()
134 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
139 tmp = section; in ns_parserr()
140 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
142 if (section != handle->_sect) in ns_parserr()
143 setsection(handle, section); in ns_parserr()
148 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
151 setsection(handle, section); in ns_parserr()
153 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
172 if (section == ns_s_qd) { in ns_parserr()
186 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr()
187 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr()
197 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument
202 if ((tmp = section) < 0 || section >= ns_s_max) in ns_parserr2()
204 if (section != handle->_sect) in ns_parserr2()
205 setsection(handle, section); in ns_parserr2()
210 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr2()
213 setsection(handle, section); in ns_parserr2()
215 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr2()
234 if (section == ns_s_qd) { in ns_parserr2()
248 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr2()
249 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr2()