Searched refs:OFFSET_1900_1970 (Results 1 – 3 of 3) sorted by relevance
83 uint64_t a = (uint64_t) t + OFFSET_1900_1970; in graceful_add_offset_1900_1970()472 if (be32toh(ntpmsg.recv_time.sec) < TIME_EPOCH + OFFSET_1900_1970 || in manager_receive_response()473 be32toh(ntpmsg.trans_time.sec) < TIME_EPOCH + OFFSET_1900_1970) { in manager_receive_response()526 origin = ts_to_d(&m->trans_time) + OFFSET_1900_1970; in manager_receive_response()529 dest = ts_to_d(recv_time) + OFFSET_1900_1970; in manager_receive_response()562 origin - OFFSET_1900_1970, in manager_receive_response()563 receive - OFFSET_1900_1970, in manager_receive_response()564 trans - OFFSET_1900_1970, in manager_receive_response()565 dest - OFFSET_1900_1970, in manager_receive_response()
21 #define OFFSET_1900_1970 UINT64_C(2208988800) macro
163 …return (be32toh(ts->sec) - OFFSET_1900_1970) * USEC_PER_SEC + (be32toh(ts->frac) * USEC_PER_SEC) /… in ntp_ts_to_usec()