Home
last modified time | relevance | path

Searched refs:trans_time (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/timesync/
Dtimesyncd-manager.c135 assert_se(clock_gettime(CLOCK_REALTIME, &m->trans_time) >= 0); in manager_send_request()
136 ntpmsg.trans_time.sec = htobe32(graceful_add_offset_1900_1970(m->trans_time.tv_sec)); in manager_send_request()
137 ntpmsg.trans_time.frac = htobe32(m->trans_time.tv_nsec); in manager_send_request()
464 … if (be32toh(ntpmsg.origin_time.sec) != graceful_add_offset_1900_1970(m->trans_time.tv_sec) || in manager_receive_response()
465 be32toh(ntpmsg.origin_time.frac) != (unsigned long) m->trans_time.tv_nsec) { 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()
528 trans = ntp_ts_to_d(&ntpmsg.trans_time); in manager_receive_response()
592 m->origin_time = m->trans_time; in manager_receive_response()
Dtimesyncd-ntp-message.h44 struct ntp_ts trans_time; member
Dtimesyncd-manager.h73 struct timespec trans_time; member
Dtimesyncd-bus.c203 ntp_ts_to_usec(&m->ntpmsg.trans_time), in property_get_ntp_message()