#include <stdapis/arpa/nameser_compat.h>
struct HEADER |
Public Attributes | |
---|---|
unsigned | aa |
unsigned | ad |
unsigned | ancount |
unsigned | arcount |
unsigned | cd |
unsigned | id |
unsigned | nscount |
unsigned | opcode |
unsigned | qdcount |
unsigned | qr |
unsigned | ra |
unsigned | rcode |
unsigned | rd |
unsigned | tc |
unsigned | unused |
Structure for query header. The order of the fields is machine- and compiler-dependent, depending on the byte/bit order and the layout of bit fields. We use bit fields only in int variables, as this is all ANSI requires. This requires a somewhat confusing rearrangement.