Lines Matching refs:GetTtl
603 uint32_t Core::RecordInfo::GetTtl(bool aIsLegacyUnicast) const in GetTtl() function in ot::Dns::Multicast::Core::RecordInfo
1398 record.SetTtl(mKeyRecord.GetTtl(isLegacyUnicast)); in AppendKeyRecordTo()
1457 aKey.mTtl = mKeyRecord.GetTtl(); in CopyKeyInfoTo()
1760 aaaaRecord.SetTtl(mAddrRecord.GetTtl(isLegacyUnicast)); in AppendAddressRecordsTo()
1782 if (mAddrRecord.IsPresent() && (mAddrRecord.GetTtl() > 0)) in AppendNsecRecordTo()
1787 if (mKeyRecord.IsPresent() && (mKeyRecord.GetTtl() > 0)) in AppendNsecRecordTo()
1827 aHost.mTtl = mAddrRecord.GetTtl(); in CopyInfoTo()
2157 ttl = mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer()
2164 ttl = subType->mPtrRecord.GetTtl(); in ShouldSuppressKnownAnswer()
2283 if (mPtrRecord.GetTtl() > 0) in PrepareResponseRecords()
2295 if (subType.mPtrRecord.GetTtl() > 0) in PrepareResponseRecords()
2318 if ((mSrvRecord.GetTtl() > 0) && (hostEntry != nullptr)) in PrepareResponseRecords()
2557 srv.SetTtl(mSrvRecord.GetTtl(isLegacyUnicast)); in AppendSrvRecordTo()
2589 txt.SetTtl(mTxtRecord.GetTtl(isLegacyUnicast)); in AppendTxtRecordTo()
2619 ptr.SetTtl(ptrRecord.GetTtl(isLegacyUnicast)); in AppendPtrRecordTo()
2650 if (mSrvRecord.IsPresent() && (mSrvRecord.GetTtl() > 0)) in AppendNsecRecordTo()
2655 if (mTxtRecord.IsPresent() && (mTxtRecord.GetTtl() > 0)) in AppendNsecRecordTo()
2660 if (mKeyRecord.IsPresent() && (mKeyRecord.GetTtl() > 0)) in AppendNsecRecordTo()
2768 aService.mTtl = mPtrRecord.GetTtl(); in CopyInfoTo()
2876 return (aTtl > mServicesPtr.GetTtl() / 2); in ShouldSuppressKnownAnswer()
2958 ptr.SetTtl(Min(Core::RecordInfo::kMaxLegacyUnicastTtl, mServicesPtr.GetTtl())); in AppendPtrRecordTo()
2962 ptr.SetTtl(mServicesPtr.GetTtl()); in AppendPtrRecordTo()
3912 shouldSuppress = aServiceEntry.ShouldSuppressKnownAnswer(ptr.GetTtl(), aSubLabel); in ShouldSuppressKnownAnswer()
3999 shouldSuppress = aServiceType.ShouldSuppressKnownAnswer(ptr.GetTtl()); in ShouldSuppressKnownAnswer()
4132 VerifyOrExit(aRecord.GetTtl() > 0); in ProcessRecordForConflict()
5284 if (ptr.GetTtl() == 0) in ProcessResponseRecord()
5300 if (ptrEntry->mRecord.RefreshTtl(ptr.GetTtl())) in ProcessResponseRecord()
5511 aResult.mTtl = mRecord.GetTtl(); in ConvertTo()
5651 if (srv.GetTtl() == 0) in ProcessResponseRecord()
5685 if (mRecord.RefreshTtl(srv.GetTtl())) in ProcessResponseRecord()
5773 aResult.mTtl = mRecord.GetTtl(); in ConvertTo()
5841 if (txt.GetTtl() == 0) in ProcessResponseRecord()
5861 if (mRecord.RefreshTtl(txt.GetTtl())) in ProcessResponseRecord()
5958 aResult.mTtl = mRecord.GetTtl(); in ConvertTo()
6128 addr->mTtl = entry.mRecord.GetTtl(); in ConstructResult()
6214 if (newEntry.GetTtl() == 0) in CommitNewResponseEntries()
6227 else if ((exitingEntry == nullptr) || (exitingEntry->GetTtl() != newEntry.GetTtl())) in CommitNewResponseEntries()
6237 if ((exitingEntry.GetTtl() > 0) && !mNewEntries.ContainsMatching(exitingEntry.mAddress)) in CommitNewResponseEntries()
6267 if (newEntry->GetTtl() == 0) in CommitNewResponseEntries()
6276 entry->mRecord.RefreshTtl(newEntry->GetTtl()); in CommitNewResponseEntries()
6358 …AddNewResponseAddress(aaaaRecord.GetAddress(), aaaaRecord.GetTtl(), aaaaRecord.GetClass() & kClass… in ProcessResponseRecord()
6394 AddNewResponseAddress(address, aRecord.GetTtl(), aRecord.GetClass() & kClassCacheFlushFlag); in ProcessResponseRecord()