|
Ripples 1.0
High Performant Software Architecture For Transaction Processing
|
#include <rip_ns_utils.h>
Data Fields | |
| unsigned | id:16 |
| unsigned | qr: 1 |
| unsigned | opcode: 4 |
| unsigned | aa: 1 |
| unsigned | tc: 1 |
| unsigned | rd: 1 |
| unsigned | ra: 1 |
| unsigned | unused:1 |
| unsigned | ad: 1 |
| unsigned | cd: 1 |
| unsigned | rcode:4 |
| unsigned | qdcount:16 |
| unsigned | ancount:16 |
| unsigned | nscount:16 |
| unsigned | arcount:16 |
Structure for DNS 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.
| unsigned rip_ns_header_s::aa |
authoritative answer
| unsigned rip_ns_header_s::ad |
authentic data from named
authentic data from named , removed in RFC 1035
| unsigned rip_ns_header_s::ancount |
number of answer entries
| unsigned rip_ns_header_s::arcount |
number of resource entries
| unsigned rip_ns_header_s::cd |
checking disabled by resolver
checking disabled by resolver , removed in RFC 1035
| unsigned rip_ns_header_s::id |
query identification number
| unsigned rip_ns_header_s::nscount |
number of authority entries
| unsigned rip_ns_header_s::opcode |
purpose of message
| unsigned rip_ns_header_s::qdcount |
number of question entries
| unsigned rip_ns_header_s::qr |
response flag
| unsigned rip_ns_header_s::ra |
recursion available
| unsigned rip_ns_header_s::rcode |
response code
| unsigned rip_ns_header_s::rd |
recursion desired
| unsigned rip_ns_header_s::tc |
truncated message
| unsigned rip_ns_header_s::unused |
unused bits (MBZ as of 4.9.3a3)