Home
last modified time | relevance | path

Searched refs:GetTlv (Results 1 – 9 of 9) sorted by relevance

/openthread-3.4.0/src/core/meshcop/
Ddataset_manager_ftd.cpp309 if (dataset.GetTlv<ActiveTimestampTlv>() == nullptr) in GenerateLocal()
317 if (dataset.GetTlv<ChannelTlv>() == nullptr) in GenerateLocal()
325 if (dataset.GetTlv<ChannelMaskTlv>() == nullptr) in GenerateLocal()
333 if (dataset.GetTlv<ExtendedPanIdTlv>() == nullptr) in GenerateLocal()
338 if (dataset.GetTlv<MeshLocalPrefixTlv>() == nullptr) in GenerateLocal()
343 if (dataset.GetTlv<NetworkKeyTlv>() == nullptr) in GenerateLocal()
351 if (dataset.GetTlv<NetworkNameTlv>() == nullptr) in GenerateLocal()
358 if (dataset.GetTlv<PanIdTlv>() == nullptr) in GenerateLocal()
363 if (dataset.GetTlv<PskcTlv>() == nullptr) in GenerateLocal()
379 if (dataset.GetTlv<SecurityPolicyTlv>() == nullptr) in GenerateLocal()
Ddataset.hpp633 Tlv *GetTlv(Tlv::Type aType) { return AsNonConst(AsConst(this)->GetTlv(aType)); } in GetTlv() function in ot::MeshCoP::Dataset
643 const Tlv *GetTlv(Tlv::Type aType) const;
651 template <typename TlvType> TlvType *GetTlv(void) in GetTlv() function in ot::MeshCoP::Dataset
653 return As<TlvType>(GetTlv(static_cast<Tlv::Type>(TlvType::kType))); in GetTlv()
662 template <typename TlvType> const TlvType *GetTlv(void) const in GetTlv() function in ot::MeshCoP::Dataset
664 return As<TlvType>(GetTlv(static_cast<Tlv::Type>(TlvType::kType))); in GetTlv()
Ddataset_local.cpp111 delayTimer = aDataset.GetTlv<DelayTimerTlv>(); in Read()
239 NetworkKeyTlv *networkKeyTlv = aDataset.GetTlv<NetworkKeyTlv>(); in MoveKeysToSecureStorage()
240 PskcTlv *pskcTlv = aDataset.GetTlv<PskcTlv>(); in MoveKeysToSecureStorage()
271 NetworkKeyTlv *networkKeyTlv = aDataset.GetTlv<NetworkKeyTlv>(); in EmplaceSecurelyStoredKeys()
272 PskcTlv *pskcTlv = aDataset.GetTlv<PskcTlv>(); in EmplaceSecurelyStoredKeys()
Djoiner_router.cpp312 if ((tlv = dataset.GetTlv<ActiveTimestampTlv>()) != nullptr) in PrepareJoinerEntrustMessage()
323 if ((tlv = dataset.GetTlv<ChannelMaskTlv>()) != nullptr) in PrepareJoinerEntrustMessage()
334 if ((tlv = dataset.GetTlv<PskcTlv>()) != nullptr) in PrepareJoinerEntrustMessage()
345 if ((tlv = dataset.GetTlv<SecurityPolicyTlv>()) != nullptr) in PrepareJoinerEntrustMessage()
Ddataset.cpp182 const Tlv *Dataset::GetTlv(Tlv::Type aType) const { return Tlv::FindTlv(mTlvs, mLength, aType); } in GetTlv() function in ot::MeshCoP::Dataset
373 const ActiveTimestampTlv *tlv = GetTlv<ActiveTimestampTlv>(); in GetTimestamp()
380 const PendingTimestampTlv *tlv = GetTlv<PendingTimestampTlv>(); in GetTimestamp()
399 Tlv *old = GetTlv(aType); in SetTlv()
452 VerifyOrExit((tlv = GetTlv(aType)) != nullptr); in RemoveTlv()
Ddataset_manager.cpp229 channelMaskTlv = dataset.GetTlv<ChannelMaskTlv>(); in GetChannelMask()
429 if ((tlv = dataset.GetTlv(static_cast<Tlv::Type>(aTlvs[index]))) != nullptr) in SendGetResponse()
754 if ((delayTimer = dataset.GetTlv<DelayTimerTlv>()) != nullptr) in StartDelayTimer()
778 if ((delayTimer = dataset.GetTlv<DelayTimerTlv>()) != nullptr) in HandleDelayTimer()
Ddataset_updater.cpp142 ActiveTimestampTlv *tlv = dataset.GetTlv<ActiveTimestampTlv>(); in PreparePendingDataset()
/openthread-3.4.0/src/core/thread/
Dnetwork_data.hpp512 const NetworkDataTlv *GetTlv(const uint8_t *aTlvs) const in GetTlv() function in ot::NetworkData::NetworkData::NetworkDataIterator
519 SaveTlvOffset(GetTlv(aTlvs)->GetNext(), aTlvs); in AdvanceTlv()
Dnetwork_data.cpp162 … cur = iterator.GetTlv(mTlvs), (cur + 1 <= GetTlvsEnd()) && (cur->GetNext() <= GetTlvsEnd()); in Iterate()