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

/systemd/src/timesync/
H A Dtimesyncd-manager.c158 struct ntp_msg ntpmsg = { local
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);
196 len = sendto(m->server_socket, &ntpmsg, sizeof(ntpmsg), MSG_DONTWAIT, &m->current_server_address->sockaddr.sa, m->current_server_address->socklen);
197 if (len == sizeof(ntpmsg)) {
475 struct ntp_msg ntpmsg; local
478 .iov_base = &ntpmsg,
479 .iov_len = sizeof(ntpmsg),
558 if (be32toh(ntpmsg
[all...]

Completed in 30 milliseconds