Home
last modified time | relevance | path

Searched refs:DNS_PACKET_ANCOUNT (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/resolve/
Dresolved-mdns.c121 … 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()
Dresolved-dns-packet.h170 #define DNS_PACKET_ANCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->ancount) macro
187 (unsigned) DNS_PACKET_ANCOUNT(p) + in DNS_PACKET_RRCOUNT()
Dresolved-dns-packet.c322 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()