Lines Matching refs:header
42 HEADER header; in response() local
43 memcpy (&header, ctx->query_buffer, sizeof (header)); in response()
44 TEST_COMPARE (header.ad, query_ad_bit); in response()
60 HEADER header; in check_answer() local
61 TEST_VERIFY (buffer_length > sizeof (header)); in check_answer()
62 memcpy (&header, buffer, sizeof (header)); in check_answer()
63 TEST_COMPARE (0, header.aa); in check_answer()
64 TEST_COMPARE (expected_ad, header.ad); in check_answer()
65 TEST_COMPARE (0, header.opcode); in check_answer()
66 TEST_COMPARE (1, header.qr); in check_answer()
67 TEST_COMPARE (0, header.rcode); in check_answer()
68 TEST_COMPARE (1, header.rd); in check_answer()
69 TEST_COMPARE (0, header.tc); in check_answer()
70 TEST_COMPARE (1, ntohs (header.qdcount)); in check_answer()
71 TEST_COMPARE (1, ntohs (header.ancount)); in check_answer()
72 TEST_COMPARE (0, ntohs (header.nscount)); in check_answer()
73 TEST_COMPARE (0, ntohs (header.arcount)); in check_answer()
147 HEADER header; in do_test() local
148 memcpy (&header, buffer, sizeof (header)); in do_test()
149 TEST_VERIFY (!header.ad); in do_test()
192 memcpy (&header, buffer, sizeof (header)); in do_test()
193 TEST_VERIFY (header.ad); in do_test()