Searched refs:leap (Results 51 - 67 of 67) sorted by relevance

123

/freebsd-12-stable/contrib/ntp/include/
H A Dntpd.h228 extern u_long leapsec; /* seconds to next leap (proximity class) */
229 extern int leapdif; /* TAI difference step at next leap second*/
292 extern void record_raw_stats (sockaddr_u *srcadr, sockaddr_u *dstadr, l_fp *t1, l_fp *t2, l_fp *t3, l_fp *t4, int leap, int version, int mode, int stratum, int ppoll, int precision, double root_delay, double root_dispersion, u_int32 refid, int len, u_char *extra);
473 extern u_char sys_leap; /* system leap indicator */
H A Dntp.h293 u_char leap; /* local leap indicator */ member in struct:peer
411 * Values for peer.leap, sys_leap
413 #define LEAP_NOWARNING 0x0 /* normal, no leap second warning */
546 u_char li_vn_mode; /* peer leap indicator */
645 #define EVNT_ARMED 9 /* leap armed */
646 #define EVNT_DISARMED 10 /* leap disarmed */
647 #define EVNT_LEAP 11 /* leap event */
664 #define PEVNT_ARMED (9 | PEER_EVENT) /* leap armed */
760 #define LOOP_LEAP 14 /* insert leap afte
[all...]
/freebsd-12-stable/contrib/ntp/ntpd/
H A Drefclock_oncore.c85 * before the leap second is to be applied, but in practice at least some of
88 * instance->pp->leap indicator but only run this test in December and June for
107 * Luis Batanero Guerrero <luisba@rao.es> (Dec 2005) Patch for leap seconds
318 u_char count4; /* cycles thru leap after Gj to issue Bj */
2429 * Check the leap second status once per day.
2464 /* get leap-second warning message */
2470 * leap second will occur.
2488 instance->pp->leap = LEAP_ADDSECOND;
2489 cp = "Set pp.leap to LEAP_ADDSECOND";
2492 instance->pp->leap
[all...]
H A Drefclock_arc.c29 #undef ARCRON_LEAPSECOND_KEEN /* Respond quickly to leap seconds: doesn't work yet. */
127 defined) to try to resync quickly after a potential leap-second
508 thinks a leap-second may have happened.
523 indicate that a leap-triggered resync has been started. Having
1194 (pp->second < 0) || (pp->second > 60) /*Allow for leap seconds.*/ ||
1246 pp->leap = LEAP_NOWARNING;
1254 pp->leap = LEAP_NOTINSYNC; /* MSF clock is free-running. */
1428 /* Find out if a leap-second might just have happened...
1435 /* A leap may have happened, and no resync has started yet...*/
1439 /* Definitely not leap
[all...]
H A Drefclock_wwv.c129 * LEPSEC is set during the last minute of the leap day. At the end of
141 #define LEPSEC 0x1000 /* leap minute */
228 #define DST1 0x10 /* 55 DST1 leap warning */
230 #define SECWAR 0x40 /* 3 leap second warning */
302 #define MIN2 12 /* leap second */
375 {MIN2, 0} /* 60 leap second */
1174 * If the leap bit is set, set the minute epoch
1736 * digit bits, decodes miscellaneous bits and dances the leap seconds.
1738 * Normally, the minute has 60 seconds numbered 0-59. If the leap
1740 * for leap year
[all...]
H A Dntp_proto.c109 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 bit
[all...]
H A Drefclock_parse.c4159 parse->generic->leap = LEAP_NOTINSYNC;
4167 * we pick this state also for time code that pass leap warnings
4171 parse->generic->leap = (parse->flags & PARSE_LEAP_DELETE) ? LEAP_DELSECOND : LEAP_ADDSECOND;
4176 parse->generic->leap = LEAP_DELSECOND;
4180 parse->generic->leap = LEAP_NOWARNING;
4184 if (parse->generic->leap != LEAP_NOTINSYNC)
4248 * The week number transmitted by the GPS satellites for the leap date
4249 * is truncated to 8 bits only. If the nearest leap second date is off
4251 * calendar date is ambiguous. On the other hand, if a leap second is
4254 * for which the leap secon
[all...]
H A Dntp_request.c891 ip->leap = pp->leap;
1092 is->leap = sys_leap;
H A Drefclock_ripencc.c259 char leapdelta; /* delta of next leap event */
260 unsigned char utcflags; /* delta of next leap event */
455 * leap.
1050 case 0x4F: /* UTC parameters, for leap info */
1533 * If we hit the leap second, we choose to skip this sample
1564 pp-> leap = (up->leapdelta > 0)
1568 pp-> leap = LEAP_NOWARNING;
H A Dntp_control.c341 { CS_LEAP, RW, "leap" }, /* 1 */
505 { CP_LEAP, RO, "leap" }, /* 8 */
2654 ctl_putuint(peer_var[id].text, p->leap);
3424 * write_variables - write into variables. We only allow leap bit
5042 * CryptoNAK, or when a leap second alarm is going off while
/freebsd-12-stable/usr.sbin/ntp/ntpdc/
H A Dnl.c134 printf("offsetof(leap) = %d\n",
135 (int) offsetof(struct info_peer, leap));
302 printf("offsetof(leap) = %d\n",
303 (int) offsetof(struct info_sys, leap));
/freebsd-12-stable/contrib/ntp/ntpdc/
H A Dntpdc_ops.c608 "leap %c%c, refid [%s], rootdistance %s, rootdispersion %s\n",
609 pp->leap & 0x2 ? '1' : '0',
610 pp->leap & 0x1 ? '1' : '0',
987 (void) fprintf(fp, "leap indicator: %c%c\n",
988 is->leap & 0x2 ? '1' : '0',
989 is->leap & 0x1 ? '1' : '0');
/freebsd-12-stable/contrib/ntp/scripts/
H A DMakefile.in531 update-leap \
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
H A Dsme.c294 if (ssid->leap) {
H A Dconfig.c1507 ssid->leap++;
H A Dwpa_supplicant.c2645 if (ssid->leap) {
/freebsd-12-stable/contrib/ntp/
H A Dconfigure1842 --enable-leap-smear - experimental leap smear code
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want the experimental leap smear code" >&5
33106 $as_echo_n "checking if we want the experimental leap smear code... " >&6; }
33107 # Check whether --enable-leap-smear was given.
33520 ac_config_files="$ac_config_files scripts/update-leap/Makefile"
33522 ac_config_files="$ac_config_files scripts/update-leap/update-leap"
34692 "scripts/update-leap/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/update-leap/Makefil
[all...]

Completed in 699 milliseconds

123