Searched refs:trans_time (Results 1 - 2 of 2) sorted by relevance

/systemd/src/timesync/
H A Dtimesyncd-manager.h61 struct timespec trans_time; member in struct:Manager
H A Dtimesyncd-manager.c122 struct ntp_ts trans_time; member in struct:ntp_msg
190 assert_se(clock_gettime(CLOCK_REALTIME, &m->trans_time) >= 0);
191 ntpmsg.trans_time.sec = htobe32(m->trans_time.tv_sec + OFFSET_1900_1970);
192 ntpmsg.trans_time.frac = htobe32(m->trans_time.tv_nsec);
558 if (be32toh(ntpmsg.origin_time.sec) != m->trans_time.tv_sec + OFFSET_1900_1970 ||
559 be32toh(ntpmsg.origin_time.frac) != m->trans_time.tv_nsec) {
567 be32toh(ntpmsg.trans_time.sec) < TIME_EPOCH + OFFSET_1900_1970) {
620 origin = ts_to_d(&m->trans_time)
[all...]

Completed in 579 milliseconds