Lines Matching refs:rr
524 } rr; in parse_query() local
525 _Static_assert (sizeof (rr) == 11, "EDNS record size"); in parse_query()
527 if (remaining < 4 + sizeof (rr)) in parse_query()
529 memcpy (&rr, buffer + 12 + ret + 4, sizeof (rr)); in parse_query()
530 if (rr.root != 0) in parse_query()
531 FAIL_EXIT1 ("malformed DNS query: invalid OPT RNAME: %d\n", rr.root); in parse_query()
532 if (rr.rtype != htons (41)) in parse_query()
534 ntohs (rr.rtype)); in parse_query()
536 info->edns.extended_rcode = rr.edns_extended_rcode; in parse_query()
537 info->edns.version = rr.edns_version; in parse_query()
538 info->edns.flags = ntohs (rr.flags); in parse_query()
539 info->edns.payload_size = ntohs (rr.payload); in parse_query()