Home
last modified time | relevance | path

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

/systemd-251/src/resolve/
Dresolved-mdns.c117 assert_return(DNS_PACKET_NSCOUNT(p) > 0, -EINVAL); in mdns_packet_extract_matching_rrs()
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()
278 if (tentative && DNS_PACKET_NSCOUNT(p) > 0) { in mdns_scope_process_query()
Dresolved-dns-packet.h171 #define DNS_PACKET_NSCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->nscount) macro
188 (unsigned) DNS_PACKET_NSCOUNT(p) + in DNS_PACKET_RRCOUNT()
Dresolved-dns-packet.c326 if (DNS_PACKET_NSCOUNT(p) > 0) in dns_packet_validate_query()
2295 if (i < DNS_PACKET_ANCOUNT(p) + DNS_PACKET_NSCOUNT(p)) { in dns_packet_extract_answer()
2349 else if (i < DNS_PACKET_ANCOUNT(p) + DNS_PACKET_NSCOUNT(p)) in dns_packet_extract_answer()