Home
last modified time | relevance | path

Searched refs:aMacAddress (Results 1 – 22 of 22) sorted by relevance

/openthread-latest/examples/platforms/utils/
Dlink_metrics.cpp216 LinkMetricsDataInfo *GetLinkMetricsInfoByMacAddress(const otMacAddress *aMacAddress) in GetLinkMetricsInfoByMacAddress() argument
220 VerifyOrExit(aMacAddress != nullptr); in GetLinkMetricsInfoByMacAddress()
222 if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_SHORT) in GetLinkMetricsInfoByMacAddress()
224 … dataInfo = GetLinkMetricsDataInfoActiveList().FindMatching(aMacAddress->mAddress.mShortAddress); in GetLinkMetricsInfoByMacAddress()
226 else if (aMacAddress->mType == OT_MAC_ADDRESS_TYPE_EXTENDED) in GetLinkMetricsInfoByMacAddress()
228 … dataInfo = GetLinkMetricsDataInfoActiveList().FindMatching(aMacAddress->mAddress.mExtAddress); in GetLinkMetricsInfoByMacAddress()
235 uint8_t otLinkMetricsEnhAckGenData(const otMacAddress *aMacAddress, uint8_t aLqi, int8_t aRssi, uin… in otLinkMetricsEnhAckGenData() argument
238 LinkMetricsDataInfo *dataInfo = GetLinkMetricsInfoByMacAddress(aMacAddress); in otLinkMetricsEnhAckGenData()
248 uint8_t otLinkMetricsEnhAckGetDataLen(const otMacAddress *aMacAddress) in otLinkMetricsEnhAckGetDataLen() argument
251 LinkMetricsDataInfo *dataInfo = GetLinkMetricsInfoByMacAddress(aMacAddress); in otLinkMetricsEnhAckGetDataLen()
Dlink_metrics.h94 uint8_t otLinkMetricsEnhAckGenData(const otMacAddress *aMacAddress, uint8_t aLqi, int8_t aRssi, uin…
103 uint8_t otLinkMetricsEnhAckGetDataLen(const otMacAddress *aMacAddress);
Dmac_frame.h163 otError otMacFrameGetSrcAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress);
174 otError otMacFrameGetDstAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress);
Dmac_frame.cpp129 otError otMacFrameGetSrcAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress) in otMacFrameGetSrcAddr() argument
137 GetOtMacAddress(address, aMacAddress); in otMacFrameGetSrcAddr()
143 otError otMacFrameGetDstAddr(const otRadioFrame *aFrame, otMacAddress *aMacAddress) in otMacFrameGetDstAddr() argument
151 GetOtMacAddress(address, aMacAddress); in otMacFrameGetDstAddr()
/openthread-latest/src/core/thread/
Dneighbor_table.cpp73 Neighbor *NeighborTable::FindParent(const Mac::Address &aMacAddress, Neighbor::StateFilter aFilter) in FindParent() argument
75 return FindParent(Neighbor::AddressMatcher(aMacAddress, aFilter)); in FindParent()
113 Neighbor *NeighborTable::FindNeighbor(const Mac::Address &aMacAddress, Neighbor::StateFilter aFilte… in FindNeighbor() argument
115 return FindNeighbor(Neighbor::AddressMatcher(aMacAddress, aFilter)); in FindNeighbor()
176 Neighbor *NeighborTable::FindRxOnlyNeighborRouter(const Mac::Address &aMacAddress) in FindRxOnlyNeighborRouter() argument
181 neighbor = Get<RouterTable>().FindNeighbor(aMacAddress); in FindRxOnlyNeighborRouter()
Dneighbor_table.hpp119 Neighbor *FindParent(const Mac::Address &aMacAddress,
152 Neighbor *FindNeighbor(const Mac::Address &aMacAddress,
186 Neighbor *FindRxOnlyNeighborRouter(const Mac::Address &aMacAddress);
Dneighbor.hpp148 AddressMatcher(const Mac::Address &aMacAddress, StateFilter aStateFilter) in AddressMatcher() argument
150aMacAddress.IsShort() ? aMacAddress.GetShort() : Mac::kShortAddrInvalid, in AddressMatcher()
151 aMacAddress.IsExtended() ? &aMacAddress.GetExtended() : nullptr) in AddressMatcher()
Dindirect_sender.cpp42 const Mac::Address &IndirectSender::NeighborInfo::GetMacAddress(Mac::Address &aMacAddress) const in GetMacAddress()
46 aMacAddress.SetShort(static_cast<const CslNeighbor *>(this)->GetRloc16()); in GetMacAddress()
50 aMacAddress.SetExtended(static_cast<const CslNeighbor *>(this)->GetExtAddress()); in GetMacAddress()
53 return aMacAddress; in GetMacAddress()
Dmesh_forwarder.cpp1836 const Mac::Address *aMacAddress, in LogIp6Message() argument
1849 AppendMacAddrToLogString(string, aAction, aMacAddress); in LogIp6Message()
1865 const Mac::Address *aMacAddress) in AppendMacAddrToLogString() argument
1867 VerifyOrExit(aMacAddress != nullptr); in AppendMacAddrToLogString()
1878 aString.Append("%s, ", aMacAddress->ToString().AsCString()); in AppendMacAddrToLogString()
1921 const Mac::Address *aMacAddress) in LogMessage() argument
1955 LogIp6Message(aAction, aMessage, aMacAddress, aError, logLevel); in LogMessage()
1960 LogMeshMessage(aAction, aMessage, aMacAddress, aError, logLevel); in LogMessage()
Dchild_table.cpp143 Child *ChildTable::FindChild(const Mac::Address &aMacAddress, Child::StateFilter aFilter) in FindChild() argument
145 return FindChild(Child::AddressMatcher(aMacAddress, aFilter)); in FindChild()
Dchild_table.hpp168 Child *FindChild(const Mac::Address &aMacAddress, Child::StateFilter aFilter);
Dmesh_forwarder_ftd.cpp847 const Mac::Address *aMacAddress, in LogMeshFragmentHeader() argument
875 AppendMacAddrToLogString(string, aAction, aMacAddress); in LogMeshFragmentHeader()
919 const Mac::Address *aMacAddress, in LogMeshMessage() argument
926 …SuccessOrExit(LogMeshFragmentHeader(aAction, aMessage, aMacAddress, aError, offset, meshAddrs, aLo… in LogMeshMessage()
Dindirect_sender.hpp126 const Mac::Address &GetMacAddress(Mac::Address &aMacAddress) const;
Dmesh_forwarder.hpp586 const Mac::Address *aMacAddress,
614 …dMacAddrToLogString(StringWriter &aString, MessageAction aAction, const Mac::Address *aMacAddress);
Drouter_table.hpp418 Router *FindNeighbor(const Mac::Address &aMacAddress);
Drouter_table.cpp275 Router *RouterTable::FindNeighbor(const Mac::Address &aMacAddress) in FindNeighbor() argument
277 return FindRouter(Router::AddressMatcher(aMacAddress, Router::kInStateValid)); in FindNeighbor()
/openthread-latest/src/core/common/
Dframe_builder.cpp83 Error FrameBuilder::AppendMacAddress(const Mac::Address &aMacAddress) in AppendMacAddress() argument
87 switch (aMacAddress.GetType()) in AppendMacAddress()
93 error = AppendLittleEndianUint16(aMacAddress.GetShort()); in AppendMacAddress()
98 aMacAddress.GetExtended().CopyTo(mBuffer + mLength, Mac::ExtAddress::kReverseByteOrder); in AppendMacAddress()
Dframe_builder.hpp180 Error AppendMacAddress(const Mac::Address &aMacAddress);
/openthread-latest/src/core/utils/
Dhistory_tracker.cpp77 void HistoryTracker::RecordMessage(const Message &aMessage, const Mac::Address &aMacAddress, Messag… in RecordMessage() argument
120 entry->mNeighborRloc16 = aMacAddress.IsShort() ? aMacAddress.GetShort() : kInvalidRloc16; in RecordMessage()
133 if (aMacAddress.IsExtended()) in RecordMessage()
135 …Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(aMacAddress, Neighbor::kInStateAnyExceptInv… in RecordMessage()
Dhistory_tracker.hpp395 void RecordMessage(const Message &aMessage, const Mac::Address &aMacAddress, MessageType aType);
/openthread-latest/src/core/net/
Dip6_address.cpp265 void InterfaceIdentifier::ConvertToMacAddress(Mac::Address &aMacAddress) const in ConvertToMacAddress()
267 aMacAddress.SetExtended(mFields.m8); in ConvertToMacAddress()
268 aMacAddress.GetExtended().ToggleLocal(); in ConvertToMacAddress()
Dip6_address.hpp423 void ConvertToMacAddress(Mac::Address &aMacAddress) const;