Lines Matching +full:123 +full:- +full:db
1 /* -*- Mode: Text -*- */
5 #include autogen-version.def
8 prog-name = "sntp";
9 prog-title = "reference Simple Network Time Protocol client";
10 argument = '[ hostname-or-IP ...]';
14 long-opts;
16 config-header = "config.h";
25 flags-cant = ipv6;
27 doc = <<- _EndOfDoc_
36 flags-cant = ipv4;
38 doc = <<- _EndOfDoc_
47 descrip = "Enable authentication with the key @var{auth-keynumber}";
48 arg-type = number;
49 arg-name = "auth-keynumber";
50 doc = <<- _EndOfDoc_
54 See the @option{keyfile} option (@option{-k}) for more details.
62 arg-type = string;
63 arg-name = "broadcast-address";
65 stack-arg;
66 doc = <<- _EndOfDoc_
69 can (and probably should) be modified with @option{-t}.
76 descrip = "Concurrently query all IPs returned for host-name";
77 arg-type = string;
78 arg-name = "host-name";
80 stack-arg;
81 doc = <<- _EndOfDoc_
86 one after another, with a 2-second gap in between each query.
88 The @option{-c} or @option{--concurrent} flag says that any IPs
89 returned for the DNS lookup of the supplied host-name are on
94 #include debug-opt.def
100 arg-type = number;
101 arg-name = "milliseconds";
102 arg-default = 50;
103 doc = <<- _EndOfDoc_
114 arg-type = file;
115 arg-name = "file-name";
116 arg-default = "/var/db/ntp-kod";
118 doc = <<- _EndOfDoc_
128 descrip = "Look in this file for the key specified with @option{-a}";
129 arg-type = file;
130 arg-name = "file-name";
131 arg-default = "/etc/ntp.keys";
132 doc = <<- _EndOfDoc_
134 @code{sntp} will search for the key specified with @option{-a}
143 arg-type = file;
144 arg-name = "file-name";
146 doc = <<- _EndOfDoc_
155 arg-type = number;
156 arg-range = "0->";
158 doc = <<- _EndOfDoc_
171 arg-type = number;
172 arg-default = 4;
173 arg-range = "0->7";
174 doc = <<- _EndOfDoc_
183 descrip = "Use the NTP Reserved Port (port 123)";
184 doc = <<- _EndOfDoc_
185 Use port 123, which is reserved for NTP, for our network
194 doc = <<- _EndOfDoc_
202 doc = <<- _EndOfDoc_
211 arg-type = number;
212 arg-name = "seconds";
213 arg-default = 5;
214 doc = <<- _EndOfDoc_
229 doc = <<- _EndOfDoc_
235 explain = <<- _END_EXPLAIN
238 doc-section = {
239 ds-type = 'DESCRIPTION';
240 ds-format = 'mdoc';
241 ds-text = <<- _END_PROG_MDOC_DESCRIP
256 .Ic "'1996-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 [host] IP sN'"
268 .Ic "'+/- 0.089'"
274 .Ic "'+/- ?'" .
290 doc-section = {
291 ds-type = 'USAGE';
292 ds-format = 'mdoc';
293 ds-text = <<- _END_MDOC_USAGE
294 .Bl -tag -width indent
299 .It Li "sntp -Ss -M 128 ntpserver.somewhere"
305 .Ic "sntp -Ss -M 128 ntpserver.somewhere"
312 .It Li "sntp -S ntpserver.somewhere"
318 .Ic "sntp -S ntpserver.somewhere"
329 doc-section = {
330 ds-type = 'AUTHORS';
331 ds-format = 'mdoc';
332 ds-text = <<- _END_MDOC_AUTHORS