13 igtl_int64* tmp64 = (igtl_int64*)message;
14 igtl_int32* tmp32 = (igtl_int32*)message;
15 igtl_uint16* tmp16 = (igtl_uint16*)message;
17 if (igtl_is_little_endian())
20 for (i = 0; i < 3; i++)
21 tmp64[i] = BYTE_SWAP_INT64(tmp64[i]);
23 for (i = 0; i < 11; i ++)
24 tmp32[6 + i] = BYTE_SWAP_INT32(tmp32[6 + i]);
26 tmp16[34] = BYTE_SWAP_INT16(tmp16[34]);
33 igtl_uint64 crc = crc64(0, 0, 0);
igtl_uint64 igtl_export igtl_sonix_status_get_crc(igtl_sonix_status_message *message)
void igtl_export igtl_sonix_status_convert_byte_order(igtl_sonix_status_message *message)
#define IGTL_SONIX_STATUS_HEADER_SIZE