Home
last modified time | relevance | path

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

/support/
A Dresolv_test.c473 HEADER hd; in parse_query() local
475 if (length < sizeof (hd)) in parse_query()
477 memcpy (&hd, buffer, sizeof (hd)); in parse_query()
479 if (ntohs (hd.qdcount) != 1) in parse_query()
481 (int) ntohs (hd.qdcount)); in parse_query()
482 if (ntohs (hd.ancount) != 0) in parse_query()
484 (int) ntohs (hd.ancount)); in parse_query()
485 if (ntohs (hd.nscount) != 0) in parse_query()
487 (int) ntohs (hd.nscount)); in parse_query()
488 if (ntohs (hd.arcount) > 1) in parse_query()
[all …]

Completed in 7 milliseconds