Lines Matching refs:header

30     .header = {  in generateEmptyPacket()
49 .header = { in generateResetPacket()
78 pkt.header.packetCode = in generateResetAckPacket()
227 dumpHeader(os, pkt.header); in dumpEmptyPacket()
233 dumpHeader(os, pkt.header); in dumpResetPacket()
240 dumpHeader(os, pkt.header); in dumpPacket()
242 dumpRaw(os, pkt.payload, pkt.header.length); in dumpPacket()
246 &pkt.payload[pkt.header.length]); in dumpPacket()
247 uint32_t crc = chppCrc32(0, reinterpret_cast<const uint8_t *>(&pkt.header), in dumpPacket()
248 sizeof(pkt.header) + pkt.header.length); in dumpPacket()
281 sizeof(pkt.preamble) + sizeof(pkt.header) + sizeof(ChppTransportFooter); in checkPacketValidity()
282 EXPECT_EQ(pkt.header.length, received.size() - kFixedLenPortion); in checkPacketValidity()
284 EXPECT_EQ(pkt.header.flags & CHPP_TRANSPORT_FLAG_RESERVED, 0); in checkPacketValidity()
285 EXPECT_EQ(pkt.header.reserved, 0); in checkPacketValidity()
287 uint8_t error = CHPP_TRANSPORT_GET_ERROR(pkt.header.packetCode); in checkPacketValidity()
290 uint8_t attrs = CHPP_TRANSPORT_GET_ATTR(pkt.header.packetCode); in checkPacketValidity()
293 uint32_t crc = chppCrc32(0, reinterpret_cast<const uint8_t *>(&pkt.header), in checkPacketValidity()
294 sizeof(pkt.header) + pkt.header.length); in checkPacketValidity()
296 &received[sizeof(pkt.preamble) + sizeof(pkt.header) + pkt.header.length]); in checkPacketValidity()
317 comparePacketHeader(rx->header, expected.header); in comparePacket()
330 comparePacketHeader(rx->header, expected.header); in comparePacket()