Home
last modified time | relevance | path

Searched refs:Lowpan (Results 1 – 17 of 17) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dlowpan.cpp50 namespace Lowpan { namespace
52 Lowpan::Lowpan(Instance &aInstance) in Lowpan() function in ot::Lowpan::Lowpan
57 void Lowpan::FindContextForId(uint8_t aContextId, Context &aContext) const in FindContextForId()
65 void Lowpan::FindContextToCompressAddress(const Ip6::Address &aIp6Address, Context &aContext) const in FindContextToCompressAddress()
75 Error Lowpan::ComputeIid(const Mac::Address &aMacAddr, const Context &aContext, Ip6::InterfaceIdent… in ComputeIid()
99 Error Lowpan::CompressSourceIid(const Mac::Address &aMacAddr, in CompressSourceIid()
128 Error Lowpan::CompressDestinationIid(const Mac::Address &aMacAddr, in CompressDestinationIid()
157 Error Lowpan::CompressMulticast(const Ip6::Address &aIpAddr, uint16_t &aHcCtl, FrameBuilder &aFrame… in CompressMulticast()
214 Error Lowpan::Compress(Message &aMessage, const Mac::Addresses &aMacAddrs, FrameBuilder &aFrameBuil… in Compress()
238 Error Lowpan::Compress(Message &aMessage, in Compress()
[all …]
Dnetwork_data_leader.hpp125 Error GetContext(const Ip6::Address &aAddress, Lowpan::Context &aContext) const;
137 Error GetContext(uint8_t aContextId, Lowpan::Context &aContext) const;
322 void GetContextForMeshLocalPrefix(Lowpan::Context &aContext) const;
Dmesh_forwarder.cpp291 Lowpan::FragmentHeader fragmentHeader; in UpdateEcnOrDrop()
292 Lowpan::MeshHeader meshHeader; in UpdateEcnOrDrop()
306 Ip6::Ecn ecn = Get<Lowpan::Lowpan>().DecompressEcn(aMessage, offset); in UpdateEcnOrDrop()
331 Get<Lowpan::Lowpan>().MarkCompressedEcn(aMessage, offset); in UpdateEcnOrDrop()
896 Lowpan::MeshHeader meshHeader; in PrepareDataFrame()
949 frameBuilder.SetMaxLength(maxFrameLength - sizeof(Lowpan::FragmentHeader::FirstFrag)); in PrepareDataFrame()
961 SuccessOrAssert(Get<Lowpan::Lowpan>().Compress(aMessage, macAddrs, frameBuilder)); in PrepareDataFrame()
969 Lowpan::FragmentHeader::FirstFrag firstFragHeader; in PrepareDataFrame()
1000 Lowpan::FragmentHeader::NextFrag nextFragHeader; in PrepareDataFrame()
1306 if (Lowpan::MeshHeader::IsMeshHeader(frameData)) in HandleReceivedFrame()
[all …]
Dlowpan.hpp69 namespace Lowpan { namespace
89 class Lowpan : public InstanceLocator, private NonCopyable class
98 explicit Lowpan(Instance &aInstance);
110 return (aHeader[0] & (Lowpan::kHcDispatchMask >> 8)) == (Lowpan::kHcDispatch >> 8); in IsLowpanHc()
Dmesh_forwarder_ftd.cpp296 Lowpan::MeshHeader meshHeader; in RemoveMessages()
369 Lowpan::MeshHeader meshHeader; in UpdateMeshRoute()
433 Lowpan::Context context; in AnycastRouteLookup()
661 Lowpan::MeshHeader meshHeader; in HandleMesh()
676 if (Lowpan::FragmentHeader::IsFragmentHeader(aFrameData)) in HandleMesh()
680 else if (Lowpan::Lowpan::IsLowpanHc(aFrameData)) in HandleMesh()
790 void MeshForwarder::UpdateFragmentPriority(Lowpan::FragmentHeader &aFragmentHeader, in UpdateFragmentPriority()
869 Error MeshForwarder::GetFragmentPriority(Lowpan::FragmentHeader &aFragmentHeader, in GetFragmentPriority()
891 Lowpan::FragmentHeader fragmentHeader; in GetForwardFramePriority()
935 Lowpan::MeshHeader meshHeader; in LogMeshFragmentHeader()
[all …]
Dmesh_forwarder.hpp482 void UpdateFragmentPriority(Lowpan::FragmentHeader &aFragmentHeader,
509 Error GetFragmentPriority(Lowpan::FragmentHeader &aFragmentHeader,
537 const Lowpan::FragmentHeader &aFragmentHeader,
Dnetwork_data_leader.cpp138 Error LeaderBase::GetContext(const Ip6::Address &aAddress, Lowpan::Context &aContext) const in GetContext()
171 Error LeaderBase::GetContext(uint8_t aContextId, Lowpan::Context &aContext) const in GetContext()
203 void LeaderBase::GetContextForMeshLocalPrefix(Lowpan::Context &aContext) const in GetContextForMeshLocalPrefix()
Ddua_manager.cpp311 Lowpan::Context context; in HandleNotifierEvents()
Dmle.cpp4620 Lowpan::Context context; in AppendAddressRegistrationTlv()
4909 Lowpan::Context context; in AppendAddressRegistrationTlv()
Dmle_router.cpp1858 Lowpan::Context context; in ProcessAddressRegistrationTlv()
/openthread-3.4.0/tests/unit/
Dtest_lowpan.cpp40 Lowpan::Lowpan *sLowpan;
1772 sLowpan = &sInstance->Get<Lowpan::Lowpan>(); in TestLowpanIphc()
1874 Lowpan::MeshHeader meshHeader; in TestLowpanMeshHeader()
1890 VerifyOrQuit(Lowpan::MeshHeader::IsMeshHeader(frameData)); in TestLowpanMeshHeader()
1918 VerifyOrQuit(Lowpan::MeshHeader::IsMeshHeader(frameData)); in TestLowpanMeshHeader()
1969 Lowpan::FragmentHeader fragHeader; in TestLowpanFragmentHeader()
1970 Lowpan::FragmentHeader::FirstFrag firstFragHeader; in TestLowpanFragmentHeader()
1971 Lowpan::FragmentHeader::NextFrag nextFragHeader; in TestLowpanFragmentHeader()
1979 VerifyOrQuit(length == sizeof(Lowpan::FragmentHeader::FirstFrag)); in TestLowpanFragmentHeader()
1985 VerifyOrQuit(Lowpan::FragmentHeader::IsFragmentHeader(frameData)); in TestLowpanFragmentHeader()
[all …]
Dtest_lowpan.hpp276 Lowpan::Context mSrcContext;
277 Lowpan::Context mDstContext;
/openthread-3.4.0/src/core/common/
Dinstance.hpp471 Lowpan::Lowpan mLowpan;
714 template <> inline Lowpan::Lowpan &Instance::Get(void) { return mLowpan; } in Get()
/openthread-3.4.0/src/core/net/
Dnd_agent.cpp54 Lowpan::Context lowpanContext; in UpdateService()
Dip6.cpp1584 …static constexpr uint16_t kReadLength = sizeof(Lowpan::FragmentHeader::NextFrag) + sizeof(Headers); in DecompressFrom()
1600 Lowpan::FragmentHeader fragmentHeader; in DecompressFrom()
1609 VerifyOrExit(Lowpan::Lowpan::IsLowpanHc(frameData), error = kErrorNotFound); in DecompressFrom()
1611 …SuccessOrExit(error = aInstance.Get<Lowpan::Lowpan>().DecompressBaseHeader(mIp6Header, nextHeaderC… in DecompressFrom()
1619 …SuccessOrExit(error = aInstance.Get<Lowpan::Lowpan>().DecompressUdpHeader(mHeader.mUdp, frameData)… in DecompressFrom()
Ddhcp6_server.hpp188 void AddPrefixAgent(const Ip6::Prefix &aIp6Prefix, const Lowpan::Context &aContext);
Ddhcp6_server.cpp68 Lowpan::Context lowpanContext; in UpdateService()
150 void Server::AddPrefixAgent(const Ip6::Prefix &aIp6Prefix, const Lowpan::Context &aContext) in AddPrefixAgent()