Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/thread/
Dnetwork_data.hpp407 …static PrefixTlv *FindPrefix(const uint8_t *aPrefix, uint8_t aPrefixLength, uint8_t *aTlvs, uint8_… in FindPrefix() argument
410 FindPrefix(aPrefix, aPrefixLength, const_cast<const uint8_t *>(aTlvs), aTlvsLength)); in FindPrefix()
426 const uint8_t *aTlvs,
482 uint8_t * aTlvs, in FindService() argument
486 … aServiceMatchMode, const_cast<const uint8_t *>(aTlvs), in FindService()
507 const uint8_t * aTlvs,
619 const NetworkDataTlv *GetTlv(const uint8_t *aTlvs) const in GetTlv()
621 return reinterpret_cast<const NetworkDataTlv *>(aTlvs + GetTlvOffset()); in GetTlv()
624 void AdvanceTlv(const uint8_t *aTlvs) in AdvanceTlv() argument
626 SaveTlvOffset(GetTlv(aTlvs)->GetNext(), aTlvs); in AdvanceTlv()
[all …]
Dnetwork_data_leader_ftd.cpp394 Error Leader::Validate(const uint8_t *aTlvs, uint8_t aTlvsLength, uint16_t aRloc16) in Validate() argument
401 const NetworkDataTlv *end = reinterpret_cast<const NetworkDataTlv *>(aTlvs + aTlvsLength); in Validate()
403 …for (const NetworkDataTlv *cur = reinterpret_cast<const NetworkDataTlv *>(aTlvs); cur < end; cur =… in Validate()
409 offset = static_cast<uint8_t>(reinterpret_cast<const uint8_t *>(cur) - aTlvs); in Validate()
420 … VerifyOrExit(FindPrefix(prefix->GetPrefix(), prefix->GetPrefixLength(), aTlvs, offset) == nullptr, in Validate()
436 … service->GetServiceDataLength(), kServiceExactMatch, aTlvs, offset) == nullptr, in Validate()
695 void Leader::RegisterNetworkData(uint16_t aRloc16, const uint8_t *aTlvs, uint8_t aTlvsLength) in RegisterNetworkData() argument
698 const NetworkDataTlv *end = reinterpret_cast<const NetworkDataTlv *>(aTlvs + aTlvsLength); in RegisterNetworkData()
705 SuccessOrExit(error = Validate(aTlvs, aTlvsLength, aRloc16)); in RegisterNetworkData()
709 RemoveRloc(aRloc16, kMatchModeRloc16, aTlvs, aTlvsLength, flags); in RegisterNetworkData()
[all …]
Dnetwork_data_leader_ftd.hpp212 void RegisterNetworkData(uint16_t aRloc16, const uint8_t *aTlvs, uint8_t aTlvsLength);
263 static Error Validate(const uint8_t *aTlvs, uint8_t aTlvsLength, uint16_t aRloc16);
Dnetwork_data.cpp551 const uint8_t *aTlvs, in FindPrefix() argument
554 TlvIterator tlvIterator(aTlvs, aTlvsLength); in FindPrefix()
580 const uint8_t * aTlvs, in FindService() argument
583 TlvIterator tlvIterator(aTlvs, aTlvsLength); in FindService()
Dmle_router.hpp615 const uint8_t * aTlvs,
619 const uint8_t * aTlvs,
Dmle.hpp1150 Error AppendTlvRequest(Message &aMessage, const uint8_t *aTlvs, uint8_t aTlvsLength);
1378 const uint8_t * aTlvs,
1404 …Error SendChildUpdateResponse(const uint8_t *aTlvs, uint8_t aNumTlvs, const Challenge &aChallenge);
Dmle.cpp1210 Error Mle::AppendTlvRequest(Message &aMessage, const uint8_t *aTlvs, uint8_t aTlvsLength) in AppendTlvRequest() argument
1212 return Tlv::Append<TlvRequestTlv>(aMessage, aTlvs, aTlvsLength); in AppendTlvRequest()
2141 const uint8_t * aTlvs, in SendDataRequest() argument
2155 SuccessOrExit(error = AppendTlvRequest(*message, aTlvs, aTlvsLength)); in SendDataRequest()
2398 Error Mle::SendChildUpdateResponse(const uint8_t *aTlvs, uint8_t aNumTlvs, const Challenge &aChalle… in SendChildUpdateResponse() argument
2412 switch (aTlvs[i]) in SendChildUpdateResponse()
Dmle_router.cpp3170 const uint8_t * aTlvs, in SendChildUpdateResponse() argument
3182 switch (aTlvs[i]) in SendChildUpdateResponse()
3244 const uint8_t * aTlvs, in SendDataResponse() argument
3272 switch (aTlvs[i]) in SendDataResponse()
/openthread-2.7.6/src/core/api/
Dcommissioner_api.cpp177 otError otCommissionerSendMgmtGet(otInstance *aInstance, const uint8_t *aTlvs, uint8_t aLength) in otCommissionerSendMgmtGet() argument
181 return instance.Get<MeshCoP::Commissioner>().SendMgmtCommissionerGetRequest(aTlvs, aLength); in otCommissionerSendMgmtGet()
186 const uint8_t * aTlvs, in otCommissionerSendMgmtSet() argument
191 …return instance.Get<MeshCoP::Commissioner>().SendMgmtCommissionerSetRequest(*aDataset, aTlvs, aLen… in otCommissionerSendMgmtSet()
Ddataset_api.cpp138 const uint8_t * aTlvs, in otDatasetSendMgmtActiveSet() argument
146aTlvs, aLength, aCallback, aContext); in otDatasetSendMgmtActiveSet()
163 const uint8_t * aTlvs, in otDatasetSendMgmtPendingSet() argument
171 … *static_cast<const MeshCoP::Dataset::Info *>(aDataset), aTlvs, aLength, aCallback, aContext); in otDatasetSendMgmtPendingSet()
/openthread-2.7.6/tests/unit/
Dtest_network_data.cpp70 TestNetworkData(ot::Instance *aInstance, const uint8_t *aTlvs, uint8_t aTlvsLength) in TestNetworkDataIterator() argument
73 memcpy(mTlvs, aTlvs, aTlvsLength); in TestNetworkDataIterator()
330 void Populate(const uint8_t *aTlvs, uint8_t aTlvsLength) in TestNetworkDataDsnSrpServices() argument
332 memcpy(mTlvs, aTlvs, aTlvsLength); in TestNetworkDataDsnSrpServices()
/openthread-2.7.6/include/openthread/
Dcommissioner.h427 otError otCommissionerSendMgmtGet(otInstance *aInstance, const uint8_t *aTlvs, uint8_t aLength);
444 const uint8_t * aTlvs,
Ddataset.h480 const uint8_t * aTlvs,
521 const uint8_t * aTlvs,
/openthread-2.7.6/src/core/meshcop/
Ddataset_manager.cpp435 uint8_t * aTlvs, in SendGetResponse() argument
465 …if (aTlvs[index] == Tlv::kNetworkKey && !Get<KeyManager>().GetSecurityPolicy().mObtainNetworkKeyEn… in SendGetResponse()
470 if ((tlv = dataset.GetTlv(static_cast<Tlv::Type>(aTlvs[index]))) != nullptr) in SendGetResponse()
499 const uint8_t * aTlvs, in SendSetRequest() argument
520 const Tlv *end = reinterpret_cast<const Tlv *>(aTlvs + aLength); in SendSetRequest()
523 for (const Tlv *cur = reinterpret_cast<const Tlv *>(aTlvs); cur < end; cur = cur->GetNext()) in SendSetRequest()
546 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendSetRequest()
Ddataset_manager.hpp161 const uint8_t * aTlvs,
358 uint8_t * aTlvs,
Dcommissioner.hpp282 Error SendMgmtCommissionerGetRequest(const uint8_t *aTlvs, uint8_t aLength);
296 …missionerSetRequest(const otCommissioningDataset &aDataset, const uint8_t *aTlvs, uint8_t aLength);
Dcommissioner.cpp688 Error Commissioner::SendMgmtCommissionerGetRequest(const uint8_t *aTlvs, uint8_t aLength) in SendMgmtCommissionerGetRequest() argument
709 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerGetRequest()
748 const uint8_t * aTlvs, in SendMgmtCommissionerSetRequest() argument
783 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerSetRequest()
/openthread-2.7.6/src/ncp/
Dncp_base.hpp377 const uint8_t ** aTlvs = nullptr,
Dncp_base_mtd.cpp1391 const uint8_t ** aTlvs, in DecodeOperationalDataset() argument
1400 if (aTlvs != nullptr) in DecodeOperationalDataset()
1402 *aTlvs = nullptr; in DecodeOperationalDataset()
1603 if (aTlvs != nullptr) in DecodeOperationalDataset()
1605 *aTlvs = tlvs; in DecodeOperationalDataset()