Data Fields | |
| uint16_t | _id |
| Id of a packet. | |
| bool | _qr |
| Query bit (0=query, 1=answer). | |
| bool | _aa |
| Authoritative answer. | |
| bool | _tc |
| Packet truncated. | |
| bool | _rd |
| Recursion desired. | |
| bool | _cd |
| Checking disabled. | |
| bool | _ra |
| Recursion available. | |
| bool | _ad |
| Authentic data. | |
| ldns_pkt_opcode | _opcode |
| Query type. | |
| uint8_t | _rcode |
| Response code. | |
| uint16_t | _qdcount |
| question sec | |
| uint16_t | _ancount |
| answer sec | |
| uint16_t | _nscount |
| auth sec | |
| uint16_t | _arcount |
| add sec | |
Contains the information about the packet itself
Definition at line 35 of file packet.h.
|
|
Authoritative answer.
|
|
|
Authentic data.
|
|
|
answer sec
|
|
|
add sec
|
|
|
Checking disabled.
|
|
|
Id of a packet.
|
|
|
auth sec
|
|
|
Query type.
|
|
|
question sec
|
|
|
Query bit (0=query, 1=answer).
|
|
|
Recursion available.
|
|
|
Response code.
|
|
|
Recursion desired.
|
|
|
Packet truncated.
|
1.4.6