Lines Matching full:match
41 ; first give MATCH lines, that say what queries are matched
43 ; 'opcode' makes the query match the opcode from the reply;
45 ; 'qtype' makes the query match the qtype from the reply.
46 ; 'qname' makes the query match the qname from the reply.
47 ; 'subdomain' makes the query match subdomains of qname from the reply.
48 ; 'serial=1023' makes the query match if ixfr serial is 1023.
49 ; 'all' has to match header byte for byte and all rrs in packet.
50 ; 'all_noedns' has to match header byte for byte and all rrs in packet;
53 ; 'DO' will match only queries with DO bit set.
55 ; 'rcode' makes the query match the rcode from the reply.
56 ; 'question' makes the query match the question section.
57 ; 'answer' makes the query match the answer section.
61 ; 'ede=2' makes the query match if the EDNS EDE info-code is 2.
64 ; 'ede=any' makes the query match any EDNS EDE info-code.
67 ; 'client_cookie' makes the query match any DNS Cookie option with
71 ; 'server_cookie' makes the query match any DNS Cookie option with
75 MATCH [opcode] [qtype] [qname] [serial=<value>] [all] [ttl]
76 MATCH [UDP|TCP] DO
77 MATCH ...
94 ; it is clientsubnet and adjusts scopemask to match sourcemask.
111 ; is used to match queries). If the data cannot
116 ; Raw EDNS data to match against. It must be an
117 ; exact match (all options are matched) and will be
118 ; evaluated only when 'MATCH ednsdata' given.
128 MATCH qname
140 MATCH qname
169 /** Type of transport, since some entries match based on UDP or TCP of query */
191 /* match */
192 /* How to match an incoming query with this canned reply */
193 /** match query opcode with answer opcode */
195 /** match qtype with answer qtype */
197 /** match qname with answer qname */
199 /** match rcode with answer rcode */
201 /** match question section */
203 /** match answer section */
205 /** match qname as subdomain of answer qname */
207 /** match SOA serial number, from auth section */
209 /** match EDNS EDE info-code */
211 /** match any EDNS EDE info-code */
213 /** match all of the packet */
215 /** match all of the packet; ignore EDNS */
217 /** match ttls in the packet */
219 /** match DO bit */
221 /** match absence of EDNS OPT record in query */
223 /** match edns data field given in hex */
225 /** match an DNS cookie of length 8 */
227 /** match an DNS cookie of length 24 */
229 /** match query serial with this value. */
231 /** match on UDP/TCP */
233 /** match EDNS EDE info-code with this value. */
245 * adjust scopemask to match sourcemask */
291 * match two packets, all must match
296 * @param mttl: if true, ttls must match, if false, ttls do not need to match
299 * @param noedns: if true, edns is not compared, if false, edns must match.
308 void adjust_packet(struct entry* match, uint8_t** answer_pkt,
319 * @param transport: set to UDP or TCP to match some types of entries.