Lines Matching defs:section
78 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
88 if (section != ns_s_qd) {
139 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
142 /* Make section right. */
143 if (section >= ns_s_max)
145 if (section != handle->_sect)
146 setsection(handle, section);
151 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
154 setsection(handle, section);
156 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
175 if (section == ns_s_qd) {
189 if (++handle->_rrnum > handle->_counts[(int)section])
190 setsection(handle, (ns_sect)((int)section + 1));