Home
last modified time | relevance | path

Searched refs:rrnum (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/netbsd/nameser/
Dns_parse.c140 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
150 if (rrnum == -1) in ns_parserr()
151 rrnum = handle->_rrnum; in ns_parserr()
152 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
154 if (rrnum < handle->_rrnum) in ns_parserr()
156 if (rrnum > handle->_rrnum) { in ns_parserr()
158 rrnum - handle->_rrnum); in ns_parserr()
163 handle->_rrnum = rrnum; in ns_parserr()
/bionic/libc/netbsd/resolv/
Dres_debug.c162 int n, sflag, rrnum; in do_section() local
182 rrnum = 0; in do_section()
184 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section()
188 else if (rrnum > 0 && sflag != 0 && in do_section()
193 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section()
229 rrnum++; in do_section()