Home
last modified time | relevance | path

Searched refs:aFrameData (Results 1 – 7 of 7) sorted by relevance

/openthread-3.5.0/src/core/thread/
Dlowpan.cpp604 FrameData &aFrameData) in DecompressBaseHeader() argument
615 SuccessOrExit(aFrameData.ReadBigEndianUint16(hcCtl)); in DecompressBaseHeader()
623 SuccessOrExit(aFrameData.ReadUint8(byte)); in DecompressBaseHeader()
640 VerifyOrExit(aFrameData.GetLength() > 0); in DecompressBaseHeader()
642 ip6HeaderBytes[1] |= (aFrameData.GetBytes()[0] & 0xc0) >> 2; in DecompressBaseHeader()
646 IgnoreError(aFrameData.ReadUint8(byte)); in DecompressBaseHeader()
653 VerifyOrExit(aFrameData.GetLength() >= 3); in DecompressBaseHeader()
654 ip6HeaderBytes[1] |= aFrameData.GetBytes()[0] & 0x0f; in DecompressBaseHeader()
655 ip6HeaderBytes[2] |= aFrameData.GetBytes()[1]; in DecompressBaseHeader()
656 ip6HeaderBytes[3] |= aFrameData.GetBytes()[2]; in DecompressBaseHeader()
[all …]
Dlowpan.hpp121 static bool IsLowpanHc(const FrameData &aFrameData) in IsLowpanHc() argument
123 return (aFrameData.GetLength() > 0) && IsLowpanHc(aFrameData.GetBytes()); in IsLowpanHc()
155 FrameData &aFrameData,
175 FrameData &aFrameData);
189 Error DecompressUdpHeader(Ip6::Udp::Header &aUdpHeader, FrameData &aFrameData);
286 Error DecompressExtensionHeader(Message &aMessage, FrameData &aFrameData);
287 Error DecompressUdpHeader(Message &aMessage, FrameData &aFrameData, uint16_t aDatagramLength);
321 static bool IsMeshHeader(const FrameData &aFrameData);
347 Error ParseFrom(FrameData &aFrameData);
543 static bool IsFragmentHeader(const FrameData &aFrameData);
[all …]
Dmesh_forwarder_ftd.cpp620 Error MeshForwarder::CheckReachability(const FrameData &aFrameData, const Mac::Addresses &aMeshAddr… in CheckReachability() argument
625 error = ip6Headers.DecompressFrom(aFrameData, aMeshAddrs, GetInstance()); in CheckReachability()
655 void MeshForwarder::HandleMesh(FrameData &aFrameData, const Mac::Address &aMacSource, const ThreadL… in HandleMesh() argument
665 SuccessOrExit(error = meshHeader.ParseFrom(aFrameData)); in HandleMesh()
670 UpdateRoutes(aFrameData, meshAddrs); in HandleMesh()
675 if (Lowpan::FragmentHeader::IsFragmentHeader(aFrameData)) in HandleMesh()
677 HandleFragment(aFrameData, meshAddrs, aLinkInfo); in HandleMesh()
679 else if (Lowpan::Lowpan::IsLowpanHc(aFrameData)) in HandleMesh()
681 HandleLowpanHC(aFrameData, meshAddrs, aLinkInfo); in HandleMesh()
694 SuccessOrExit(error = CheckReachability(aFrameData, meshAddrs)); in HandleMesh()
[all …]
Dmesh_forwarder.hpp506 Error CheckReachability(const FrameData &aFrameData, const Mac::Addresses &aMeshAddrs);
507 void UpdateRoutes(const FrameData &aFrameData, const Mac::Addresses &aMeshAddrs);
508 Error FrameToMessage(const FrameData &aFrameData,
515 …void HandleMesh(FrameData &aFrameData, const Mac::Address &aMacSource, const ThreadLinkInfo &a…
516 …void HandleFragment(FrameData &aFrameData, const Mac::Addresses &aMacAddrs, const ThreadLinkIn…
517 …void HandleLowpanHC(const FrameData &aFrameData, const Mac::Addresses &aMacAddrs, const ThreadLink…
575 …Error GetFramePriority(const FrameData &aFrameData, const Mac::Addresses &aMacAddrs, Message::Prio…
579 void GetForwardFramePriority(const FrameData &aFrameData,
Dmesh_forwarder.cpp1415 void MeshForwarder::HandleFragment(FrameData &aFrameData, in HandleFragment() argument
1423 SuccessOrExit(error = fragmentHeader.ParseFrom(aFrameData)); in HandleFragment()
1465 UpdateRoutes(aFrameData, aMacAddrs); in HandleFragment()
1468 SuccessOrExit(error = FrameToMessage(aFrameData, datagramSize, aMacAddrs, message)); in HandleFragment()
1504 msg.GetOffset() + aFrameData.GetLength() <= fragmentHeader.GetDatagramSize() && in HandleFragment()
1525 message->WriteData(message->GetOffset(), aFrameData); in HandleFragment()
1526 message->MoveOffset(aFrameData.GetLength()); in HandleFragment()
1546 LogFragmentFrameDrop(error, aFrameData.GetLength(), aMacAddrs, fragmentHeader, in HandleFragment()
1605 Error MeshForwarder::FrameToMessage(const FrameData &aFrameData, in FrameToMessage() argument
1611 FrameData frameData = aFrameData; in FrameToMessage()
[all …]
/openthread-3.5.0/src/core/net/
Dip6.hpp501 …Error DecompressFrom(const FrameData &aFrameData, const Mac::Addresses &aMacAddrs, Instance &aInst…
Dip6.cpp1596 Error Headers::DecompressFrom(const FrameData &aFrameData, const Mac::Addresses &aMacAddrs, Instanc… in DecompressFrom() argument
1599 FrameData frameData = aFrameData; in DecompressFrom()