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) {
141 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
145 /* Make section right. */
146 tmp = section;
147 if (tmp < 0 || section >= ns_s_max)
149 if (section != handle->_sect)
150 setsection(handle, section);
155 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
158 setsection(handle, section);
160 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
179 if (section == ns_s_qd) {
193 if (++handle->_rrnum > handle->_counts[(int)section])
194 setsection(handle, (ns_sect)((int)section + 1));
204 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) {
208 /* Make section right. */
209 tmp = section;
210 if (tmp < 0 || section >= ns_s_max)
212 if (section != handle->_sect)
213 setsection(handle, section);
218 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
221 setsection(handle, section);
223 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
242 if (section == ns_s_qd) {
256 if (++handle->_rrnum > handle->_counts[(int)section])
257 setsection(handle, (ns_sect)((int)section + 1));