Home | History | Annotate | Download | only in mDNSCore

Lines Matching refs:RData

128 // the same name, type, class, and identical rdata (InterfaceID and TTL may differ)
134 // it's common to have a whole bunch or records with exactly the same name (e.g. "_http._tcp.local") but different RDATA.
136 // used to waste a lot of CPU time verifying that the names match, only then to find that the RDATA is different.
138 // By swapping the checks so that we check the RDATA first, we can quickly detect when it's different
147 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName) && \
155 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName))
160 #define RRAssertsNonexistence(R,T) ((R)->rrtype == kDNSType_NSEC && (T) < kDNSQType_ANY && !((R)->rdata->u.nsec.bitmap[(T)>>3] & (128 >> ((T)&7))))
170 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd);
173 ((RR)->rrtype == kDNSType_NS || (RR)->rrtype == kDNSType_CNAME || (RR)->rrtype == kDNSType_PTR || (RR)->rrtype == kDNSType_DNAME) ? &(RR)->rdata->u.name : \
174 ((RR)->rrtype == kDNSType_MX || (RR)->rrtype == kDNSType_AFSDB || (RR)->rrtype == kDNSType_RT || (RR)->rrtype == kDNSType_KX ) ? &(RR)->rdata->u.mx.exchange : \
175 ((RR)->rrtype == kDNSType_SRV ) ? &(RR)->rdata->u.srv.target : mDNSNULL )
233 extern void SetNewRData(ResourceRecord *const rr, RData *NewRData, mDNSu16 rdlength);