|
unbound
0.1
|
data structure to keep the canned queries in. More...
#include <ldns-testpkts.h>
Data Fields | |
| bool | match_opcode |
| match query opcode with answer opcode | |
| bool | match_qtype |
| match qtype with answer qtype | |
| bool | match_qname |
| match qname with answer qname | |
| bool | match_subdomain |
| match qname as subdomain of answer qname | |
| bool | match_serial |
| match SOA serial number, from auth section | |
| bool | match_all |
| match all of the packet | |
| bool | match_ttl |
| match ttls in the packet | |
| bool | match_do |
| match DO bit | |
| bool | match_noedns |
| match absence of EDNS OPT record in query | |
| uint32_t | ixfr_soa_serial |
| match query serial with this value. | |
| enum transport_type | match_transport |
| match on UDP/TCP | |
| struct reply_packet * | reply_list |
| pre canned reply | |
| bool | copy_id |
| how to adjust the reply packet | |
| bool | copy_query |
| copy the query nametypeclass from query into the answer | |
| unsigned int | sleeptime |
| in seconds | |
| int | lineno |
| some number that names this entry, line number in file or so | |
| struct entry * | next |
| next in list | |
data structure to keep the canned queries in.
format is the 'matching query' and the 'canned answer'
| uint32_t entry::ixfr_soa_serial |
match query serial with this value.
Referenced by find_match(), matchline(), and new_entry().
| bool entry::copy_id |
how to adjust the reply packet
copy over the ID from the query into the answer
Referenced by adjust_packet(), adjustline(), handle_query(), new_entry(), and run_scenario().
1.7.6.1