1 #include autogen
-version.def
5 extern int
atoi(const char *)
;
17 descrip
= "Force IPv4 DNS name resolution";
19 Force DNS resolution of following host names on the command line
20 to the IPv4 namespace.
28 descrip
= "Force IPv6 DNS name resolution";
30 Force DNS resolution of following host names on the command line
31 to the IPv6 namespace.
38 descrip
= "Require crypto authentication";
39 flags
-cant
= authnoreq
;
41 Require cryptographic authentication for broadcast client
,
42 multicast client and symmetric passive associations.
50 descrip
= "Do not require crypto authentication";
53 Do not require cryptographic authentication for broadcast client
,
54 multicast client and symmetric passive associations.
55 This is almost never a good idea.
62 descrip
= "Allow us to sync to broadcast servers";
71 descrip
= "configuration file name";
73 The name and path of the configuration file
,
85 descrip
= "Increase output debug message level";
86 omitted
-usage
= "this package was built using 'configure --disable--debug'";
88 Increase the debugging message output level.
93 name
= set
-debug
-level
;
98 descrip
= "Set the output debug message level";
99 omitted
-usage
= "this package was built using 'configure --disable--debug'";
100 flag
-code
= 'DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );';
102 Set the output debugging level. Can be supplied multiple times
,
103 but each overrides the previous
value(s
).
111 descrip
= "frequency drift file name";
113 The name and path of the frequency file
,
116 This is the same operation as the
118 configuration specification in the
128 descrip
= "Allow the first adjustment to be Big";
132 exits with a message to the system log if the offset exceeds the panic threshold
, which is
1000 s by default. This option allows the time to be set to any value without restriction
; however
, this can happen only once. If the threshold is exceeded after that
,
134 will exit with a message to the system log. This option can be used with the
141 configuration file directive for other options.
146 ifdef
= HAVE_DROPROOT
;
150 descrip
= "Jail directory";
151 omitted
-usage
= "built without --enable-clockctl or --enable-linuxcaps";
153 Chroot the server to the directory
156 This option also implies that the server attempts to drop root privileges at startup.
157 You may need to also specify a
160 This option is only available if the OS supports adjusting the clock
161 without full root privileges.
162 This option is supported under
NetBSD (configure with
164 ) and
Linux (configure with
174 descrip
= "Listen on an interface name or address";
179 Open the network address given
, or all the addresses associated with the
180 given interface name. This option may appear multiple times. This option
181 also implies not opening other addresses
, except wildcard and localhost.
182 This option is deprecated. Please consider using the configuration file
183 interface command
, which is more versatile.
191 descrip
= "path to symmetric keys";
193 Specify the name and path of the symmetric key file.
196 This is the same operation as the
198 configuration file directive.
206 descrip
= "path to the log file";
208 Specify the name and path of the log file.
209 The default is the system log file.
210 This is the same operation as the
212 configuration file directive.
219 descrip
= "Do not listen to virtual interfaces";
221 Do not listen to virtual interfaces
, defined as those with
222 names containing a colon. This option is deprecated. Please
223 consider using the configuration file interface command
, which
230 name
= modifymmtimer
;
232 descrip
= "Modify Multimedia Timer (Windows only)";
234 Set the Windows Multimedia Timer to highest resolution. This
235 ensures the resolution does not change while ntpd is running
,
236 avoiding timekeeping glitches associated with changes.
243 descrip
= "Do not fork";
251 descrip
= "Run at high priority";
253 To the extent permitted by the operating system
, run
255 at the highest priority.
263 descrip
= "path to the PID file";
265 Specify the name and path of the file used to record
268 This is the same operation as the
270 configuration file directive.
278 descrip = "Process priority";
280 To the extent permitted by the operating system, run
283 sched_setscheduler(SCHED_FIFO)
291 descrip = "Set the time and quit";
294 will exit just after the first time the clock is set. This behavior mimics that of the
296 program, which is to be retired.
301 options can be used with this option.
302 Note: The kernel time discipline is disabled with this option.
307 name = propagationdelay;
310 descrip = "Broadcast/propagation delay";
312 Specify the default propagation delay from the broadcast/multicast server to this client. This is necessary only if the delay cannot be computed automatically by the protocol.
318 name = saveconfigquit;
320 descrip = "Save parsed configuration and quit";
322 Cause ntpd to parse its startup configuration file and save an
323 equivalent to the given filename and exit. This option was
324 designed for automated testing.
332 descrip = "Statistics file location";
334 Specify the directory path for files created by the statistics facility.
335 This is the same operation as the
337 configuration file directive.
345 descrip = "Trusted key number";
350 Add a key number to the trusted key list.
355 ifdef = HAVE_DROPROOT;
359 descrip = "Run as userid (or userid:groupid)";
360 omitted-usage = "built without --enable-clockctl or --enable-linuxcaps";
362 Specify a user, and optionally a group, to switch to.
363 This option is only available if the OS supports adjusting the clock
364 without full root privileges.
365 This option is supported under NetBSD (configure with
367 ) and Linux (configure with
374 name = updateinterval;
377 descrip = "interval in seconds between scans for new or dropped interfaces";
379 Give the time in seconds between two scans for new or dropped interfaces.
380 For systems with routing socket support the scans will be performed shortly after the interface change
381 has been detected by the system.
382 Use 0 to disable scanning. 60 seconds is the minimum time between scans.
388 /* value = v; Bug 817 */
390 descrip = "make ARG an ntp variable (RW)";
400 /* value = V; Bug 817 */
402 descrip = "make ARG an ntp variable (RW|DEF)";
413 descrip = "Slew up to 600 seconds";
415 Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold.
416 This option sets the threshold to 600 s, which is well within the accuracy window to set the clock manually.
417 Note: Since the slew rate of typical Unix kernels is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s.
418 Thus, an adjustment as much as 600 s will take almost 14 days to complete.
419 This option can be used with the
426 configuration file directive for other options.
427 Note: The kernel time discipline is disabled with this option.
434 descrip = "Use CPU cycle counter (Windows only)";
436 Attempt to substitute the CPU counter for QueryPerformanceCounter.
437 The CPU counter and QueryPerformanceCounter are compared, and if
438 they have the same frequency, the CPU counter (RDTSC on x86) is
439 used directly, saving the overhead of a system call.
447 descrip = "Force CPU cycle counter use (Windows only)";
449 Force substitution the CPU counter for QueryPerformanceCounter.
450 The CPU counter (RDTSC on x86) is used unconditionally with the
451 given frequency (in Hz).