Lines Matching refs:mDNSfalse
279 static mDNSBool seeded = mDNSfalse; in mDNSRandomNumber()
314 return(mDNSfalse); in mDNSSameAddress()
323 default: return(mDNSfalse); in mDNSAddrIsDNSMulticast()
339 { debugf("Malformed label (too long)"); return(mDNSfalse); } in SameDomainLabel()
341 if (len != *b++) return(mDNSfalse); in SameDomainLabel()
348 if (ac != bc) return(mDNSfalse); in SameDomainLabel()
362 { debugf("Malformed domain name (more than 256 characters)"); return(mDNSfalse); } in SameDomainName()
363 if (!SameDomainLabel(a, b)) return(mDNSfalse); in SameDomainName()
403 return(mDNSfalse); in IsLocalDomain()
693 mDNSBool loggedUnderscore = mDNSfalse; in ConstructServiceName()
760 if (src[i] == '_' && loggedUnderscore == mDNSfalse) in ConstructServiceName()
814 … { debugf("DeconstructServiceName: FQDN empty!"); return(mDNSfalse); } in DeconstructServiceName()
815 … { debugf("DeconstructServiceName: Instance name too long"); return(mDNSfalse); } in DeconstructServiceName()
820 … { debugf("DeconstructServiceName: FQDN contains only one label!"); return(mDNSfalse); } in DeconstructServiceName()
821 … { debugf("DeconstructServiceName: Application protocol name too long"); return(mDNSfalse); } in DeconstructServiceName()
822 …'){ debugf("DeconstructServiceName: No _ at start of application protocol"); return(mDNSfalse); } in DeconstructServiceName()
826 … { debugf("DeconstructServiceName: FQDN contains only two labels!"); return(mDNSfalse); } in DeconstructServiceName()
828 … { debugf("DeconstructServiceName: Transport protocol must be _udp or _tcp"); return(mDNSfalse); } in DeconstructServiceName()
837 { debugf("DeconstructServiceName: Label in service domain too long"); return(mDNSfalse); } in DeconstructServiceName()
839 { debugf("DeconstructServiceName: Total service domain too long"); return(mDNSfalse); } in DeconstructServiceName()
894 if (l < 4) return mDNSfalse; // Need at least " (2)" in LabelContainsSuffix()
895 if (name->c[l--] != ')') return mDNSfalse; // Last char must be ')' in LabelContainsSuffix()
896 if (!mDNSIsDigit(name->c[l])) return mDNSfalse; // Preceeded by a digit in LabelContainsSuffix()
903 if (l < 2) return mDNSfalse; // Need at least "-2" in LabelContainsSuffix()
904 if (!mDNSIsDigit(name->c[l])) return mDNSfalse; // Last char must be a digit in LabelContainsSuffix()
1052 rr->AllowRemoteQuery = mDNSfalse; in mDNS_SetupResourceRecord()
1053 rr->ForceMCast = mDNSfalse; in mDNS_SetupResourceRecord()
1082 rr->SRVChanged = mDNSfalse; in mDNS_SetupResourceRecord()
1098 q->ForceMCast = mDNSfalse; in mDNS_SetupQuestion()
1099 q->ReturnIntermed = mDNSfalse; in mDNS_SetupQuestion()
1100 q->SuppressUnusable = mDNSfalse; in mDNS_SetupQuestion()
1103 q->RetryWithSearchDomains = mDNSfalse; in mDNS_SetupQuestion()
1202 …case kDNSType_OPT: return mDNSfalse; // OPT is a pseudo-RR container structure; makes no sense to … in SameRDataBody()
1224 return mDNSfalse; in SameNameRecordAnswersQuestion()
1228 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1231 if (!rr->InterfaceID && rr->rDNSServer != q->qDNSServer) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1234 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1237 if (!RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1238 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1250 return mDNSfalse; in ResourceRecordAnswersQuestion()
1255 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1258 if (!rr->InterfaceID && rr->rDNSServer != q->qDNSServer) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1261 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1264 if (!RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1265 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1288 return mDNSfalse; in LocalOnlyRecordAnswersQuestion()
1300 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1337 … != AuthRecordLocalOnly && rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1340 if (!RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1341 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1353 return mDNSfalse; in AnyTypeRecordAnswersQuestion()
1357 rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1362 if (!rr->InterfaceID && rr->rDNSServer != q->qDNSServer) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1365 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1367 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1381 q->InterfaceID && rr->InterfaceID != q->InterfaceID) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1384 if (rr->InterfaceID && !mDNSOpaque16IsZero(q->TargetQID)) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1387 if (!RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1389 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1481 …case kDNSType_TXT: if (!rdlength) return(mDNSfalse); // TXT record has to be at least one byte (R… in ValidateRData()
2032 rr->rdlength = GetRDLength(rr, mDNSfalse); in SetNewRData()
2161 rr->MPExpectingKA = mDNSfalse; in GetLargeResourceRecord()