Home
last modified time | relevance | path

Searched refs:tlvType (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/tests/unit/
Dtest_dataset.cpp78 for (Tlv::Type tlvType : kDatasetTlvTypes) in TestDataset() local
80 VerifyOrQuit(dataset.ContainsTlv(tlvType)); in TestDataset()
132 for (Tlv::Type tlvType : kDatasetTlvTypes) in TestDataset() local
134 VerifyOrQuit(dataset.ContainsTlv(tlvType)); in TestDataset()
145 for (Tlv::Type tlvType : kDatasetTlvTypes) in TestDataset() local
147 VerifyOrQuit(dataset.ContainsTlv(tlvType)); in TestDataset()
/openthread-latest/src/core/thread/
Dnetwork_diagnostic.cpp232 uint8_t tlvType; in AppendRequestedTlvs() local
234 SuccessOrExit(error = aRequest.Read(offsetRange, tlvType)); in AppendRequestedTlvs()
235 offsetRange.AdvanceOffset(sizeof(tlvType)); in AppendRequestedTlvs()
236 SuccessOrExit(error = AppendDiagTlv(tlvType, aResponse)); in AppendRequestedTlvs()
538 uint8_t tlvType; in PrepareAndSendAnswers() local
540 SuccessOrExit(error = aRequest.Read(offsetRange, tlvType)); in PrepareAndSendAnswers()
541 offsetRange.AdvanceOffset(sizeof(tlvType)); in PrepareAndSendAnswers()
543 switch (tlvType) in PrepareAndSendAnswers()
555 SuccessOrExit(error = AppendDiagTlv(tlvType, *answer)); in PrepareAndSendAnswers()
Dmle.cpp2072 for (uint8_t tlvType : aTlvList) in SendChildUpdateResponse() local
2074 switch (tlvType) in SendChildUpdateResponse()
4515 for (uint8_t tlvType : aTlvList) in AddElementsFrom() local
4517 Add(tlvType); in AddElementsFrom()
5296 Tlv::Type tlvType; in AppendDatasetTlv() local
5303 tlvType = Tlv::kActiveDataset; in AppendDatasetTlv()
5308 tlvType = Tlv::kPendingDataset; in AppendDatasetTlv()
5328 error = Tlv::AppendTlv(*this, tlvType, dataset.GetBytes(), dataset.GetLength()); in AppendDatasetTlv()
5488 …Tlv::Type tlvType = (aDatasetType == MeshCoP::Dataset::kActive) ? Tlv::kActiveDataset : Tlv… in ReadAndSaveDataset() local
5492 SuccessOrExit(error = Tlv::FindTlvValueOffsetRange(*this, tlvType, offsetRange)); in ReadAndSaveDataset()
Dmle_router.cpp831 for (uint8_t tlvType : aInfo.mRequestedTlvList) in SendLinkAccept() local
833 switch (tlvType) in SendLinkAccept()
3059 for (uint8_t tlvType : aTlvList) in SendChildUpdateResponseToChild() local
3063 switch (tlvType) in SendChildUpdateResponseToChild()
3098 switch (tlvType) in SendChildUpdateResponseToChild()
3184 for (uint8_t tlvType : aTlvList) in SendDataResponse() local
3186 switch (tlvType) in SendDataResponse()
/openthread-latest/src/core/meshcop/
Djoiner_router.cpp294 for (Tlv::Type tlvType : kTlvTypes) in PrepareJoinerEntrustMessage() local
296 const Tlv *tlv = dataset.FindTlv(tlvType); in PrepareJoinerEntrustMessage()
Ddataset_manager.cpp564 uint8_t tlvType; in ProcessGetRequest() local
566 IgnoreError(aRequest.Read(offsetRange, tlvType)); in ProcessGetRequest()
567 tlvList.Add(tlvType); in ProcessGetRequest()