Lines Matching refs:match

729 // (or were received) on the same interface (i.e. if *both* records specify an interface, then it has to match).
735 // SameResourceRecordNameClassInterface is functionally the same as SameResourceRecordSignature, except rrtype does not have to match
756 // so a response of any type should match, even if it is not actually the type the client plans to use.
759 // and require the rrtypes to match for the rdata to be considered potentially conflicting
6226 // If the service type is wake only service and the auth flags match and requires a goodbye
7105 mDNSBool match;
7112 match = (id1 == id2);
7114 else match = (pktrr->InterfaceID == rr->resrec.InterfaceID);
7116 if (match && IdenticalSameNameRecord(pktrr, &rr->resrec)) break;
8069 // When the response does not match the question directly, we still want to cache them sometimes. The current response is
8082 // match the question and we already created a cache entry in the previous pass of this loop. Now when we process
8083 // the A record, it does not match the question because the record name here is the CNAME. Hence we try to
8084 // match with the previous records to make it an AcceptableResponse. We have to be careful about setting the
8096 // we receive NSECs for our query which does not match the qname and we need to cache in that case
8116 // would match the qtype and they are cached normally as they are not used to prove the
8505 mDNSBool match;
8506 // Resource record received via unicast, the resGroupID should match ?
8511 match = (id1 == id2);
8514 match = (rr->resrec.InterfaceID == InterfaceID);
8516 if (match && IdenticalSameNameRecord(&m->rec.r.resrec, &rr->resrec))
8962 // ExpectingUnicastResponseForRecord as the port numbers don't match. uDNS_recvLLQRespose
9068 if (PacketRRMatchesSignature(&m->rec.r, rr)) // If interface, name, type (if shared record) and class match...
9311 // For Unicast (null InterfaceID) the resolver IDs should also match
9842 // Matches the proxied auth records to the incoming TCP packet and returns the match and its sequence and ack in "rseq" and "rack" so that
9875 // Does it match the incoming TCP packet ?
10405 (q->BrowseThreshold == question->BrowseThreshold) && // browse thresholds must match
10407 (IsAWDLIncluded(q) == IsAWDLIncluded(question)) && // Inclusion of AWDL interface must match
10560 //Checks to see whether the newname is a better match for the name, given the best one we have
10562 //Returns -1 if the newname is not a better match
10563 //Returns 0 if the newname is the same as the old match
10564 //Returns 1 if the newname is a better match
10569 // contains fewer labels than the current best, then it can't possibly be a better match
10572 // If there is no match, return -1 and the caller will skip this newname for
10575 // If we find a match and the number of labels is the same as bestcount, then
10579 // If we find a match and the number of labels is more than bestcount, then we
10605 // Take the first best match. If there are multiple equally good matches (bettermatch = 0), we take
10633 if (SameDomainLabel(mDNS_DEQLabels[i], label)) {debugf("DomainEnumQuery: DEQ %##s, label1 match", qname->c); break;}
10641 debugf("DomainEnumQuery: DEQ %##s, label1 match", qname->c);
10651 debugf("DomainEnumQuery: DEQ %##s, label2 match", qname->c);
10660 debugf("DomainEnumQuery: DEQ %##s, label3 match", qname->c);
10674 // with "scoped" set to kScopeInterfaceId) and their InterfaceIDs should match.
10677 // with "scoped" set to kScopeServiceID) and their ServiceIDs should match.
10689 // unscoped question should not match scoped DNSServer (Refer to (1) above). The InterfaceID check
10693 // should match (Refer to (2) above).
10730 // the DNS servers whose scope match the interfaceID. Few seconds later, we also receive the updated DNS configuration.
10733 // match the scoped entries by mistake.
10749 // If we found a better match (bettermatch == 1) then clear all the bits
10751 // If we find an equal match, then include that DNSServer also by setting the corresponding
10832 // Actually we just need PenaltyTime match, but for the sake of readability we just skip the expensive
10833 // part and still do some redundant steps e.g., InterfaceID match
10840 // If we found a better match (bettermatch == 1) then we don't need to
10841 // compare penalty times. But if we found an equal match, then we compare
10842 // the penalty times to pick a better match
14700 // is a better match, we pick the new DNSServer for the question and activate the unicast query. We may or may not
14705 // we don't update the cache record's DNSServer pointer to match the question's DNSSever, as they both point to
14861 // We reconfirm any records that match, because in this world of split DNS, firewalls, etc.