Lines Matching refs:rdlength
1196 …if (rr->resrec.rrtype == kDNSType_TXT && rr->resrec.rdlength == 0) { rr->resrec.rdlength = 1; rr->… in mDNS_Register_internal()
1215 rr->resrec.rdlength = GetRDLength(&rr->resrec, mDNSfalse); in mDNS_Register_internal()
1223 if (!ValidateRData(rr->resrec.rrtype, rr->resrec.rdlength, rr->resrec.rdata)) in mDNS_Register_internal()
1350 mDNSu16 OldRDLen = rr->resrec.rdlength; in CompleteRDataUpdate()
2260 mDNSu16 oldrdlength = rr->resrec.rdlength; in SendResponses()
2403 opt.resrec.rdlength = sizeof(rdataOPT); // One option in this OPT record in SendResponses()
2588 …rr->resrec.rdlength <= SmallRecordLimit && // which is small enough to sensibly fit in the pac… in BuildQuestion()
2684 …if (cr->resrec.rrtype == kDNSType_PTR && cr->resrec.rdlength >= 6) // If record is PTR type, … in FindSPSInCache1()
2822 …if (rr->resrec.rdlength <= SmallRecordLimit && // which is small enough to sensibly fit in the… in AccelerateThisQuery()
3177 opt.resrec.rdlength = sizeof(rdataOPT); // One option in this OPT record in SendQueries()
3458 if (rr->resrec.rdlength > SmallRecordLimit) q->LargeAnswers++; in AnswerQuestionsForDNSServerChanges()
3544 if (rr->resrec.rdlength > SmallRecordLimit) q->LargeAnswers++; in CacheRecordAdd()
3655 if (rr->resrec.rdlength > SmallRecordLimit) q->LargeAnswers--; in CacheRecordRmv()
3921 if (rr->resrec.rdlength > SmallRecordLimit) q->LargeAnswers++; in AnswerNewQuestion()
4127 if (r->resrec.rdata) r->resrec.rdata->MaxRDLength = r->resrec.rdlength = RDLength; in GetCacheRecord()
4889 opt.resrec.rdlength = sizeof(rdataOPT) * 2; // Two options in this OPT record in SendSPSRegistrationForOwner()
5005 …else if (answer->rrtype == kDNSType_AAAA && answer->rdlength == sizeof(mDNSv6Addr) && mDNSv6Addres… in NetWakeResolve()
5016 else if (answer->rrtype == kDNSType_AAAA && answer->rdlength == 0) in NetWakeResolve()
5024 else if (answer->rrtype == kDNSType_A && answer->rdlength == sizeof(mDNSv4Addr)) in NetWakeResolve()
5758 …nst rdataOPT *const e = (const rdataOPT *)&m->rec.r.resrec.rdata->u.data[m->rec.r.resrec.rdlength]; in ProcessQuery()
5881 … if (SameNameRecordAnswersQuestion(&cr->resrec, &pktq) && cr->resrec.rdlength <= SmallRecordLimit) in ProcessQuery()
6352 default: return rr->rdlength; in GetRDLengthMem()
6605 …nst rdataOPT *const e = (const rdataOPT *)&m->rec.r.resrec.rdata->u.data[m->rec.r.resrec.rdlength]; in mDNSCoreReceiveResponse()
6824 if (m->rec.r.resrec.rdlength > InlineCacheRDSize) in mDNSCoreReceiveResponse()
6826 m->rec.r.resrec.rdlength, InterfaceID, CRDisplayString(m, &m->rec.r)); in mDNSCoreReceiveResponse()
7265 …nst rdataOPT *const e = (const rdataOPT *)&m->rec.r.resrec.rdata->u.data[m->rec.r.resrec.rdlength]; in mDNSCoreReceiveUpdate()
7326 ar->resrec.rdlength = GetRDLength(&m->rec.r.resrec, mDNSfalse); in mDNSCoreReceiveUpdate()
7369 opt.resrec.rdlength = sizeof(rdataOPT); // One option in this OPT record in mDNSCoreReceiveUpdate()
7392 …nst rdataOPT *const e = (const rdataOPT *)&m->rec.r.resrec.rdata->u.data[m->rec.r.resrec.rdlength]; in mDNSCoreReceiveUpdateR()
7452 cr->resrec.rdlength = 0; in MakeNegativeCacheRecord()
8119 if (rr->resrec.rdlength > SmallRecordLimit) q->LargeAnswers--; in CacheRecordRmvEventsForCurrentQuestion()
8853 if (answer->rdlength > sizeof(query->info->TXTinfo)) return; in FoundServiceInfoTXT()
8856 query->info->TXTlen = answer->rdlength; in FoundServiceInfoTXT()
8858 mDNSPlatformMemCopy(query->info->TXTinfo, answer->rdata->u.txt.c, answer->rdlength); in FoundServiceInfoTXT()
9119 …rr->resrec.rdlength == newrdlength && mDNSPlatformMemSame(rr->resrec.rdata->u.data, newrdata->u.da… in mDNS_Update()
9866 if (txtinfo == mDNSNULL) sr->RR_TXT.resrec.rdlength = 0; in mDNS_RegisterService()
9869 sr->RR_TXT.resrec.rdlength = txtlen; in mDNS_RegisterService()
9870 …if (sr->RR_TXT.resrec.rdlength > sr->RR_TXT.resrec.rdata->MaxRDLength) return(mStatus_BadParamErr); in mDNS_RegisterService()
9935 extra->r.resrec.name->c, DNSTypeName(extra->r.resrec.rrtype), extra->r.resrec.rdlength); in mDNS_AddRecordToService()
9993 … sr->RR_SRV.resrec.rdata->u.srv.port, sr->RR_TXT.resrec.rdata->u.txt.c, sr->RR_TXT.resrec.rdlength, in mDNS_RenameAndReregisterService()