Home
last modified time | relevance | path

Searched refs:mPayload (Results 1 – 3 of 3) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_checksum.cpp95 uint8_t mPayload[kMaxPayload]; in CalculateChecksum() member
108 SuccessOrQuit(aMessage.Read(aMessage.GetOffset(), data.mPayload, payloadLength)); in CalculateChecksum()
134 uint8_t mPayload[kMaxPayload]; in CalculateChecksum() member
147 SuccessOrQuit(aMessage.Read(aMessage.GetOffset(), data.mPayload, payloadLength)); in CalculateChecksum()
433 uint8_t mPayload[sizeof(kExampleIcmpMessage)]; in TestIcmp4MessageChecksum() local
447 SuccessOrQuit(message->Read(message->GetOffset(), mPayload, sizeof(mPayload))); in TestIcmp4MessageChecksum()
448 VerifyOrQuit(CalculateChecksum(mPayload, sizeof(mPayload)) == 0xffff); in TestIcmp4MessageChecksum()
Dtest_lowpan.hpp222 memcpy(mPayload.mData, aPayload, aLength); in SetPayload()
223 mPayload.mLength = aLength; in SetPayload()
283 Payload mPayload; member in ot::TestIphcVector
Dtest_lowpan.cpp43 memcpy(aIphc + mIphcHeader.mLength, mPayload.mData, mPayload.mLength); in GetCompressedStream()
45 aIphcLength = mIphcHeader.mLength + mPayload.mLength; in GetCompressedStream()
73 memcpy(aIp6 + aIp6Length, mPayload.mData, mPayload.mLength); in GetUncompressedStream()
74 aIp6Length += mPayload.mLength; in GetUncompressedStream()
96 SuccessOrQuit(aMessage.AppendBytes(mPayload.mData, mPayload.mLength)); in GetUncompressedStream()