Lines Matching defs:section
82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
92 if (section != ns_s_qd) {
142 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
146 /* Make section right. */
147 tmp = section;
148 if (tmp < 0 || section >= ns_s_max)
150 if (section != handle->_sect)
151 setsection(handle, section);
156 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
159 setsection(handle, section);
161 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
180 if (section == ns_s_qd) {
194 if (++handle->_rrnum > handle->_counts[(int)section])
195 setsection(handle, (ns_sect)((int)section + 1));
205 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) {
209 /* Make section right. */
210 if ((tmp = section) < 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));