entry Struct Reference

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_packetreply_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 entrynext
 next in list


Detailed Description

data structure to keep the canned queries in.

format is the 'matching query' and the 'canned answer'


Field Documentation

match query serial with this value.

Referenced by find_match(), matchline(), and new_entry().

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().


The documentation for this struct was generated from the following file:

Generated on Thu Mar 26 09:45:03 2009 for unbound by  doxygen 1.5.8