1 #include <inttypes.h> 2 typedef uint32_t mpers_ptr_t; 3 typedef 4 struct { 5 uint32_t modes; 6 unsigned char mpers_filler_1[4]; 7 int64_t offset; 8 int64_t freq; 9 int64_t maxerror; 10 int64_t esterror; 11 int32_t status; 12 unsigned char mpers_filler_2[4]; 13 int64_t constant; 14 int64_t precision; 15 int64_t tolerance; 16 struct { 17 int64_t tv_sec; 18 int64_t tv_usec; 19 } ATTRIBUTE_PACKED time; 20 int64_t tick; 21 int64_t ppsfreq; 22 int64_t jitter; 23 int32_t shift; 24 unsigned char mpers_filler_3[4]; 25 int64_t stabil; 26 int64_t jitcnt; 27 int64_t calcnt; 28 int64_t errcnt; 29 int64_t stbcnt; 30 int32_t tai; 31 unsigned char mpers_end_filler_4[44]; 32 } ATTRIBUTE_PACKED mx32_struct_timex; 33 #define MPERS_mx32_struct_timex mx32_struct_timex 34