Lines Matching refs:section
80 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
90 if (section != ns_s_qd) {
140 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
144 /* Make section right. */
145 tmp = section;
146 if (tmp < 0 || section >= ns_s_max)
148 if (section != handle->_sect)
149 setsection(handle, section);
154 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
157 setsection(handle, section);
159 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
178 if (section == ns_s_qd) {
192 if (++handle->_rrnum > handle->_counts[(int)section])
193 setsection(handle, (ns_sect)((int)section + 1));
203 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) {
207 /* Make section right. */
208 if ((tmp = section) < 0 || section >= ns_s_max)
210 if (section != handle->_sect)
211 setsection(handle, section);
216 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
219 setsection(handle, section);
221 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
240 if (section == ns_s_qd) {
254 if (++handle->_rrnum > handle->_counts[(int)section])
255 setsection(handle, (ns_sect)((int)section + 1));