Home
last modified time | relevance | path

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

/openthread-2.7.6/tests/unit/
Dtest_checksum.cpp167 uint16_t payloadSize = size - sizeof(udpHeader); in TestUdpMessageChecksum() local
169 Random::NonCrypto::FillBuffer(buffer, payloadSize); in TestUdpMessageChecksum()
170 message->WriteBytes(sizeof(udpHeader), &buffer[0], payloadSize); in TestUdpMessageChecksum()
238 uint16_t payloadSize = size - sizeof(icmp6Header); in TestIcmp6MessageChecksum() local
240 Random::NonCrypto::FillBuffer(buffer, payloadSize); in TestIcmp6MessageChecksum()
241 message->WriteBytes(sizeof(icmp6Header), &buffer[0], payloadSize); in TestIcmp6MessageChecksum()