Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_crypto.c1842 leap_result_t leap_data; in crypto_update() local
1900 leapsec_frame(&leap_data); in crypto_update()
1901 if ( ! memcmp(&leap_data.ebase, &leap_data.ttime, sizeof(vint64))) { in crypto_update()
1904 leapsec_query(&leap_data, nowntp, &now); in crypto_update()
1915 if (leap_data.tai_offs > 10) { in crypto_update()
1919 ptr[0] = htonl(leap_data.tai_offs); in crypto_update()
1920 ptr[1] = htonl(leap_data.ebase.d_s.lo); in crypto_update()
1921 if (leap_data.ttime.d_s.hi >= 0) in crypto_update()
1922 ptr[2] = htonl(leap_data.ttime.D_s.lo + 7*86400); in crypto_update()
1924 ptr[2] = htonl(leap_data.ebase.D_s.lo + 25*86400); in crypto_update()