Home
last modified time | relevance | path

Searched refs:mPanId (Results 1 – 25 of 26) sorted by relevance

12

/openthread-2.7.6/src/core/thread/
Dpanid_query_server.cpp52 , mPanId(Mac::kPanIdBroadcast) in PanIdQueryServer()
78 mPanId = panId; in HandleQuery()
100 if (aScanResult->mPanId == mPanId) in HandleScanResult()
127 SuccessOrExit(error = Tlv::Append<MeshCoP::PanIdTlv>(*message, mPanId)); in SendConflict()
Dpanid_query_server.hpp80 uint16_t mPanId; member in ot::PanIdQueryServer
Ddiscover_scanner.cpp313 result.mPanId = linkInfo->mPanId; in HandleDiscoveryResponse()
Dmesh_forwarder.hpp87 Mac::PanId GetPanId(void) const { return mPanId; } in GetPanId()
Dmesh_forwarder.cpp61 if (kErrorNone != aFrame.GetSrcPanId(mPanId)) in SetFrom()
63 IgnoreError(aFrame.GetDstPanId(mPanId)); in SetFrom()
/openthread-2.7.6/src/core/radio/
Dtrel_packet.hpp156 Mac::PanId GetPanId(void) const { return Encoding::BigEndian::HostSwap16(mPanId); } in GetPanId()
164 void SetPanId(Mac::PanId aPanId) { mPanId = Encoding::BigEndian::HostSwap16(aPanId); } in SetPanId()
246 uint16_t mPanId; member in ot::Trel::Header
Dtrel_link.hpp93 void SetPanId(Mac::PanId aPanId) { mPanId = aPanId; } in SetPanId()
184 Mac::PanId mPanId; member in ot::Trel::Link
Dtrel_link.cpp50 , mPanId(Mac::kPanIdBroadcast) in Link()
327 if (mPanId != Mac::kPanIdBroadcast) in ProcessReceivedPacket()
331 VerifyOrExit((rxPanId == mPanId) || (rxPanId == Mac::kPanIdBroadcast)); in ProcessReceivedPacket()
/openthread-2.7.6/src/core/mac/
Dlink_raw.hpp199 PanId GetPanId(void) const { return mPanId; } in GetPanId()
302 PanId mPanId; member in ot::Mac::LinkRaw
Dlink_raw.cpp55 , mPanId(kPanIdBroadcast) in LinkRaw()
114 mPanId = aPanId; in SetPanId()
Dmac.cpp104 , mPanId(kPanIdBroadcast) in Mac()
145 SetPanId(mPanId); in Mac()
248 if (kErrorNone != aBeaconFrame->GetSrcPanId(aResult.mPanId)) in ConvertBeaconToActiveScanResult()
250 IgnoreError(aBeaconFrame->GetDstPanId(aResult.mPanId)); in ConvertBeaconToActiveScanResult()
299 mLinks.SetPanId(mPanId); in PerformActiveScan()
521 SuccessOrExit(Get<Notifier>().Update(mPanId, aPanId, kEventThreadPanIdChanged)); in SetPanId()
522 mLinks.SetPanId(mPanId); in SetPanId()
875 IgnoreError(frame->SetSrcPanId(mPanId)); in PrepareBeacon()
1897 …VerifyOrExit(panid == kShortAddrBroadcast || panid == mPanId, error = kErrorDestinationAddressFilt… in HandleReceivedFrame()
Dmac.hpp393 PanId GetPanId(void) const { return mPanId; } in GetPanId()
878 PanId mPanId; member in ot::Mac::Mac
/openthread-2.7.6/src/core/meshcop/
Djoiner.cpp310 … static_cast<const Mac::ExtAddress &>(aResult.mExtAddress).ToString().AsCString(), aResult.mPanId, in SaveDiscoveredJoinerRouter()
333 entry->mPanId = aResult.mPanId; in SaveDiscoveredJoinerRouter()
387 aRouter.mPanId, aRouter.mChannel); in Connect()
389 Get<Mac::Mac>().SetPanId(aRouter.mPanId); in Connect()
Ddataset.hpp442 Mac::PanId GetPanId(void) const { return mPanId; } in GetPanId()
452 mPanId = aPanId; in SetPanId()
Djoiner.hpp179 Mac::PanId mPanId; member
Ddataset.cpp73 mPanId = Mac::GenerateRandomPanId(); in GenerateRandom()
81 snprintf(mNetworkName.m8, sizeof(mNetworkName), "OpenThread-%04x", mPanId); in GenerateRandom()
Dmeshcop_tlvs.hpp428 uint16_t GetPanId(void) const { return HostSwap16(mPanId); } in GetPanId()
436 void SetPanId(uint16_t aPanId) { mPanId = HostSwap16(aPanId); } in SetPanId()
439 uint16_t mPanId; member in ot::MeshCoP::PanIdTlv
/openthread-2.7.6/include/openthread/
Dlink.h63 uint16_t mPanId; ///< Source PAN ID member
385 uint16_t mPanId; ///< IEEE 802.15.4 PAN ID member
Ddataset.h219 otPanId mPanId; ///< PAN ID member
/openthread-2.7.6/src/cli/
Dcli_dataset.cpp107 mInterpreter.OutputLine("PAN ID: 0x%04x", aDataset.mPanId); in Print()
447 mInterpreter.OutputLine("0x%04x", sDataset.mPanId); in ProcessPanId()
452 SuccessOrExit(error = aArgs[0].ParseAsUint16(sDataset.mPanId)); in ProcessPanId()
542 SuccessOrExit(error = arg->ParseAsUint16(dataset.mPanId)); in ProcessMgmtSetCommand()
/openthread-2.7.6/src/core/common/
Dmessage.hpp176 uint16_t mPanId; ///< Used for MLE Discover Request and Response messages. member
949 uint16_t GetPanId(void) const { return GetMetadata().mPanIdChannel.mPanId; } in GetPanId()
959 void SetPanId(uint16_t aPanId) { GetMetadata().mPanIdChannel.mPanId = aPanId; } in SetPanId()
Dmessage.cpp704 SetPanId(aLinkInfo.mPanId); in SetLinkInfo()
/openthread-2.7.6/src/lib/spinel/
Dradio_spinel_impl.hpp189 , mPanId(0xffff) in RadioSpinel()
677 SuccessOrExit(error = decoder.ReadUint16(opDataset.mPanId)); in ThreadDatasetHandler()
1202 VerifyOrExit(mPanId != aPanId); in SetPanId()
1204 mPanId = aPanId; in SetPanId()
2014 SuccessOrExit(error = Set(SPINEL_PROP_MAC_15_4_PANID, SPINEL_DATATYPE_UINT16_S, mPanId)); in Enable()
2294 SuccessOrDie(Set(SPINEL_PROP_MAC_15_4_PANID, SPINEL_DATATYPE_UINT16_S, mPanId)); in RestoreProperties()
Dradio_spinel.hpp953 uint16_t mPanId; member in ot::Spinel::RadioSpinel
/openthread-2.7.6/src/ncp/
Dncp_base_mtd.cpp1320 SuccessOrExit(error = mEncoder.WriteUint16(aDataset.mPanId)); in EncodeOperationalDataset()
1520 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mPanId)); in DecodeOperationalDataset()
4245 SuccessOrExit(error = mEncoder.WriteUint16(aResult->mPanId)); in HandleActiveScanResult()

12