Home
last modified time | relevance | path

Searched refs:ExtAddress (Results 1 – 25 of 58) sorted by relevance

123

/openthread-3.4.0/src/core/mac/
Dmac_filter.hpp126 Error AddAddress(const ExtAddress &aExtAddress);
136 void RemoveAddress(const ExtAddress &aExtAddress);
167 Error AddRssIn(const ExtAddress &aExtAddress, int8_t aRss);
177 void RemoveRssIn(const ExtAddress &aExtAddress);
227 Error Apply(const ExtAddress &aExtAddress, int8_t &aRss) const;
244 …Error ApplyToRxFrame(RxFrame &aRxFrame, const ExtAddress &aExtAddress, Neighbor *aNeighbor = nullp…
253 ExtAddress mExtAddress; // IEEE 802.15.4 Extended Address.
259 const FilterEntry *FindEntry(const ExtAddress &aExtAddress) const;
260 …FilterEntry *FindEntry(const ExtAddress &aExtAddress) { return AsNonConst(AsConst(this)->FindEntry… in FindEntry()
Dmac_types.cpp58 void ExtAddress::GenerateRandom(void) in GenerateRandom()
60 IgnoreError(Random::Crypto::FillBuffer(m8, sizeof(ExtAddress))); in GenerateRandom()
66 ExtAddress::InfoString ExtAddress::ToString(void) const in ToString()
70 string.AppendHexBytes(m8, sizeof(ExtAddress)); in ToString()
75 void ExtAddress::CopyAddress(uint8_t *aDst, const uint8_t *aSrc, CopyByteOrder aByteOrder) in CopyAddress()
80 memcpy(aDst, aSrc, sizeof(ExtAddress)); in CopyAddress()
84 aSrc += sizeof(ExtAddress) - 1; in CopyAddress()
85 for (uint8_t len = sizeof(ExtAddress); len > 0; len--) in CopyAddress()
99 string.AppendHexBytes(GetExtended().m8, sizeof(ExtAddress)); in ToString()
Dmac_types.hpp92 class ExtAddress : public otExtAddress, public Equatable<ExtAddress>, public Clearable<ExtAddress> class
244 typedef ExtAddress::InfoString InfoString;
316 const ExtAddress &GetExtended(void) const { return mShared.mExtAddress; } in GetExtended()
326 ExtAddress &GetExtended(void) { return mShared.mExtAddress; } in GetExtended()
358 void SetExtended(const ExtAddress &aExtAddress) in SetExtended()
374 …void SetExtended(const uint8_t *aBuffer, ExtAddress::CopyByteOrder aByteOrder = ExtAddress::kNorma… in SetExtended()
408 ExtAddress mExtAddress; ///< The IEEE 802.15.4 Extended Address.
953 DefineCoreType(otExtAddress, Mac::ExtAddress);
Dmac_filter.cpp57 const Filter::FilterEntry *Filter::FindEntry(const ExtAddress &aExtAddress) const in FindEntry()
89 Error Filter::AddAddress(const ExtAddress &aExtAddress) in AddAddress()
106 void Filter::RemoveAddress(const ExtAddress &aExtAddress) in RemoveAddress()
145 Error Filter::AddRssIn(const ExtAddress &aExtAddress, int8_t aRss) in AddRssIn()
164 void Filter::RemoveRssIn(const ExtAddress &aExtAddress) in RemoveRssIn()
217 Error Filter::Apply(const ExtAddress &aExtAddress, int8_t &aRss) const in Apply()
254 Error Filter::ApplyToRxFrame(RxFrame &aRxFrame, const ExtAddress &aExtAddress, Neighbor *aNeighbor)… in ApplyToRxFrame()
Dlink_raw.hpp242 const ExtAddress &GetExtAddress(void) const { return mSubMac.GetExtAddress(); } in GetExtAddress()
253 Error SetExtAddress(const ExtAddress &aExtAddress);
Dmac_links.hpp356 const ExtAddress &GetExtAddress(void) const in GetExtAddress()
372 void SetExtAddress(const ExtAddress &aExtAddress) in SetExtAddress()
698 ExtAddress mExtAddress;
/openthread-3.4.0/src/core/meshcop/
Dmeshcop.hpp203 void GenerateJoinerId(Mac::ExtAddress &aJoinerId) const;
213 bool Matches(const Mac::ExtAddress &aJoinerId) const;
236 void CopyTo(Mac::ExtAddress &aExtAddress) const;
315 void UpdateBloomFilter(const Mac::ExtAddress &aJoinerId);
349 bool Contains(const Mac::ExtAddress &aJoinerId) const;
380 static void CalculateHashBitIndexes(const Mac::ExtAddress &aJoinerId, HashBitIndexes &aIndexes);
435 void ComputeJoinerId(const Mac::ExtAddress &aEui64, Mac::ExtAddress &aJoinerId);
Dmeshcop.cpp106 void JoinerDiscerner::GenerateJoinerId(Mac::ExtAddress &aJoinerId) const in GenerateJoinerId()
113 bool JoinerDiscerner::Matches(const Mac::ExtAddress &aJoinerId) const in Matches()
124 void JoinerDiscerner::CopyTo(Mac::ExtAddress &aExtAddress) const in CopyTo()
131 uint8_t *cur = &aExtAddress.m8[sizeof(Mac::ExtAddress) - 1]; in CopyTo()
202 void SteeringData::UpdateBloomFilter(const Mac::ExtAddress &aJoinerId) in UpdateBloomFilter()
226 bool SteeringData::Contains(const Mac::ExtAddress &aJoinerId) const in Contains()
249 void SteeringData::CalculateHashBitIndexes(const Mac::ExtAddress &aJoinerId, HashBitIndexes &aIndex… in CalculateHashBitIndexes()
266 Mac::ExtAddress address; in CalculateHashBitIndexes()
290 void ComputeJoinerId(const Mac::ExtAddress &aEui64, Mac::ExtAddress &aJoinerId) in ComputeJoinerId()
Dcommissioner.hpp309 Error AddJoiner(const Mac::ExtAddress &aEui64, const char *aPskd, uint32_t aTimeout) in AddJoiner()
366 Error RemoveJoiner(const Mac::ExtAddress &aEui64, uint32_t aDelay) in RemoveJoiner()
525 Mac::ExtAddress mEui64;
537 Joiner *FindJoinerEntry(const Mac::ExtAddress *aEui64);
539 Joiner *FindBestMatchingJoinerEntry(const Mac::ExtAddress &aReceivedJoinerId);
542 Error AddJoiner(const Mac::ExtAddress *aEui64,
546 …Error RemoveJoiner(const Mac::ExtAddress *aEui64, const JoinerDiscerner *aDiscerner, uint32_t aDel…
Djoiner.hpp135 const Mac::ExtAddress &GetId(void) const { return mId; } in GetId()
192 Mac::ExtAddress mExtAddr;
238 Mac::ExtAddress mId;
/openthread-3.4.0/src/core/radio/
Dtrel_packet.hpp189 const Mac::ExtAddress &GetSource(void) const { return mSource; } in GetSource()
197 void SetSource(const Mac::ExtAddress &aSource) { mSource = aSource; } in SetSource()
207 const Mac::ExtAddress &GetDestination(void) const { return mDestination; } in GetDestination()
217 void SetDestination(const Mac::ExtAddress &aDest) { mDestination = aDest; } in SetDestination()
249 Mac::ExtAddress mSource;
250 Mac::ExtAddress mDestination; // Present in `kTypeAck` or `kTypeUnicast` packet types.
Dtrel_interface.hpp89 …const Mac::ExtAddress &GetExtAddress(void) const { return static_cast<const Mac::ExtAddress &>(mEx… in GetExtAddress()
119 … bool Matches(const Mac::ExtAddress &aExtAddress) const { return GetExtAddress() == aExtAddress; } in Matches()
142 void SetExtAddress(const Mac::ExtAddress &aExtAddress) { mExtAddress = aExtAddress; } in SetExtAddress()
254 Mac::ExtAddress &aExtAddress,
Dradio.hpp228 void GetIeeeEui64(Mac::ExtAddress &aIeeeEui64);
268 void SetExtendedAddress(const Mac::ExtAddress &aExtAddress);
581 Error AddSrcMatchExtEntry(const Mac::ExtAddress &aExtAddress);
603 Error ClearSrcMatchExtEntry(const Mac::ExtAddress &aExtAddress);
656 const Mac::ExtAddress &aExtAddress) in ConfigureEnhAckProbing()
686 inline void Radio::GetIeeeEui64(Mac::ExtAddress &aIeeeEui64) in GetIeeeEui64()
798 inline Error Radio::AddSrcMatchExtEntry(const Mac::ExtAddress &aExtAddress) in AddSrcMatchExtEntry()
808 inline Error Radio::ClearSrcMatchExtEntry(const Mac::ExtAddress &aExtAddress) in ClearSrcMatchExtEntry()
828 inline void Radio::SetExtendedAddress(const Mac::ExtAddress &) {} in SetExtendedAddress() argument
896 inline Error Radio::AddSrcMatchExtEntry(const Mac::ExtAddress &) { return kErrorNone; } in AddSrcMatchExtEntry() argument
[all …]
Dradio.cpp55 SetExtendedAddress(Mac::ExtAddress{}); in Init()
67 void Radio::SetExtendedAddress(const Mac::ExtAddress &aExtAddress) in SetExtendedAddress()
Dtrel_interface.cpp148 …*/ sizeof(uint8_t) + sizeof(kTxtRecordExtAddressKey) - 1 + sizeof(char) + sizeof(Mac::ExtAddress) + in RegisterService()
158 …ries[0].Init(kTxtRecordExtAddressKey, Get<Mac::Mac>().GetExtAddress().m8, sizeof(Mac::ExtAddress)); in RegisterService()
189 Mac::ExtAddress extAddress; in HandleDiscoveredPeerInfo()
250 Mac::ExtAddress &aExtAddress, in ParsePeerInfoTxtData()
277 VerifyOrExit(entry.mValueLength == sizeof(Mac::ExtAddress), error = kErrorParse); in ParsePeerInfoTxtData()
/openthread-3.4.0/src/core/net/
Ddhcp6.hpp309 const Mac::ExtAddress &GetDuidLinkLayerAddress(void) const { return mDuidLinkLayerAddress; } in GetDuidLinkLayerAddress()
317 void SetDuidLinkLayerAddress(const Mac::ExtAddress &aDuidLinkLayerAddress) in SetDuidLinkLayerAddress()
325 Mac::ExtAddress mDuidLinkLayerAddress;
380 const Mac::ExtAddress &GetDuidLinkLayerAddress(void) const { return mDuidLinkLayerAddress; } in GetDuidLinkLayerAddress()
388 void SetDuidLinkLayerAddress(const Mac::ExtAddress &aDuidLinkLayerAddress) in SetDuidLinkLayerAddress()
396 Mac::ExtAddress mDuidLinkLayerAddress;
/openthread-3.4.0/src/core/thread/
Dsrc_match_controller.cpp159 Mac::ExtAddress address; in AddAddress()
161 address.Set(aChild.GetExtAddress().m8, Mac::ExtAddress::kReverseByteOrder); in AddAddress()
190 Mac::ExtAddress address; in ClearEntry()
192 address.Set(aChild.GetExtAddress().m8, Mac::ExtAddress::kReverseByteOrder); in ClearEntry()
Dneighbor_table.hpp114 Neighbor *FindParent(const Mac::ExtAddress &aExtAddress,
151 Neighbor *FindNeighbor(const Mac::ExtAddress &aExtAddress,
Dtopology.hpp143 AddressMatcher(const Mac::ExtAddress &aExtAddress, StateFilter aStateFilter) in AddressMatcher()
186 …cher(StateFilter aStateFilter, Mac::ShortAddress aShortAddress, const Mac::ExtAddress *aExtAddress) in AddressMatcher()
195 const Mac::ExtAddress *mExtAddress;
373 const Mac::ExtAddress &GetExtAddress(void) const { return mMacAddr; } in GetExtAddress()
381 Mac::ExtAddress &GetExtAddress(void) { return mMacAddr; } in GetExtAddress()
389 void SetExtAddress(const Mac::ExtAddress &aAddress) { mMacAddr = aAddress; } in SetExtAddress()
808 Mac::ExtAddress mMacAddr; ///< The IEEE 802.15.4 Extended Address
/openthread-3.4.0/src/core/common/
Dsettings.hpp282 const Mac::ExtAddress &GetExtAddress(void) const { return mExtAddress; } in GetExtAddress()
290 void SetExtAddress(const Mac::ExtAddress &aExtAddress) { mExtAddress = aExtAddress; } in SetExtAddress()
334 Mac::ExtAddress mExtAddress; ///< Extended Address
368 const Mac::ExtAddress &GetExtAddress(void) const { return mExtAddress; } in GetExtAddress()
376 void SetExtAddress(const Mac::ExtAddress &aExtAddress) { mExtAddress = aExtAddress; } in SetExtAddress()
397 Mac::ExtAddress mExtAddress; ///< Extended Address
430 const Mac::ExtAddress &GetExtAddress(void) const { return mExtAddress; } in GetExtAddress()
438 void SetExtAddress(const Mac::ExtAddress &aExtAddress) { mExtAddress = aExtAddress; } in SetExtAddress()
507 Mac::ExtAddress mExtAddress; ///< Extended Address
Dframe_builder.cpp103 VerifyOrExit(CanAppend(sizeof(Mac::ExtAddress)), error = kErrorNoBufs); in AppendMacAddress()
104 aMacAddress.GetExtended().CopyTo(mBuffer + mLength, Mac::ExtAddress::kReverseByteOrder); in AppendMacAddress()
105 mLength += sizeof(Mac::ExtAddress); in AppendMacAddress()
/openthread-3.4.0/tests/unit/
Dtest_meshcop.cpp43 Mac::ExtAddress joinerId1; in TestSteeringData()
44 Mac::ExtAddress joinerId2; in TestSteeringData()
46 …const uint8_t kAddress1[sizeof(Mac::ExtAddress)] = {0x10, 0x20, 0x03, 0x15, 0x10, 0x00, 0x60, 0x16… in TestSteeringData()
47 …const uint8_t kAddress2[sizeof(Mac::ExtAddress)] = {0xbe, 0xef, 0xca, 0xfe, 0xde, 0xad, 0xba, 0xbe… in TestSteeringData()
Dtest_child_table.cpp67 (aChild.GetExtAddress() == static_cast<const Mac::ExtAddress &>(aTestChild.mExtAddress)); in ChildMatches()
139 …child = aTable.FindChild(static_cast<const Mac::ExtAddress &>(aChildList[listIndex].mExtAddress), … in VerifyChildTableContent()
148 … address.SetExtended(static_cast<const Mac::ExtAddress &>(aChildList[listIndex].mExtAddress)); in VerifyChildTableContent()
337 child->SetExtAddress((static_cast<const Mac::ExtAddress &>(testChildList[i].mExtAddress))); in TestChildTable()
359 … child->SetExtAddress((static_cast<const Mac::ExtAddress &>(testChildList[i - 1].mExtAddress))); in TestChildTable()
/openthread-3.4.0/src/core/crypto/
Daes_ccm.cpp280 void AesCcm::GenerateNonce(const Mac::ExtAddress &aAddress, in GenerateNonce()
285 memcpy(aNonce, aAddress.m8, sizeof(Mac::ExtAddress)); in GenerateNonce()
286 aNonce += sizeof(Mac::ExtAddress); in GenerateNonce()
/openthread-3.4.0/src/core/utils/
Dotns.cpp52 void Otns::EmitExtendedAddress(const Mac::ExtAddress &aExtAddress) in EmitExtendedAddress()
54 Mac::ExtAddress revExtAddress; in EmitExtendedAddress()
55 revExtAddress.Set(aExtAddress.m8, Mac::ExtAddress::kReverseByteOrder); in EmitExtendedAddress()

123