Searched refs:DNS_PACKET_ANCOUNT (Results 1 – 3 of 3) sorted by relevance
121 … if (i >= DNS_PACKET_ANCOUNT(p) && i < DNS_PACKET_ANCOUNT(p) + DNS_PACKET_NSCOUNT(p)) { in mdns_packet_extract_matching_rrs()142 … if (i >= DNS_PACKET_ANCOUNT(p) && i < DNS_PACKET_ANCOUNT(p) + DNS_PACKET_NSCOUNT(p)) { in mdns_packet_extract_matching_rrs()
170 #define DNS_PACKET_ANCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->ancount) macro187 (unsigned) DNS_PACKET_ANCOUNT(p) + in DNS_PACKET_RRCOUNT()
322 if (DNS_PACKET_ANCOUNT(p) > 0) in dns_packet_validate_query()2295 if (i < DNS_PACKET_ANCOUNT(p) + DNS_PACKET_NSCOUNT(p)) { in dns_packet_extract_answer()2347 if (i < DNS_PACKET_ANCOUNT(p)) in dns_packet_extract_answer()2349 else if (i < DNS_PACKET_ANCOUNT(p) + DNS_PACKET_NSCOUNT(p)) in dns_packet_extract_answer()