FreeBSD/contrib/ntp/ntpd/ntp_peer.c
/*
 * clear_all - flush all time values for all associations
 */
flush all time values for all associations
flush all time values for all associations
void
clear_all(void)
{
	struct peer *p;
	for (p = peer_list; p != NULL; p = p->p_link)
		if (!(MDF_TXONLY_MASK & p->cast_flags))
			peer_clear(p, "STEP");
	DPRINTF(1, ("clear_all: at %lu\n", current_time));
}
void clear_all ( void ) { struct peer * p ; for ( p = peer_list ; p != NULL ; p = p -> p_link ) if ( ! ( MDF_TXONLY_MASK & p -> cast_flags ) ) peer_clear ( p , " " ) ; DPRINTF ( 1 , ( " \n " , current_time ) ) ; }
clear_all - flush all time values for all associations
clear_all - flush all time values for all associations
/*
	 * This routine is called when the clock is stepped, and so all
	 * previously saved time values are untrusted.
	 */