Searched refs:mPayload (Results 1 – 3 of 3) sorted by relevance
/openthread-3.6.0/tests/unit/ |
D | test_checksum.cpp | 95 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()
|
D | test_lowpan.hpp | 222 memcpy(mPayload.mData, aPayload, aLength); in SetPayload() 223 mPayload.mLength = aLength; in SetPayload() 283 Payload mPayload; member in ot::TestIphcVector
|
D | test_lowpan.cpp | 43 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()
|