Home | History | Annotate | Download | only in nameser

Lines Matching refs:section

82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
92 if (section != ns_s_qd) {
143 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
147 /* Make section right. */
148 tmp = section;
149 if (tmp < 0 || section >= ns_s_max)
151 if (section != handle->_sect)
152 setsection(handle, section);
157 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
160 setsection(handle, section);
162 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
181 if (section == ns_s_qd) {
195 if (++handle->_rrnum > handle->_counts[(int)section])
196 setsection(handle, (ns_sect)((int)section + 1));
206 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) {
210 /* Make section right. */
211 tmp = section;
212 if (tmp < 0 || section >= ns_s_max)
214 if (section != handle->_sect)
215 setsection(handle, section);
220 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
223 setsection(handle, section);
225 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
244 if (section == ns_s_qd) {
258 if (++handle->_rrnum > handle->_counts[(int)section])
259 setsection(handle, (ns_sect)((int)section + 1));