|
unbound 0.1
|
data structure to keep the canned queries in. More...
#include <testpkts.h>
Data Fields | |
| uint8_t | match_opcode |
| match query opcode with answer opcode | |
| uint8_t | match_qtype |
| match qtype with answer qtype | |
| uint8_t | match_qname |
| match qname with answer qname | |
| uint8_t | match_rcode |
| match rcode with answer rcode | |
| uint8_t | match_question |
| match question section | |
| uint8_t | match_answer |
| match answer section | |
| uint8_t | match_subdomain |
| match qname as subdomain of answer qname | |
| uint8_t | match_serial |
| match SOA serial number, from auth section | |
| uint8_t | match_ede |
| match EDNS EDE info-code | |
| uint8_t | match_ede_any |
| match any EDNS EDE info-code | |
| uint8_t | match_all |
| match all of the packet | |
| uint8_t | match_all_noedns |
| match all of the packet; ignore EDNS | |
| uint8_t | match_ttl |
| match ttls in the packet | |
| uint8_t | match_do |
| match DO bit | |
| uint8_t | match_co |
| match CO bit | |
| uint8_t | match_noedns |
| match absence of EDNS OPT record in query | |
| uint8_t | match_ednsdata_raw |
| match edns data field given in hex | |
| uint8_t | match_client_cookie |
| match an DNS cookie of length 8 | |
| uint8_t | match_server_cookie |
| match an DNS cookie of length 24 | |
| uint32_t | ixfr_soa_serial |
| match query serial with this value. | |
| enum transport_type | match_transport |
| match on UDP/TCP | |
| uint16_t | ede_info_code |
| match EDNS EDE info-code with this value. | |
| struct reply_packet * | reply_list |
| pre canned reply | |
| uint8_t | copy_id |
| how to adjust the reply packet | |
| uint8_t | copy_query |
| copy the query nametypeclass from query into the answer | |
| uint8_t | copy_ednsdata_assume_clientsubnet |
| copy ednsdata to reply, assume it is clientsubnet and adjust scopemask to match sourcemask | |
| uint8_t | increment_ecs_scope |
| increment the ECS scope copied from the sourcemask by one | |
| 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'
| uint8_t entry::match_opcode |
match query opcode with answer opcode
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_qtype |
match qtype with answer qtype
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_qname |
match qname with answer qname
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_rcode |
match rcode with answer rcode
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_question |
match question section
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_answer |
match answer section
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_subdomain |
match qname as subdomain of answer qname
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_serial |
match SOA serial number, from auth section
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_ede |
match EDNS EDE info-code
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_ede_any |
match any EDNS EDE info-code
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_all |
match all of the packet
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_all_noedns |
match all of the packet; ignore EDNS
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_ttl |
match ttls in the packet
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_do |
match DO bit
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_co |
match CO bit
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_noedns |
match absence of EDNS OPT record in query
Referenced by find_match(), matchline(), and new_entry().
| uint8_t entry::match_ednsdata_raw |
match edns data field given in hex
Referenced by find_match(), and matchline().
| uint8_t entry::match_client_cookie |
match an DNS cookie of length 8
Referenced by find_match(), and matchline().
| uint8_t entry::match_server_cookie |
match an DNS cookie of length 24
Referenced by find_match(), and matchline().
| uint32_t entry::ixfr_soa_serial |
match query serial with this value.
Referenced by find_match(), matchline(), and new_entry().
| enum transport_type entry::match_transport |
match on UDP/TCP
Referenced by fake_front_query(), find_match(), matchline(), and new_entry().
| uint16_t entry::ede_info_code |
match EDNS EDE info-code with this value.
Referenced by find_match(), matchline(), and new_entry().
| struct reply_packet* entry::reply_list |
pre canned reply
Referenced by answer_callback_from_entry(), count_reply_packets(), delete_entry(), dstest_entry(), entry_add_reply(), entry_to_buf(), fake_front_query(), fake_pending_callback(), fill_buffer_with_reply(), find_match(), handle_query(), new_entry(), nsec3_hash_test_entry(), and verifytest_entry().
| uint8_t entry::copy_id |
how to adjust the reply packet
copy over the ID from the query into the answer
Referenced by adjust_packet(), adjustline(), new_entry(), and run_scenario().
| uint8_t entry::copy_query |
copy the query nametypeclass from query into the answer
Referenced by adjust_packet(), adjustline(), and new_entry().
| uint8_t entry::copy_ednsdata_assume_clientsubnet |
copy ednsdata to reply, assume it is clientsubnet and adjust scopemask to match sourcemask
Referenced by adjust_packet(), adjustline(), and new_entry().
| uint8_t entry::increment_ecs_scope |
increment the ECS scope copied from the sourcemask by one
Referenced by adjust_packet(), adjustline(), and new_entry().
| unsigned int entry::sleeptime |
in seconds
Referenced by adjust_packet(), adjustline(), and new_entry().
| int entry::lineno |
some number that names this entry, line number in file or so
Referenced by answer_check_it(), and read_entry().
| struct entry* entry::next |
next in list
Referenced by comm_signal_bind(), delete_entry(), dstest_file(), dt_msg_queue_pop(), dt_msg_queue_submit(), find_match(), new_entry(), nsec3_hash_test(), read_datafile(), replay_range_read(), tap_data_list_insert(), tap_socket_list_addevs(), tap_socket_list_insert(), and verifytest_file().