Home
last modified time | relevance | path

Searched refs:aTlvs (Results 1 – 16 of 16) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dnetwork_data.hpp129 explicit NetworkData(Instance &aInstance, const uint8_t *aTlvs = nullptr, uint8_t aLength = 0) in NetworkData() argument
131 , mTlvs(aTlvs) in NetworkData()
512 const NetworkDataTlv *GetTlv(const uint8_t *aTlvs) const in GetTlv()
514 return reinterpret_cast<const NetworkDataTlv *>(aTlvs + GetTlvOffset()); in GetTlv()
517 void AdvanceTlv(const uint8_t *aTlvs) in AdvanceTlv() argument
519 SaveTlvOffset(GetTlv(aTlvs)->GetNext(), aTlvs); in AdvanceTlv()
553 void SaveTlvOffset(const NetworkDataTlv *aTlv, const uint8_t *aTlvs) in SaveTlvOffset() argument
555 SetTlvOffset(static_cast<uint8_t>(reinterpret_cast<const uint8_t *>(aTlv) - aTlvs)); in SaveTlvOffset()
606 MutableNetworkData(Instance &aInstance, uint8_t *aTlvs, uint8_t aLength, uint8_t aSize) in MutableNetworkData() argument
607 : NetworkData(aInstance, aTlvs, aLength) in MutableNetworkData()
Dmle.hpp1015 Error AppendTlvRequestTlv(const uint8_t *aTlvs, uint8_t aTlvsLength);
1330 const uint8_t *aTlvs,
1335 …Error SendDataRequest(const Ip6::Address &aDestination, const uint8_t *aTlvs, uint8_t aTlvsLength,…
Dmle.cpp1851 const uint8_t *aTlvs, in SendDataRequest() argument
1856 Error Mle::SendDataRequest(const Ip6::Address &aDestination, const uint8_t *aTlvs, uint8_t aTlvsLen… in SendDataRequest()
1865 SuccessOrExit(error = message->AppendTlvRequestTlv(aTlvs, aTlvsLength)); in SendDataRequest()
4609 Error Mle::TxMessage::AppendTlvRequestTlv(const uint8_t *aTlvs, uint8_t aTlvsLength) in AppendTlvRequestTlv() argument
4611 return Tlv::Append<TlvRequestTlv>(*this, aTlvs, aTlvsLength); in AppendTlvRequestTlv()
/openthread-3.6.0/src/core/api/
Dcommissioner_api.cpp161 otError otCommissionerSendMgmtGet(otInstance *aInstance, const uint8_t *aTlvs, uint8_t aLength) in otCommissionerSendMgmtGet() argument
163 …return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().SendMgmtCommissionerGetRequest(aTlvs, aL… in otCommissionerSendMgmtGet()
168 const uint8_t *aTlvs, in otCommissionerSendMgmtSet() argument
172aTlvs, aLength); in otCommissionerSendMgmtSet()
Ddataset_api.cpp110 const uint8_t *aTlvs, in otDatasetSendMgmtActiveSet() argument
115 …oreType(aInstance).Get<MeshCoP::ActiveDatasetManager>().SendSetRequest(AsCoreType(aDataset), aTlvs, in otDatasetSendMgmtActiveSet()
131 const uint8_t *aTlvs, in otDatasetSendMgmtPendingSet() argument
136 …reType(aInstance).Get<MeshCoP::PendingDatasetManager>().SendSetRequest(AsCoreType(aDataset), aTlvs, in otDatasetSendMgmtPendingSet()
/openthread-3.6.0/include/openthread/
Dcommissioner.h449 otError otCommissionerSendMgmtGet(otInstance *aInstance, const uint8_t *aTlvs, uint8_t aLength);
466 const uint8_t *aTlvs,
Ddataset.h505 const uint8_t *aTlvs,
546 const uint8_t *aTlvs,
/openthread-3.6.0/src/core/meshcop/
Ddataset_manager.cpp388 uint8_t *aTlvs, in SendGetResponse() argument
416 …if (aTlvs[index] == Tlv::kNetworkKey && !Get<KeyManager>().GetSecurityPolicy().mObtainNetworkKeyEn… in SendGetResponse()
421 if ((tlv = dataset.FindTlv(static_cast<Tlv::Type>(aTlvs[index]))) != nullptr) in SendGetResponse()
450 const uint8_t *aTlvs, in SendSetRequest() argument
468 const Tlv *end = reinterpret_cast<const Tlv *>(aTlvs + aLength); in SendSetRequest()
471 for (const Tlv *cur = reinterpret_cast<const Tlv *>(aTlvs); cur < end; cur = cur->GetNext()) in SendSetRequest()
494 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendSetRequest()
Ddataset_manager.hpp150 const uint8_t *aTlvs,
356 uint8_t *aTlvs,
Dcommissioner.hpp321 Error SendMgmtCommissionerGetRequest(const uint8_t *aTlvs, uint8_t aLength);
335 …Error SendMgmtCommissionerSetRequest(const CommissioningDataset &aDataset, const uint8_t *aTlvs, u…
Dcommissioner.cpp623 Error Commissioner::SendMgmtCommissionerGetRequest(const uint8_t *aTlvs, uint8_t aLength) in SendMgmtCommissionerGetRequest() argument
638 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerGetRequest()
675 const uint8_t *aTlvs, in SendMgmtCommissionerSetRequest() argument
709 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerSetRequest()
/openthread-3.6.0/tests/unit/
Dtest_network_data.cpp612 void Populate(const uint8_t *aTlvs, uint8_t aTlvsLength) in TestNetworkDataDsnSrpServices() argument
614 memcpy(GetBytes(), aTlvs, aTlvsLength); in TestNetworkDataDsnSrpServices()
751 void Populate(const uint8_t *aTlvs, uint8_t aTlvsLength) in TestNetworkDataDsnSrpAnycastSeqNumSelection() argument
753 memcpy(GetBytes(), aTlvs, aTlvsLength); in TestNetworkDataDsnSrpAnycastSeqNumSelection()
/openthread-3.6.0/src/core/utils/
Dmesh_diag.hpp295 Error SendQuery(uint16_t aRloc16, const uint8_t *aTlvs, uint8_t aTlvsLength);
Dmesh_diag.cpp169 Error MeshDiag::SendQuery(uint16_t aRloc16, const uint8_t *aTlvs, uint8_t aTlvsLength) in SendQuery() argument
183 aTlvs, aTlvsLength)); in SendQuery()
/openthread-3.6.0/src/ncp/
Dncp_base.hpp438 const uint8_t **aTlvs = nullptr,
Dncp_base_mtd.cpp1374 const uint8_t **aTlvs, in DecodeOperationalDataset() argument
1383 if (aTlvs != nullptr) in DecodeOperationalDataset()
1385 *aTlvs = nullptr; in DecodeOperationalDataset()
1590 if (aTlvs != nullptr) in DecodeOperationalDataset()
1592 *aTlvs = tlvs; in DecodeOperationalDataset()