Searched refs:payloadSize (Results 1 – 1 of 1) sorted by relevance
167 uint16_t payloadSize = size - sizeof(udpHeader); in TestUdpMessageChecksum() local169 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() local240 Random::NonCrypto::FillBuffer(buffer, payloadSize); in TestIcmp6MessageChecksum()241 message->WriteBytes(sizeof(icmp6Header), &buffer[0], payloadSize); in TestIcmp6MessageChecksum()