19#if defined(__cplusplus)
23#define ntp64_to_ntp32(ntp_sec, ntp_frac) \
24 ((((ntp_sec) & 0x0000ffff) << 16) | \
25 (((ntp_frac) & 0xffff0000) >> 16))
27#define ntp32_sub(now, then) ((now) > (then)) ? ((now) - (then)) : (((now) - (then)) + 0x7fffffff)
29void ntp64_time(uint32_t *ntp_sec, uint32_t *ntp_frac);
31#if defined(__cplusplus)
void ntp64_time(uint32_t *ntp_sec, uint32_t *ntp_frac)