Lines Matching refs:header
54 HEADER header; in __res_handle_no_aaaa() member
57 memcpy (&replacement.header, buf, sizeof (replacement.header)); in __res_handle_no_aaaa()
59 if (replacement.header.qr in __res_handle_no_aaaa()
60 || replacement.header.opcode != 0 in __res_handle_no_aaaa()
61 || replacement.header.rcode != 0 in __res_handle_no_aaaa()
62 || ntohs (replacement.header.qdcount) != 1 in __res_handle_no_aaaa()
63 || ntohs (replacement.header.ancount) != 0 in __res_handle_no_aaaa()
64 || ntohs (replacement.header.nscount) != 0) in __res_handle_no_aaaa()
70 replacement.header.arcount = htons (0); in __res_handle_no_aaaa()
129 memcpy (&replacement.header, ans, sizeof (replacement.header)); in __res_handle_no_aaaa()
130 replacement.header.ancount = htons (0); in __res_handle_no_aaaa()
131 replacement.header.nscount = htons (0); in __res_handle_no_aaaa()
132 replacement.header.arcount = htons (0); in __res_handle_no_aaaa()
133 memcpy (ans, &replacement.header, sizeof (replacement.header)); in __res_handle_no_aaaa()