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

/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_jupiter.c722 u_int32 sweek; local
729 sweek = DS2UI(jp->sweek) % WEEKSECS;
755 if (instance->gpos_sweek >= sweek) {
756 if ((instance->gpos_sweek - sweek) > WEEKSECS / 2)
760 if ((sweek - instance->gpos_sweek) > WEEKSECS / 2)
764 else if (sweek == 0 && instance->lastsweek == WEEKSECS - 1) {
771 * See if the sweek stayed the same (this happens when there is
777 * - the sweek didn't increase by one and
782 if (instance->lastsweek == sweek)
[all...]
H A Djupiter.h87 u_short sweek[2]; /* GPS seconds into week */ member in struct:jgpos
127 u_short sweek[2]; /* GPS seconds into week */ member in struct:jchan
189 u_short sweek[2]; /* GPS seconds into week */ member in struct:jpulse
222 u_short sweek[2]; /* GPS seconds into week */ member in struct:jpvtinit

Completed in 109 milliseconds