1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/*
* Utility code to return the number of NTP peers of a system.
*
* This code is xntpdc's monlist command butchered and packaged in a single
* source file.
*
* Modified fom xntpd source by Larry Schwimmer
* Copyright 1992-1997 University of Delaware
* Copyright 1997, 1998, 2008, 2012
* The Board of Trustees of the Leland Stanford Junior University
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose with or without fee is hereby granted,
* provided that the above copyright notice appears in all copies and that
* both the copyright notice and this permission notice appear in supporting
* documentation, and that the name University of Delaware not be used in
* advertising or publicity pertaining to distribution of the software without
* specific, written prior permission. The University of Delaware makes no
* representations about the suitability this software for any purpose. It is
* provided "as is" without express or implied warranty.
*/
|