freebsd-dev/contrib/ntp/clockstuff
Ollivier Robert eb6d21b4ca Merge 4.2.4p8 into contrib (r200452 & r200454).
Subversion is being difficult here so take a hammer and get it in.

MFC after:		2 weeks
Security:		CVE-2009-3563
2009-12-15 14:58:10 +00:00
..
chutest.c
clktest.c
Makefile.am
Makefile.in Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
propdelay.c
README

README file for directory ./clockstuff of the NTP Version 4 distribution

This directory contains the sources for utility programs designed to
support radio clocks. The chutest.c and clktest.c are desgined to
test the chu_clk and tty_clk line disciplines and STREAMS modules in
the ../kernel directory.

These files have been modified to work with either the line disciplines
or the STREAMS modules. Be sure to define -DSTREAM if appropriate.

These are random bits of things written to help with clocks.  You can
make things in here by typing one or more of:

	make propdelay (or `make')
	make chutest
	make clktest

Propdelay computes high frequency propagation delays, given the
longitude and latitude of the transmitter and receiver.  Use
this for WWV/H and CHU.  Don't use it for WWVB (the computation
is easier for that).

Chutest can be used to input and process data from a CHU modem
attached to a serial port.  It will use the CHU line discipline
(if installed), or raw mode otherwise.  This was used to test
out the initial reduction algorithms, and may not be up to date.

Clktest can be used to test the clock line discipline (CLKLDISC,
it must be available), and to take a look at radio clocks attached to a
serial port.