Home
last modified time | relevance | path

Searched refs:aNetworkData (Results 1 – 8 of 8) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dnetwork_data_notifier.cpp187 Error Notifier::SendServerDataNotification(uint16_t aOldRloc16, const NetworkData *aNetworkData) in SendServerDataNotification() argument
196 if (aNetworkData != nullptr) in SendServerDataNotification()
201 tlv.SetLength(aNetworkData->GetLength()); in SendServerDataNotification()
203 … SuccessOrExit(error = message->AppendBytes(aNetworkData->GetBytes(), aNetworkData->GetLength())); in SendServerDataNotification()
Dnetwork_data_leader_ftd.cpp379 Error Leader::Validate(const NetworkData &aNetworkData, uint16_t aRloc16) in Validate() argument
386 const NetworkDataTlv *end = aNetworkData.GetTlvsEnd(); in Validate()
388 for (const NetworkDataTlv *cur = aNetworkData.GetTlvsStart(); cur < end; cur = cur->GetNext()) in Validate()
390 NetworkData validatedSegment(aNetworkData.GetInstance(), aNetworkData.GetTlvsStart(), cur); in Validate()
675 void Leader::RegisterNetworkData(uint16_t aRloc16, const NetworkData &aNetworkData) in RegisterNetworkData() argument
684 SuccessOrExit(error = Validate(aNetworkData, aRloc16)); in RegisterNetworkData()
688 RemoveRloc(aRloc16, kMatchModeRloc16, aNetworkData, flags); in RegisterNetworkData()
691 …for (const NetworkDataTlv *cur = aNetworkData.GetTlvsStart(); cur < aNetworkData.GetTlvsEnd(); cur… in RegisterNetworkData()
Dnetwork_data_notifier.hpp110 … Error SendServerDataNotification(uint16_t aOldRloc16, const NetworkData *aNetworkData = nullptr);
Dnetwork_data.cpp65 Error NetworkData::CopyNetworkData(Type aType, MutableNetworkData &aNetworkData) const in CopyNetworkData()
69 VerifyOrExit(aNetworkData.GetSize() >= mLength, error = kErrorNoBufs); in CopyNetworkData()
71 memcpy(aNetworkData.GetBytes(), mTlvs, mLength); in CopyNetworkData()
72 aNetworkData.SetLength(mLength); in CopyNetworkData()
76 aNetworkData.RemoveTemporaryData(); in CopyNetworkData()
Dnetwork_data_leader_ftd.hpp265 void RegisterNetworkData(uint16_t aRloc16, const NetworkData &aNetworkData);
310 static Error Validate(const NetworkData &aNetworkData, uint16_t aRloc16);
Dnetwork_data.hpp192 Error CopyNetworkData(Type aType, MutableNetworkData &aNetworkData) const;
/openthread-3.4.0/src/ncp/
Dncp_base.hpp532 …tatic uint8_t LinkFlagsToFlagByte(bool aRxOnWhenIdle, bool aDeviceType, bool aNetworkData);
Dncp_base_mtd.cpp166 uint8_t NcpBase::LinkFlagsToFlagByte(bool aRxOnWhenIdle, bool aDeviceType, bool aNetworkData) in LinkFlagsToFlagByte() argument
180 if (aNetworkData) in LinkFlagsToFlagByte()