Searched refs:GetTlv (Results 1 – 9 of 9) sorted by relevance
309 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()
633 Tlv *GetTlv(Tlv::Type aType) { return AsNonConst(AsConst(this)->GetTlv(aType)); } in GetTlv() function in ot::MeshCoP::Dataset643 const Tlv *GetTlv(Tlv::Type aType) const;651 template <typename TlvType> TlvType *GetTlv(void) in GetTlv() function in ot::MeshCoP::Dataset653 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::Dataset664 return As<TlvType>(GetTlv(static_cast<Tlv::Type>(TlvType::kType))); in GetTlv()
111 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()
312 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()
182 const Tlv *Dataset::GetTlv(Tlv::Type aType) const { return Tlv::FindTlv(mTlvs, mLength, aType); } in GetTlv() function in ot::MeshCoP::Dataset373 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()
229 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()
142 ActiveTimestampTlv *tlv = dataset.GetTlv<ActiveTimestampTlv>(); in PreparePendingDataset()
512 const NetworkDataTlv *GetTlv(const uint8_t *aTlvs) const in GetTlv() function in ot::NetworkData::NetworkData::NetworkDataIterator519 SaveTlvOffset(GetTlv(aTlvs)->GetNext(), aTlvs); in AdvanceTlv()
162 … cur = iterator.GetTlv(mTlvs), (cur + 1 <= GetTlvsEnd()) && (cur->GetNext() <= GetTlvsEnd()); in Iterate()