Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/ntp/ntpd/refclock_local.c
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | #if defined(KERNEL_PLL) && defined(LOCKCLOCK) | ||||
default: | default: | ||||
pp->leap = LEAP_NOTINSYNC; | pp->leap = LEAP_NOTINSYNC; | ||||
peer->stratum = STRATUM_UNSPEC; | peer->stratum = STRATUM_UNSPEC; | ||||
} | } | ||||
pp->disp = 0; | pp->disp = 0; | ||||
pp->jitter = 0; | pp->jitter = 0; | ||||
#else /* KERNEL_PLL LOCKCLOCK */ | #else /* KERNEL_PLL LOCKCLOCK */ | ||||
pp->leap = LEAP_NOWARNING; | |||||
pp->disp = DISPERSION; | pp->disp = DISPERSION; | ||||
pp->jitter = 0; | pp->jitter = 0; | ||||
#endif /* KERNEL_PLL LOCKCLOCK */ | #endif /* KERNEL_PLL LOCKCLOCK */ | ||||
pp->lastref = pp->lastrec; | pp->lastref = pp->lastrec; | ||||
refclock_receive(peer); | refclock_receive(peer); | ||||
} | } | ||||
#else | #else | ||||
int refclock_local_bs; | int refclock_local_bs; | ||||
#endif /* REFCLOCK */ | #endif /* REFCLOCK */ |