Home
last modified time | relevance | path

Searched refs:aMacAddr (Results 1 – 4 of 4) sorted by relevance

/openthread-latest/src/core/thread/
Dlowpan.hpp261 Error CompressSourceIid(const Mac::Address &aMacAddr,
266 Error CompressDestinationIid(const Mac::Address &aMacAddr,
278 …static Error ComputeIid(const Mac::Address &aMacAddr, const Context &aContext, Ip6::InterfaceIdent…
Dlowpan.cpp64 Error Lowpan::ComputeIid(const Mac::Address &aMacAddr, const Context &aContext, Ip6::InterfaceIdent… in ComputeIid() argument
68 switch (aMacAddr.GetType()) in ComputeIid()
71 aIid.SetToLocator(aMacAddr.GetShort()); in ComputeIid()
75 aIid.SetFromExtAddress(aMacAddr.GetExtended()); in ComputeIid()
88 Error Lowpan::CompressSourceIid(const Mac::Address &aMacAddr, in CompressSourceIid() argument
97 IgnoreError(ComputeIid(aMacAddr, aContext, iid)); in CompressSourceIid()
117 Error Lowpan::CompressDestinationIid(const Mac::Address &aMacAddr, in CompressDestinationIid() argument
126 IgnoreError(ComputeIid(aMacAddr, aContext, iid)); in CompressDestinationIid()
Dmesh_forwarder.cpp701 void MeshForwarder::GetMacSourceAddress(const Ip6::Address &aIp6Addr, Mac::Address &aMacAddr) in GetMacSourceAddress() argument
703 aIp6Addr.GetIid().ConvertToMacAddress(aMacAddr); in GetMacSourceAddress()
705 if (aMacAddr.GetExtended() != Get<Mac::Mac>().GetExtAddress()) in GetMacSourceAddress()
707 aMacAddr.SetShort(Get<Mac::Mac>().GetShortAddress()); in GetMacSourceAddress()
711 void MeshForwarder::GetMacDestinationAddress(const Ip6::Address &aIp6Addr, Mac::Address &aMacAddr) in GetMacDestinationAddress() argument
715 aMacAddr.SetShort(Mac::kShortAddrBroadcast); in GetMacDestinationAddress()
719 aMacAddr.SetShort(aIp6Addr.GetIid().GetLocator()); in GetMacDestinationAddress()
723 aIp6Addr.GetIid().ConvertToMacAddress(aMacAddr); in GetMacDestinationAddress()
Dmesh_forwarder.hpp494 void GetMacDestinationAddress(const Ip6::Address &aIp6Addr, Mac::Address &aMacAddr);
495 void GetMacSourceAddress(const Ip6::Address &aIp6Addr, Mac::Address &aMacAddr);