Data Fields | |
| ldns_hdr * | _header |
| header section | |
| uint16_t | _answersize |
| the size in bytes of the pkt | |
| ldns_rdf * | _answerfrom |
| char * | _when |
| uint32_t | _querytime |
| query duration | |
| size_t | _size |
| the packet size | |
| ldns_rr * | _tsig_rr |
| optional tsig rr | |
| uint16_t | _edns_udp_size |
| EDNS0 values. | |
| uint8_t | _edns_extended_rcode |
| uint8_t | _edns_version |
| uint16_t | _edns_z |
| ldns_rdf * | _edns_data |
| ldns_rr_list * | _question |
| question section | |
| ldns_rr_list * | _answer |
| answer section | |
| ldns_rr_list * | _authority |
| auth section | |
| ldns_rr_list * | _additional |
| add section | |
This structure contains a complete DNS packet (either a query or an answer)
Definition at line 73 of file packet.h.
|
|
add section
|
|
|
answer section
|
|
|
|
|
|
the size in bytes of the pkt
|
|
|
auth section
|
|
|
|
|
|
|
|
|
EDNS0 values.
|
|
|
|
|
|
|
|
|
header section
|
|
|
query duration
|
|
|
question section
|
|
|
the packet size
|
|
|
optional tsig rr
|
|
|
|
1.4.6