Lines Matching refs:rr
141 ns_rr rr; in do_section() local
148 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section()
159 fmt::format_to(out, ";;\t{}, type = {}, class = {}\n", ns_rr_name(rr), in do_section()
160 p_type(ns_rr_type(rr)), p_class(ns_rr_class(rr))); in do_section()
161 else if (section == ns_s_ar && ns_rr_type(rr) == ns_t_opt) { in do_section()
165 rdatalen = ns_rr_rdlen(rr); in do_section()
166 fmt::format_to(out, "; EDNS: version: {}, udp={}, flags={}\n", (rr.ttl >> 16) & 0xff, in do_section()
167 static_cast<int>(ns_rr_class(rr)), rr.ttl & 0xffff); in do_section()
168 const uint8_t* cp = ns_rr_rdata(rr); in do_section()
169 while (rdatalen <= ns_rr_rdlen(rr) && rdatalen >= 4) { in do_section()
210 n = ns_sprintrr(handle, &rr, NULL, NULL, buf.get(), (uint32_t)buflen); in do_section()