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