Searched refs:SetPayloadLength (Results 1 – 10 of 10) sorted by relevance
129 mIpHeader.SetPayloadLength(aPayloadLength); in SetIpHeader()155 mIpTunneledHeader.SetPayloadLength(aPayloadLength); in SetIpTunneledHeader()
82 header.SetPayloadLength(kPayloadLength); in TestIp6Header()
199 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()
241 void SetPayloadLength(uint16_t aLength) { mPayloadLength = BigEndian::HostSwap16(aLength); } in SetPayloadLength() function in ot::Ip6::Header
274 ip6Header.SetPayloadLength(aMessage.GetLength() - aMessage.GetOffset()); in TranslateToIp6()
840 void SetPayloadLength(uint16_t aLength);
883 void Frame::SetPayloadLength(uint16_t aLength) { mLength = GetHeaderLength() + GetFooterLength() + … in SetPayloadLength() function in ot::Mac::Frame
806 frame->SetPayloadLength(beaconLength); in PrepareBeacon()
202 aFrame.SetPayloadLength(0); in PrepareEmptyFrame()1078 aFrame.SetPayloadLength(frameBuilder.GetLength()); in PrepareDataFrame()
363 aFrame.SetPayloadLength(aMessage.GetLength()); in SendMesh()