12 #ifndef RTCTK_STANDALONETOOLS_RAWRECORDER_PACKETFORMATS_HPP
13 #define RTCTK_STANDALONETOOLS_RAWRECORDER_PACKETFORMATS_HPP
16 #include <boost/endian/arithmetic.hpp>
65 RTMS_FRAME_INFO_IS_LITTLE_ENDIAN = 1 << 3,
67 RTMS_FRAME_INFO_IS_SIM_SOURCE = 1 << 4,
69 RTMS_FRAME_INFO_RTMS_PACKET_TYPE_MASK = 0b1110'0000,
137 static_assert(
sizeof(
MudpiHeader) == 32,
"Invalid MudpiHeader struct size");
138 static_assert(
sizeof(
RtmsFrameInfo) == 1,
"Invalid RtmsFrameInfo struct size");
139 static_assert(
sizeof(
RtmsCommonHeader) == 8,
"Invalid RtmsCommonHeader struct size");
140 static_assert(
sizeof(
RtmsLeaderHeader) == 8,
"Invalid RtmsLeaderHeader struct size");
141 static_assert(
sizeof(
RtmsPayloadHeader) == 16,
"Invalid RtmsPayloadHeader struct size");
142 static_assert(
sizeof(
RtmsTrailerHeader) == 8,
"Invalid RtmsTrailerHeader struct size");
145 #endif //RTCTK_STANDALONETOOLS_RAWRECORDER_PACKETFORMATS_HPP