• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/ntp/ntpd/

Lines Matching refs:leap

109 u_char	sys_leap;		/* system leap indicator, use set_sys_leap() to change this */
110 u_char xmt_leap; /* leap indicator sent in client requests, set up by set_sys_leap() */
153 static int leap_vote_ins; /* leap consensus for insert */
154 static int leap_vote_del; /* leap consensus for delete */
242 * Under certain conditions we send faked leap bits to clients, so
253 * If leap smear is enabled in general we must
254 * never send a leap second warning to clients,
622 u_char hisleap; /* packet leap indicator */
1339 DPRINTF(2, ("receive: sys leap: %0x, sys_stratum %d > hisstratum+1 %d, !sys_cohort %d && sys_stratum == hisstratum+1, loop refid %#x == pkt refid %#x\n", sys_leap, sys_stratum, hisstratum + 1, !sys_cohort, rbufp->dstadr->addr_refid, pkt->refid));
2503 * Verify the server is synchronized; that is, the leap bits,
2540 peer->leap = pleap;
2935 * leap bits. If crypto, the timer will goose the setup
2960 * If there is no leap second pending and the number of
2961 * survivor leap bits is greater than half the number of
2962 * survivors, try to schedule a leap for the end of the
2963 * current month. (This only works if no leap second for
3208 peer->leap = LEAP_NOTINSYNC;
3431 * down, the system leap bits are set to 11 and the stratum set to
3829 * While at it, count the number of leap warning bits found.
3830 * This will be used later to vote the system leap warning bit.
3831 * If a leap warning bit is found on a reference clock, the vote
3857 if (peer->leap == LEAP_ADDSECOND) {
3863 if (peer->leap == LEAP_DELSECOND) {
4280 && peer->leap != LEAP_NOTINSYNC
4534 * If this is a kiss-o'-death (KoD) packet, show leap
4570 * If we are inside the leap smear interval we add
4624 * leap smear, as we don't want to risk the
4986 * > TEST10 bad leap or stratum below floor or at or above ceiling
5003 if ( peer->leap == LEAP_NOTINSYNC