Home
last modified time | relevance | path

Searched refs:SetPayloadLength (Results 1 – 10 of 10) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_lowpan.hpp129 mIpHeader.SetPayloadLength(aPayloadLength); in SetIpHeader()
155 mIpTunneledHeader.SetPayloadLength(aPayloadLength); in SetIpTunneledHeader()
Dtest_ip6_header.cpp82 header.SetPayloadLength(kPayloadLength); in TestIp6Header()
/openthread-3.7.0/src/core/net/
Dip6.cpp199 aHeader.SetPayloadLength(aHeader.GetPayloadLength() + sizeof(hbhHeader) + sizeof(mplOption)); in AddMplOption()
232 tunnelHeader.SetPayloadLength(aHeader.GetPayloadLength() + sizeof(tunnelHeader)); in PrepareMulticastToLargerThanRealmLocal()
292 aHeader.SetPayloadLength(aHeader.GetPayloadLength() + ExtensionHeader::kLengthUnitSize); in InsertMplOption()
394 ip6Header.SetPayloadLength(ip6Header.GetPayloadLength() - ExtensionHeader::kLengthUnitSize); in RemoveMplOption()
437 header.SetPayloadLength(payloadLength); in SendDatagram()
590 header.SetPayloadLength(payloadFragment + sizeof(fragmentHeader)); in FragmentDatagram()
701 header.SetPayloadLength(message->GetLength() - sizeof(header)); in HandleFragment()
Dip6_headers.hpp241 void SetPayloadLength(uint16_t aLength) { mPayloadLength = BigEndian::HostSwap16(aLength); } in SetPayloadLength() function in ot::Ip6::Header
Dnat64_translator.cpp274 ip6Header.SetPayloadLength(aMessage.GetLength() - aMessage.GetOffset()); in TranslateToIp6()
/openthread-3.7.0/src/core/mac/
Dmac_frame.hpp840 void SetPayloadLength(uint16_t aLength);
Dmac_frame.cpp883 void Frame::SetPayloadLength(uint16_t aLength) { mLength = GetHeaderLength() + GetFooterLength() + … in SetPayloadLength() function in ot::Mac::Frame
Dmac.cpp806 frame->SetPayloadLength(beaconLength); in PrepareBeacon()
/openthread-3.7.0/src/core/thread/
Dmesh_forwarder.cpp202 aFrame.SetPayloadLength(0); in PrepareEmptyFrame()
1078 aFrame.SetPayloadLength(frameBuilder.GetLength()); in PrepareDataFrame()
Dmesh_forwarder_ftd.cpp363 aFrame.SetPayloadLength(aMessage.GetLength()); in SendMesh()