Searched refs:fragmentHeader (Results 1 – 3 of 3) sorted by relevance
/openthread-2.7.6/src/core/net/ |
D | ip6.cpp | 613 FragmentHeader fragmentHeader; in FragmentDatagram() local 620 … FragmentHeader::MakeDivisibleByEight(kMinimalMtu - aMessage.GetOffset() - sizeof(fragmentHeader)); in FragmentDatagram() 626 fragmentHeader.Init(); in FragmentDatagram() 627 fragmentHeader.SetIdentification(Random::NonCrypto::GetUint32()); in FragmentDatagram() 628 fragmentHeader.SetNextHeader(aIpProto); in FragmentDatagram() 629 fragmentHeader.SetMoreFlag(); in FragmentDatagram() 635 fragmentHeader.ClearMoreFlag(); in FragmentDatagram() 649 fragmentHeader.SetOffset(offset); in FragmentDatagram() 652 …SuccessOrExit(error = fragment->SetLength(aMessage.GetOffset() + sizeof(fragmentHeader) + payloadF… in FragmentDatagram() 654 header.SetPayloadLength(payloadFragment + sizeof(fragmentHeader)); in FragmentDatagram() [all …]
|
/openthread-2.7.6/src/core/thread/ |
D | mesh_forwarder.cpp | 446 Lowpan::FragmentHeader fragmentHeader; in DecompressIp6Header() local 450 if (fragmentHeader.ParseFrom(aFrame, aFrameLength, fragmentHeaderLength) == kErrorNone) in DecompressIp6Header() 453 VerifyOrExit(fragmentHeader.GetDatagramOffset() == 0, error = kErrorNotFound); in DecompressIp6Header() 803 Lowpan::FragmentHeader fragmentHeader; in PrepareDataFrame() local 827 …fragmentHeader.InitFirstFragment(aMessage.GetLength(), static_cast<uint16_t>(aMessage.GetDatagramT… in PrepareDataFrame() 828 fragmentHeader.WriteTo(payload); in PrepareDataFrame() 852 Lowpan::FragmentHeader fragmentHeader; in PrepareDataFrame() local 858 fragmentHeader.Init(aMessage.GetLength(), static_cast<uint16_t>(aMessage.GetDatagramTag()), in PrepareDataFrame() 860 fragmentHeaderLength = fragmentHeader.WriteTo(payload); in PrepareDataFrame() 1197 Lowpan::FragmentHeader fragmentHeader; in HandleFragment() local [all …]
|
D | mesh_forwarder_ftd.cpp | 673 Lowpan::FragmentHeader fragmentHeader; in CheckReachability() local 677 if (fragmentHeader.ParseFrom(aFrame, aFrameLength, fragmentHeaderLength) == kErrorNone) in CheckReachability() 680 VerifyOrExit(fragmentHeader.GetDatagramOffset() == 0, error = kErrorNotFound); in CheckReachability() 684 datagramSize = fragmentHeader.GetDatagramSize(); in CheckReachability() 959 Lowpan::FragmentHeader fragmentHeader; in GetForwardFramePriority() local 962 if (fragmentHeader.ParseFrom(aFrame, aFrameLength, fragmentHeaderLength) == kErrorNone) in GetForwardFramePriority() 968 if (fragmentHeader.GetDatagramOffset() > 0) in GetForwardFramePriority() 971 ExitNow(error = GetFragmentPriority(fragmentHeader, aMeshSource.GetShort(), aPriority)); in GetForwardFramePriority() 986 UpdateFragmentPriority(fragmentHeader, aFrameLength, aMeshSource.GetShort(), aPriority); in GetForwardFramePriority() 1009 Lowpan::FragmentHeader fragmentHeader; in LogMeshFragmentHeader() local [all …]
|