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.
| uint16_t ldns_struct_hdr::_id |
| uint8_t ldns_struct_hdr::_rcode |
| uint16_t ldns_struct_hdr::_qdcount |
| uint16_t ldns_struct_hdr::_ancount |
| uint16_t ldns_struct_hdr::_nscount |
| uint16_t ldns_struct_hdr::_arcount |
1.5.1