Lines Matching refs:section
82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
92 if (section != ns_s_qd) { in ns_skiprr()
143 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
148 tmp = section; in ns_parserr()
149 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
151 if (section != handle->_sect) in ns_parserr()
152 setsection(handle, section); in ns_parserr()
157 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
160 setsection(handle, section); in ns_parserr()
162 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
181 if (section == ns_s_qd) { in ns_parserr()
195 if (++handle->_rrnum > handle->_counts[(int)section]) in ns_parserr()
196 setsection(handle, (ns_sect)((int)section + 1)); in ns_parserr()
206 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument
211 tmp = section; in ns_parserr2()
212 if (tmp < 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()