Lines Matching defs:section
79 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
89 if (section != ns_s_qd) {
140 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
143 /* Make section right. */
144 if ((unsigned)section >= (unsigned)ns_s_max)
146 if (section != handle->_sect)
147 setsection(handle, section);
152 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
155 setsection(handle, section);
157 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
176 if (section == ns_s_qd) {
190 if (++handle->_rrnum > handle->_counts[(int)section])
191 setsection(handle, (ns_sect)((int)section + 1));