Searched defs:section (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/dns/nameser/
H A Dns_parse.c80 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { argument
90 if (section != ns_s_qd) {
141 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { argument
145 /* Make section right. */
146 tmp = section;
147 if (tmp < 0 || section >= ns_s_max)
149 if (section != handle->_sect)
150 setsection(handle, section);
155 if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
158 setsection(handle, section);
204 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument
[all...]
/bionic/libc/dns/resolv/
H A Dres_debug.c158 ns_msg *handle, ns_sect section,
183 if (ns_parserr(handle, section, rrnum, &rr)) {
194 p_section(section, opcode));
195 if (section == ns_s_qd)
200 else if (section == ns_s_ar && ns_rr_type(rr) == ns_t_opt) {
636 p_section(int section, int opcode) { argument
647 return (sym_ntos(symbols, section, (int *)0));
157 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument

Completed in 126 milliseconds