#
# EDIT THIS FILE WITH CAUTION (invoke-ntpdc.texi)
#
-# It has been AutoGen-ed June 26, 2022 at 05:34:08 AM by AutoGen 5.18.5
+# It has been AutoGen-ed June 27, 2022 at 12:01:01 AM by AutoGen 5.18.5
# From the definitions ntpdc-opts.def
# and the template file agtexi-cmd.tpl
@end ignore
* ntpdc numeric:: numeric option (-n)
* ntpdc peers:: peers option (-p)
* ntpdc showpeers:: showpeers option (-s)
+* ntpdc unconnected:: unconnected option (-u)
* ntpdc config:: presetting/configuring ntpdc
* ntpdc exit status:: exit status
* ntpdc Usage:: Usage
- prohibits the option 'command'
-s no showpeers Show a list of the peers
- prohibits the option 'command'
+ -u no unconnected Use unconnected UDP to communicate with ntpd (default on Windows)
opt version output version information and exit
-? no help display extended usage information and exit
-! no more-help extended usage information passed thru pager
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'dmpeers' interactive command.
+@node ntpdc unconnected
+@subsection unconnected option (-u)
+@cindex ntpdc-unconnected
+
+This is the ``use unconnected udp to communicate with ntpd (default on windows)'' option.
+Open an unconnected UDP association to ntpd (the default
+on Windows).
@node ntpdc config
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.c)
*
- * It has been AutoGen-ed June 26, 2022 at 05:34:04 AM by AutoGen 5.18.5
+ * It has been AutoGen-ed June 27, 2022 at 12:00:57 AM by AutoGen 5.18.5
* From the definitions ntpdc-opts.def
* and the template file options
*
/**
* static const strings for ntpdc options
*/
-static char const ntpdc_opt_strs[1914] =
+static char const ntpdc_opt_strs[2004] =
/* 0 */ "ntpdc 4.2.8p15\n"
"Copyright (C) 1992-2020 The University of Delaware and Network Time Foundation, all rights reserved.\n"
"This is free software. It is licensed for use, modification and\n"
/* 1411 */ "Show a list of the peers\0"
/* 1436 */ "SHOWPEERS\0"
/* 1446 */ "showpeers\0"
-/* 1456 */ "display extended usage information and exit\0"
-/* 1500 */ "help\0"
-/* 1505 */ "extended usage information passed thru pager\0"
-/* 1550 */ "more-help\0"
-/* 1560 */ "output version information and exit\0"
-/* 1596 */ "version\0"
-/* 1604 */ "save the option state to a config file\0"
-/* 1643 */ "save-opts\0"
-/* 1653 */ "load options from a config file\0"
-/* 1685 */ "LOAD_OPTS\0"
-/* 1695 */ "no-load-opts\0"
-/* 1708 */ "no\0"
-/* 1711 */ "NTPDC\0"
-/* 1717 */ "ntpdc - vendor-specific NTPD control program - Ver. 4.2.8p15\n"
+/* 1456 */ "Use unconnected UDP to communicate with ntpd (default on Windows)\0"
+/* 1522 */ "UNCONNECTED\0"
+/* 1534 */ "unconnected\0"
+/* 1546 */ "display extended usage information and exit\0"
+/* 1590 */ "help\0"
+/* 1595 */ "extended usage information passed thru pager\0"
+/* 1640 */ "more-help\0"
+/* 1650 */ "output version information and exit\0"
+/* 1686 */ "version\0"
+/* 1694 */ "save the option state to a config file\0"
+/* 1733 */ "save-opts\0"
+/* 1743 */ "load options from a config file\0"
+/* 1775 */ "LOAD_OPTS\0"
+/* 1785 */ "no-load-opts\0"
+/* 1798 */ "no\0"
+/* 1801 */ "NTPDC\0"
+/* 1807 */ "ntpdc - vendor-specific NTPD control program - Ver. 4.2.8p15\n"
"Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n\0"
-/* 1848 */ "$HOME\0"
-/* 1854 */ ".\0"
-/* 1856 */ ".ntprc\0"
-/* 1863 */ "http://bugs.ntp.org, bugs@ntp.org\0"
-/* 1897 */ "\n\0"
-/* 1899 */ "ntpdc 4.2.8p15";
+/* 1938 */ "$HOME\0"
+/* 1944 */ ".\0"
+/* 1946 */ ".ntprc\0"
+/* 1953 */ "http://bugs.ntp.org, bugs@ntp.org\0"
+/* 1987 */ "\n\0"
+/* 1989 */ "ntpdc 4.2.8p15";
/**
* ipv4 option description with
/** Compiled in flag settings for the showpeers option */
#define SHOWPEERS_FLAGS (OPTST_DISABLED)
+/**
+ * unconnected option description:
+ */
+/** Descriptive text for the unconnected option */
+#define UNCONNECTED_DESC (ntpdc_opt_strs+1456)
+/** Upper-cased name for the unconnected option */
+#define UNCONNECTED_NAME (ntpdc_opt_strs+1522)
+/** Name string for the unconnected option */
+#define UNCONNECTED_name (ntpdc_opt_strs+1534)
+/** Compiled in flag settings for the unconnected option */
+#define UNCONNECTED_FLAGS (OPTST_DISABLED)
+
/*
* Help/More_Help/Version option descriptions:
*/
-#define HELP_DESC (ntpdc_opt_strs+1456)
-#define HELP_name (ntpdc_opt_strs+1500)
+#define HELP_DESC (ntpdc_opt_strs+1546)
+#define HELP_name (ntpdc_opt_strs+1590)
#ifdef HAVE_WORKING_FORK
-#define MORE_HELP_DESC (ntpdc_opt_strs+1505)
-#define MORE_HELP_name (ntpdc_opt_strs+1550)
+#define MORE_HELP_DESC (ntpdc_opt_strs+1595)
+#define MORE_HELP_name (ntpdc_opt_strs+1640)
#define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
#else
#define MORE_HELP_DESC HELP_DESC
# define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT)
#endif
-#define VER_DESC (ntpdc_opt_strs+1560)
-#define VER_name (ntpdc_opt_strs+1596)
-#define SAVE_OPTS_DESC (ntpdc_opt_strs+1604)
-#define SAVE_OPTS_name (ntpdc_opt_strs+1643)
-#define LOAD_OPTS_DESC (ntpdc_opt_strs+1653)
-#define LOAD_OPTS_NAME (ntpdc_opt_strs+1685)
-#define NO_LOAD_OPTS_name (ntpdc_opt_strs+1695)
-#define LOAD_OPTS_pfx (ntpdc_opt_strs+1708)
+#define VER_DESC (ntpdc_opt_strs+1650)
+#define VER_name (ntpdc_opt_strs+1686)
+#define SAVE_OPTS_DESC (ntpdc_opt_strs+1694)
+#define SAVE_OPTS_name (ntpdc_opt_strs+1733)
+#define LOAD_OPTS_DESC (ntpdc_opt_strs+1743)
+#define LOAD_OPTS_NAME (ntpdc_opt_strs+1775)
+#define NO_LOAD_OPTS_name (ntpdc_opt_strs+1785)
+#define LOAD_OPTS_pfx (ntpdc_opt_strs+1798)
#define LOAD_OPTS_name (NO_LOAD_OPTS_name + 3)
/**
* Declare option callback procedures
/* desc, NAME, name */ SHOWPEERS_DESC, SHOWPEERS_NAME, SHOWPEERS_name,
/* disablement strs */ NULL, NULL },
+ { /* entry idx, value */ 10, VALUE_OPT_UNCONNECTED,
+ /* equiv idx, value */ 10, VALUE_OPT_UNCONNECTED,
+ /* equivalenced to */ NO_EQUIVALENT,
+ /* min, max, act ct */ 0, 1, 0,
+ /* opt state flags */ UNCONNECTED_FLAGS, 0,
+ /* last opt argumnt */ { NULL }, /* --unconnected */
+ /* arg list/cookie */ NULL,
+ /* must/cannot opts */ NULL, NULL,
+ /* option proc */ NULL,
+ /* desc, NAME, name */ UNCONNECTED_DESC, UNCONNECTED_NAME, UNCONNECTED_name,
+ /* disablement strs */ NULL, NULL },
+
{ /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_VERSION,
/* equivalenced to */ NO_EQUIVALENT,
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/** Reference to the upper cased version of ntpdc. */
-#define zPROGNAME (ntpdc_opt_strs+1711)
+#define zPROGNAME (ntpdc_opt_strs+1801)
/** Reference to the title line for ntpdc usage. */
-#define zUsageTitle (ntpdc_opt_strs+1717)
+#define zUsageTitle (ntpdc_opt_strs+1807)
/** ntpdc configuration file name. */
-#define zRcName (ntpdc_opt_strs+1856)
+#define zRcName (ntpdc_opt_strs+1946)
/** Directories to search for ntpdc config files. */
static char const * const apzHomeList[3] = {
- ntpdc_opt_strs+1848,
- ntpdc_opt_strs+1854,
+ ntpdc_opt_strs+1938,
+ ntpdc_opt_strs+1944,
NULL };
/** The ntpdc program bug email address. */
-#define zBugsAddr (ntpdc_opt_strs+1863)
+#define zBugsAddr (ntpdc_opt_strs+1953)
/** Clarification/explanation of what ntpdc does. */
-#define zExplain (ntpdc_opt_strs+1897)
+#define zExplain (ntpdc_opt_strs+1987)
/** Extra detail explaining what ntpdc does. */
#define zDetail (NULL)
/** The full version string for ntpdc. */
-#define zFullVersion (ntpdc_opt_strs+1899)
+#define zFullVersion (ntpdc_opt_strs+1989)
/* extracted from optcode.tlib near line 364 */
#if defined(ENABLE_NLS)
NO_EQUIVALENT, /* '-#' option index */
NO_EQUIVALENT /* index of default opt */
},
- 15 /* full option count */, 10 /* user option count */,
+ 16 /* full option count */, 11 /* user option count */,
ntpdc_full_usage, ntpdc_short_usage,
NULL, NULL,
PKGDATADIR, ntpdc_packager_info
/* referenced via ntpdcOptions.pOptDesc->pzText */
puts(_("Show a list of the peers"));
+ /* referenced via ntpdcOptions.pOptDesc->pzText */
+ puts(_("Use unconnected UDP to communicate with ntpd (default on Windows)"));
+
/* referenced via ntpdcOptions.pOptDesc->pzText */
puts(_("display extended usage information and exit"));
_EndOfDoc_;
};
+flag = {
+ name = unconnected;
+ value = u;
+ descrip = "Use unconnected UDP to communicate with ntpd (default on Windows)";
+ doc = <<- _EndOfDoc_
+ Open an unconnected UDP association to ntpd (the default
+ on Windows).
+ _EndOfDoc_;
+};
+
/* explain: Additional information whenever the usage routine is invoked */
explain = <<- _END_EXPLAIN
_END_EXPLAIN;
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
*
- * It has been AutoGen-ed June 26, 2022 at 05:34:04 AM by AutoGen 5.18.5
+ * It has been AutoGen-ed June 27, 2022 at 12:00:57 AM by AutoGen 5.18.5
* From the definitions ntpdc-opts.def
* and the template file options
*
INDEX_OPT_NUMERIC = 7,
INDEX_OPT_PEERS = 8,
INDEX_OPT_SHOWPEERS = 9,
- INDEX_OPT_VERSION = 10,
- INDEX_OPT_HELP = 11,
- INDEX_OPT_MORE_HELP = 12,
- INDEX_OPT_SAVE_OPTS = 13,
- INDEX_OPT_LOAD_OPTS = 14
+ INDEX_OPT_UNCONNECTED = 10,
+ INDEX_OPT_VERSION = 11,
+ INDEX_OPT_HELP = 12,
+ INDEX_OPT_MORE_HELP = 13,
+ INDEX_OPT_SAVE_OPTS = 14,
+ INDEX_OPT_LOAD_OPTS = 15
} teOptIndex;
/** count of all options for ntpdc */
-#define OPTION_CT 15
+#define OPTION_CT 16
/** ntpdc version */
#define NTPDC_VERSION "4.2.8p15"
/** Full ntpdc version text */
# warning undefining SHOWPEERS due to option name conflict
# undef SHOWPEERS
# endif
+# ifdef UNCONNECTED
+# warning undefining UNCONNECTED due to option name conflict
+# undef UNCONNECTED
+# endif
#else /* NO_OPTION_NAME_WARNINGS */
# undef IPV4
# undef IPV6
# undef NUMERIC
# undef PEERS
# undef SHOWPEERS
+# undef UNCONNECTED
#endif /* NO_OPTION_NAME_WARNINGS */
/**
#define VALUE_OPT_NUMERIC 'n'
#define VALUE_OPT_PEERS 'p'
#define VALUE_OPT_SHOWPEERS 's'
+#define VALUE_OPT_UNCONNECTED 'u'
/** option flag (value) for help-value option */
#define VALUE_OPT_HELP '?'
/** option flag (value) for more-help-value option */
.ds B-Font B
.ds I-Font I
.ds R-Font R
-.TH ntpdc 1ntpdcman "26 Jun 2022" "4.2.8p15" "User Commands"
+.TH ntpdc 1ntpdcman "27 Jun 2022" "4.2.8p15" "User Commands"
.\"
.\" EDIT THIS FILE WITH CAUTION (in-mem file)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:10 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:03 AM by AutoGen 5.18.5
.\" From the definitions ntpdc-opts.def
.\" and the template file agman-cmd.tpl
.SH NAME
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'dmpeers' interactive command.
.TP
+.NOP \f\*[B-Font]\-u\f[], \f\*[B-Font]\-\-unconnected\f[]
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
+.TP
.NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
Display usage information and exit.
.TP
-.Dd June 26 2022
+.Dd June 27 2022
.Dt NTPDC 1ntpdcmdoc User Commands
.Os
.\" EDIT THIS FILE WITH CAUTION (ntpdc-opts.mdoc)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:07 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:00 AM by AutoGen 5.18.5
.\" From the definitions ntpdc-opts.def
.\" and the template file agmdoc-cmd.tpl
.Sh NAME
.sp
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'dmpeers' interactive command.
+.It Fl u , Fl \-unconnected
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
.It Fl \&? , Fl \-help
Display usage information and exit.
.It Fl \&! , Fl \-more\-help
</td></tr>
<tr><td align="left" valign="top">• <a href="#ntpdc-showpeers" accesskey="9">ntpdc showpeers</a>:</td><td> </td><td align="left" valign="top">showpeers option (-s)
</td></tr>
+<tr><td align="left" valign="top">• <a href="#ntpdc-unconnected">ntpdc unconnected</a>:</td><td> </td><td align="left" valign="top">unconnected option (-u)
+</td></tr>
<tr><td align="left" valign="top">• <a href="#ntpdc-config">ntpdc config</a>:</td><td> </td><td align="left" valign="top">presetting/configuring ntpdc
</td></tr>
<tr><td align="left" valign="top">• <a href="#ntpdc-exit-status">ntpdc exit status</a>:</td><td> </td><td align="left" valign="top">exit status
- prohibits the option 'command'
-s no showpeers Show a list of the peers
- prohibits the option 'command'
+ -u no unconnected Use unconnected UDP to communicate with ntpd (default on Windows)
opt version output version information and exit
-? no help display extended usage information and exit
-! no more-help extended usage information passed thru pager
<a name="ntpdc-showpeers"></a>
<div class="header">
<p>
-Next: <a href="#ntpdc-config" accesskey="n" rel="next">ntpdc config</a>, Previous: <a href="#ntpdc-peers" accesskey="p" rel="prev">ntpdc peers</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
+Next: <a href="#ntpdc-unconnected" accesskey="n" rel="next">ntpdc unconnected</a>, Previous: <a href="#ntpdc-peers" accesskey="p" rel="prev">ntpdc peers</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="showpeers-option-_0028_002ds_0029"></a>
<h4 class="subsection">1.1.9 showpeers option (-s)</h4>
<p>Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the ’dmpeers’ interactive command.
+</p><hr>
+<a name="ntpdc-unconnected"></a>
+<div class="header">
+<p>
+Next: <a href="#ntpdc-config" accesskey="n" rel="next">ntpdc config</a>, Previous: <a href="#ntpdc-showpeers" accesskey="p" rel="prev">ntpdc showpeers</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
+</div>
+<a name="unconnected-option-_0028_002du_0029"></a>
+<h4 class="subsection">1.1.10 unconnected option (-u)</h4>
+<a name="index-ntpdc_002dunconnected"></a>
+
+<p>This is the “use unconnected udp to communicate with ntpd (default on windows)” option.
+Open an unconnected UDP association to ntpd (the default
+on Windows).
</p>
<hr>
<a name="ntpdc-config"></a>
<div class="header">
<p>
-Next: <a href="#ntpdc-exit-status" accesskey="n" rel="next">ntpdc exit status</a>, Previous: <a href="#ntpdc-showpeers" accesskey="p" rel="prev">ntpdc showpeers</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
+Next: <a href="#ntpdc-exit-status" accesskey="n" rel="next">ntpdc exit status</a>, Previous: <a href="#ntpdc-unconnected" accesskey="p" rel="prev">ntpdc unconnected</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="presetting_002fconfiguring-ntpdc"></a>
-<h4 class="subsection">1.1.10 presetting/configuring ntpdc</h4>
+<h4 class="subsection">1.1.11 presetting/configuring ntpdc</h4>
<p>Any option that is not marked as <i>not presettable</i> may be preset by
loading values from configuration ("rc" or "ini") files, and values from environment variables named <code>NTPDC</code> and <code>NTPDC_<OPTION_NAME></code>. <code><OPTION_NAME></code> must be one of
Next: <a href="#ntpdc-Usage" accesskey="n" rel="next">ntpdc Usage</a>, Previous: <a href="#ntpdc-config" accesskey="p" rel="prev">ntpdc config</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="ntpdc-exit-status-1"></a>
-<h4 class="subsection">1.1.11 ntpdc exit status</h4>
+<h4 class="subsection">1.1.12 ntpdc exit status</h4>
<p>One of the following exit values will be returned:
</p><dl compact="compact">
Next: <a href="#ntpdc-See-Also" accesskey="n" rel="next">ntpdc See Also</a>, Previous: <a href="#ntpdc-exit-status" accesskey="p" rel="prev">ntpdc exit status</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="ntpdc-Usage-1"></a>
-<h4 class="subsection">1.1.12 ntpdc Usage</h4>
+<h4 class="subsection">1.1.13 ntpdc Usage</h4>
<hr>
<a name="ntpdc-See-Also"></a>
<div class="header">
Next: <a href="#ntpdc-Authors" accesskey="n" rel="next">ntpdc Authors</a>, Previous: <a href="#ntpdc-Usage" accesskey="p" rel="prev">ntpdc Usage</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="ntpdc-See-Also-1"></a>
-<h4 class="subsection">1.1.13 ntpdc See Also</h4>
+<h4 class="subsection">1.1.14 ntpdc See Also</h4>
<hr>
<a name="ntpdc-Authors"></a>
<div class="header">
Next: <a href="#ntpdc-Bugs" accesskey="n" rel="next">ntpdc Bugs</a>, Previous: <a href="#ntpdc-See-Also" accesskey="p" rel="prev">ntpdc See Also</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="ntpdc-Authors-1"></a>
-<h4 class="subsection">1.1.14 ntpdc Authors</h4>
+<h4 class="subsection">1.1.15 ntpdc Authors</h4>
<hr>
<a name="ntpdc-Bugs"></a>
<div class="header">
Previous: <a href="#ntpdc-Authors" accesskey="p" rel="prev">ntpdc Authors</a>, Up: <a href="#ntpdc-Invocation" accesskey="u" rel="up">ntpdc Invocation</a> </p>
</div>
<a name="ntpdc-Bugs-1"></a>
-<h4 class="subsection">1.1.15 ntpdc Bugs</h4>
+<h4 class="subsection">1.1.16 ntpdc Bugs</h4>
<hr>
<a name="Usage"></a>
.ds B-Font B
.ds I-Font I
.ds R-Font R
-.TH ntpdc @NTPDC_MS@ "26 Jun 2022" "4.2.8p15" "User Commands"
+.TH ntpdc @NTPDC_MS@ "27 Jun 2022" "4.2.8p15" "User Commands"
.\"
.\" EDIT THIS FILE WITH CAUTION (in-mem file)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:10 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:03 AM by AutoGen 5.18.5
.\" From the definitions ntpdc-opts.def
.\" and the template file agman-cmd.tpl
.SH NAME
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'dmpeers' interactive command.
.TP
+.NOP \f\*[B-Font]\-u\f[], \f\*[B-Font]\-\-unconnected\f[]
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
+.TP
.NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
Display usage information and exit.
.TP
-.Dd June 26 2022
+.Dd June 27 2022
.Dt NTPDC @NTPDC_MS@ User Commands
.Os
.\" EDIT THIS FILE WITH CAUTION (ntpdc-opts.mdoc)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:07 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:00 AM by AutoGen 5.18.5
.\" From the definitions ntpdc-opts.def
.\" and the template file agmdoc-cmd.tpl
.Sh NAME
.sp
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'dmpeers' interactive command.
+.It Fl u , Fl \-unconnected
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
.It Fl \&? , Fl \-help
Display usage information and exit.
.It Fl \&! , Fl \-more\-help
#
# EDIT THIS FILE WITH CAUTION (invoke-ntpq.texi)
#
-# It has been AutoGen-ed June 26, 2022 at 05:34:19 AM by AutoGen 5.18.5
+# It has been AutoGen-ed June 27, 2022 at 12:01:13 AM by AutoGen 5.18.5
# From the definitions ntpq-opts.def
# and the template file agtexi-cmd.tpl
@end ignore
* ntpq old-rv:: old-rv option
* ntpq peers:: peers option (-p)
* ntpq refid:: refid option (-r)
+* ntpq unconnected:: unconnected option (-u)
* ntpq wide:: wide option (-w)
* ntpq config:: presetting/configuring ntpq
* ntpq exit status:: exit status
-p no peers Print a list of the peers
- prohibits the option 'interactive'
-r KWd refid Set default display type for S2+ refids
+ -u no unconnected Use unconnected UDP to communicate with ntpd (default on Windows)
-w no wide Display the full 'remote' value
opt version output version information and exit
-? no help display extended usage information and exit
or their numeric equivalent.@end itemize
Set the default display format for S2+ refids.
+@node ntpq unconnected
+@subsection unconnected option (-u)
+@cindex ntpq-unconnected
+
+This is the ``use unconnected udp to communicate with ntpd (default on windows)'' option.
+Open an unconnected UDP association to ntpd (the default
+on Windows).
@node ntpq wide
@subsection wide option (-w)
@cindex ntpq-wide
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.c)
*
- * It has been AutoGen-ed June 26, 2022 at 05:41:46 AM by AutoGen 5.18.5
+ * It has been AutoGen-ed June 27, 2022 at 12:01:04 AM by AutoGen 5.18.5
* From the definitions ntpq-opts.def
* and the template file options
*
/**
* static const strings for ntpq options
*/
-static char const ntpq_opt_strs[1977] =
+static char const ntpq_opt_strs[2067] =
/* 0 */ "ntpq 4.2.8p15\n"
"Copyright (C) 1992-2020 The University of Delaware and Network Time Foundation, all rights reserved.\n"
"This is free software. It is licensed for use, modification and\n"
/* 1435 */ "Set default display type for S2+ refids\0"
/* 1475 */ "REFID\0"
/* 1481 */ "refid\0"
-/* 1487 */ "Display the full 'remote' value\0"
-/* 1519 */ "WIDE\0"
-/* 1524 */ "wide\0"
-/* 1529 */ "display extended usage information and exit\0"
-/* 1573 */ "help\0"
-/* 1578 */ "extended usage information passed thru pager\0"
-/* 1623 */ "more-help\0"
-/* 1633 */ "output version information and exit\0"
-/* 1669 */ "version\0"
-/* 1677 */ "save the option state to a config file\0"
-/* 1716 */ "save-opts\0"
-/* 1726 */ "load options from a config file\0"
-/* 1758 */ "LOAD_OPTS\0"
-/* 1768 */ "no-load-opts\0"
-/* 1781 */ "no\0"
-/* 1784 */ "NTPQ\0"
-/* 1789 */ "ntpq - standard NTP query program - Ver. 4.2.8p15\n"
+/* 1487 */ "Use unconnected UDP to communicate with ntpd (default on Windows)\0"
+/* 1553 */ "UNCONNECTED\0"
+/* 1565 */ "unconnected\0"
+/* 1577 */ "Display the full 'remote' value\0"
+/* 1609 */ "WIDE\0"
+/* 1614 */ "wide\0"
+/* 1619 */ "display extended usage information and exit\0"
+/* 1663 */ "help\0"
+/* 1668 */ "extended usage information passed thru pager\0"
+/* 1713 */ "more-help\0"
+/* 1723 */ "output version information and exit\0"
+/* 1759 */ "version\0"
+/* 1767 */ "save the option state to a config file\0"
+/* 1806 */ "save-opts\0"
+/* 1816 */ "load options from a config file\0"
+/* 1848 */ "LOAD_OPTS\0"
+/* 1858 */ "no-load-opts\0"
+/* 1871 */ "no\0"
+/* 1874 */ "NTPQ\0"
+/* 1879 */ "ntpq - standard NTP query program - Ver. 4.2.8p15\n"
"Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n\0"
-/* 1909 */ "$HOME\0"
-/* 1915 */ ".\0"
-/* 1917 */ ".ntprc\0"
-/* 1924 */ "http://bugs.ntp.org, bugs@ntp.org\0"
-/* 1958 */ "ntpq 4.2.8p15\0"
-/* 1972 */ "hash";
+/* 1999 */ "$HOME\0"
+/* 2005 */ ".\0"
+/* 2007 */ ".ntprc\0"
+/* 2014 */ "http://bugs.ntp.org, bugs@ntp.org\0"
+/* 2048 */ "ntpq 4.2.8p15\0"
+/* 2062 */ "hash";
/**
* ipv4 option description with
#define REFID_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_ENUMERATION))
+/**
+ * unconnected option description:
+ */
+/** Descriptive text for the unconnected option */
+#define UNCONNECTED_DESC (ntpq_opt_strs+1487)
+/** Upper-cased name for the unconnected option */
+#define UNCONNECTED_NAME (ntpq_opt_strs+1553)
+/** Name string for the unconnected option */
+#define UNCONNECTED_name (ntpq_opt_strs+1565)
+/** Compiled in flag settings for the unconnected option */
+#define UNCONNECTED_FLAGS (OPTST_DISABLED)
+
/**
* wide option description:
*/
/** Descriptive text for the wide option */
-#define WIDE_DESC (ntpq_opt_strs+1487)
+#define WIDE_DESC (ntpq_opt_strs+1577)
/** Upper-cased name for the wide option */
-#define WIDE_NAME (ntpq_opt_strs+1519)
+#define WIDE_NAME (ntpq_opt_strs+1609)
/** Name string for the wide option */
-#define WIDE_name (ntpq_opt_strs+1524)
+#define WIDE_name (ntpq_opt_strs+1614)
/** Compiled in flag settings for the wide option */
#define WIDE_FLAGS (OPTST_DISABLED)
/*
* Help/More_Help/Version option descriptions:
*/
-#define HELP_DESC (ntpq_opt_strs+1529)
-#define HELP_name (ntpq_opt_strs+1573)
+#define HELP_DESC (ntpq_opt_strs+1619)
+#define HELP_name (ntpq_opt_strs+1663)
#ifdef HAVE_WORKING_FORK
-#define MORE_HELP_DESC (ntpq_opt_strs+1578)
-#define MORE_HELP_name (ntpq_opt_strs+1623)
+#define MORE_HELP_DESC (ntpq_opt_strs+1668)
+#define MORE_HELP_name (ntpq_opt_strs+1713)
#define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
#else
#define MORE_HELP_DESC HELP_DESC
# define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT)
#endif
-#define VER_DESC (ntpq_opt_strs+1633)
-#define VER_name (ntpq_opt_strs+1669)
-#define SAVE_OPTS_DESC (ntpq_opt_strs+1677)
-#define SAVE_OPTS_name (ntpq_opt_strs+1716)
-#define LOAD_OPTS_DESC (ntpq_opt_strs+1726)
-#define LOAD_OPTS_NAME (ntpq_opt_strs+1758)
-#define NO_LOAD_OPTS_name (ntpq_opt_strs+1768)
-#define LOAD_OPTS_pfx (ntpq_opt_strs+1781)
+#define VER_DESC (ntpq_opt_strs+1723)
+#define VER_name (ntpq_opt_strs+1759)
+#define SAVE_OPTS_DESC (ntpq_opt_strs+1767)
+#define SAVE_OPTS_name (ntpq_opt_strs+1806)
+#define LOAD_OPTS_DESC (ntpq_opt_strs+1816)
+#define LOAD_OPTS_NAME (ntpq_opt_strs+1848)
+#define NO_LOAD_OPTS_name (ntpq_opt_strs+1858)
+#define LOAD_OPTS_pfx (ntpq_opt_strs+1871)
#define LOAD_OPTS_name (NO_LOAD_OPTS_name + 3)
/**
* Declare option callback procedures
/* desc, NAME, name */ REFID_DESC, REFID_NAME, REFID_name,
/* disablement strs */ NULL, NULL },
- { /* entry idx, value */ 10, VALUE_OPT_WIDE,
- /* equiv idx, value */ 10, VALUE_OPT_WIDE,
+ { /* entry idx, value */ 10, VALUE_OPT_UNCONNECTED,
+ /* equiv idx, value */ 10, VALUE_OPT_UNCONNECTED,
+ /* equivalenced to */ NO_EQUIVALENT,
+ /* min, max, act ct */ 0, 1, 0,
+ /* opt state flags */ UNCONNECTED_FLAGS, 0,
+ /* last opt argumnt */ { NULL }, /* --unconnected */
+ /* arg list/cookie */ NULL,
+ /* must/cannot opts */ NULL, NULL,
+ /* option proc */ NULL,
+ /* desc, NAME, name */ UNCONNECTED_DESC, UNCONNECTED_NAME, UNCONNECTED_name,
+ /* disablement strs */ NULL, NULL },
+
+ { /* entry idx, value */ 11, VALUE_OPT_WIDE,
+ /* equiv idx, value */ 11, VALUE_OPT_WIDE,
/* equivalenced to */ NO_EQUIVALENT,
/* min, max, act ct */ 0, 1, 0,
/* opt state flags */ WIDE_FLAGS, 0,
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/** Reference to the upper cased version of ntpq. */
-#define zPROGNAME (ntpq_opt_strs+1784)
+#define zPROGNAME (ntpq_opt_strs+1874)
/** Reference to the title line for ntpq usage. */
-#define zUsageTitle (ntpq_opt_strs+1789)
+#define zUsageTitle (ntpq_opt_strs+1879)
/** ntpq configuration file name. */
-#define zRcName (ntpq_opt_strs+1917)
+#define zRcName (ntpq_opt_strs+2007)
/** Directories to search for ntpq config files. */
static char const * const apzHomeList[3] = {
- ntpq_opt_strs+1909,
- ntpq_opt_strs+1915,
+ ntpq_opt_strs+1999,
+ ntpq_opt_strs+2005,
NULL };
/** The ntpq program bug email address. */
-#define zBugsAddr (ntpq_opt_strs+1924)
+#define zBugsAddr (ntpq_opt_strs+2014)
/** Clarification/explanation of what ntpq does. */
#define zExplain (NULL)
/** Extra detail explaining what ntpq does. */
#define zDetail (NULL)
/** The full version string for ntpq. */
-#define zFullVersion (ntpq_opt_strs+1958)
+#define zFullVersion (ntpq_opt_strs+2048)
/* extracted from optcode.tlib near line 364 */
#if defined(ENABLE_NLS)
/* extracted from optmain.tlib near line 945 */
static char const * const names[2] = {
- ntpq_opt_strs+1972, ntpq_opt_strs+1041 };
+ ntpq_opt_strs+2062, ntpq_opt_strs+1041 };
if (pOptions <= OPTPROC_EMIT_LIMIT) {
(void) optionEnumerationVal(pOptions, pOptDesc, names, 2);
NO_EQUIVALENT, /* '-#' option index */
NO_EQUIVALENT /* index of default opt */
},
- 16 /* full option count */, 11 /* user option count */,
+ 17 /* full option count */, 12 /* user option count */,
ntpq_full_usage, ntpq_short_usage,
NULL, NULL,
PKGDATADIR, ntpq_packager_info
/* referenced via ntpqOptions.pOptDesc->pzText */
puts(_("Set default display type for S2+ refids"));
+ /* referenced via ntpqOptions.pOptDesc->pzText */
+ puts(_("Use unconnected UDP to communicate with ntpd (default on Windows)"));
+
/* referenced via ntpqOptions.pOptDesc->pzText */
puts(_("Display the full 'remote' value"));
_EndOfDoc_;
};
+flag = {
+ name = unconnected;
+ value = u;
+ descrip = "Use unconnected UDP to communicate with ntpd (default on Windows)";
+ doc = <<- _EndOfDoc_
+ Open an unconnected UDP association to ntpd (the default
+ on Windows).
+ _EndOfDoc_;
+};
+
flag = {
name = wide;
value = w;
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
*
- * It has been AutoGen-ed June 26, 2022 at 05:41:46 AM by AutoGen 5.18.5
+ * It has been AutoGen-ed June 27, 2022 at 12:01:04 AM by AutoGen 5.18.5
* From the definitions ntpq-opts.def
* and the template file options
*
INDEX_OPT_OLD_RV = 7,
INDEX_OPT_PEERS = 8,
INDEX_OPT_REFID = 9,
- INDEX_OPT_WIDE = 10,
- INDEX_OPT_VERSION = 11,
- INDEX_OPT_HELP = 12,
- INDEX_OPT_MORE_HELP = 13,
- INDEX_OPT_SAVE_OPTS = 14,
- INDEX_OPT_LOAD_OPTS = 15
+ INDEX_OPT_UNCONNECTED = 10,
+ INDEX_OPT_WIDE = 11,
+ INDEX_OPT_VERSION = 12,
+ INDEX_OPT_HELP = 13,
+ INDEX_OPT_MORE_HELP = 14,
+ INDEX_OPT_SAVE_OPTS = 15,
+ INDEX_OPT_LOAD_OPTS = 16
} teOptIndex;
/** count of all options for ntpq */
-#define OPTION_CT 16
+#define OPTION_CT 17
/** ntpq version */
#define NTPQ_VERSION "4.2.8p15"
/** Full ntpq version text */
# warning undefining REFID due to option name conflict
# undef REFID
# endif
+# ifdef UNCONNECTED
+# warning undefining UNCONNECTED due to option name conflict
+# undef UNCONNECTED
+# endif
# ifdef WIDE
# warning undefining WIDE due to option name conflict
# undef WIDE
# undef OLD_RV
# undef PEERS
# undef REFID
+# undef UNCONNECTED
# undef WIDE
#endif /* NO_OPTION_NAME_WARNINGS */
} te_Refid;
#define OPT_REFID_VAL2STR(_v) optionKeywordName(&DESC(REFID), (_v))
#define OPT_VALUE_REFID (DESC(REFID).optArg.argEnum)
+#define VALUE_OPT_UNCONNECTED 'u'
#define VALUE_OPT_WIDE 'w'
/** option flag (value) for help-value option */
#define VALUE_OPT_HELP '?'
.ds B-Font B
.ds I-Font I
.ds R-Font R
-.TH ntpq 1ntpqman "26 Jun 2022" "4.2.8p15" "User Commands"
+.TH ntpq 1ntpqman "27 Jun 2022" "4.2.8p15" "User Commands"
.\"
.\" EDIT THIS FILE WITH CAUTION (in-mem file)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:20 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:14 AM by AutoGen 5.18.5
.\" From the definitions ntpq-opts.def
.\" and the template file agman-cmd.tpl
.SH NAME
.sp
Set the default display format for S2+ refids.
.TP
+.NOP \f\*[B-Font]\-u\f[], \f\*[B-Font]\-\-unconnected\f[]
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
+.TP
.NOP \f\*[B-Font]\-w\f[], \f\*[B-Font]\-\-wide\f[]
Display the full 'remote' value.
.sp
-.Dd June 26 2022
+.Dd June 27 2022
.Dt NTPQ 1ntpqmdoc User Commands
.Os
.\" EDIT THIS FILE WITH CAUTION (ntpq-opts.mdoc)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:18 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:11 AM by AutoGen 5.18.5
.\" From the definitions ntpq-opts.def
.\" and the template file agmdoc-cmd.tpl
.Sh NAME
ipv4
.sp
Set the default display format for S2+ refids.
+.It Fl u , Fl \-unconnected
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
.It Fl w , Fl \-wide
Display the full 'remote' value.
.sp
.ds B-Font B
.ds I-Font I
.ds R-Font R
-.TH ntpq @NTPQ_MS@ "26 Jun 2022" "4.2.8p15" "User Commands"
+.TH ntpq @NTPQ_MS@ "27 Jun 2022" "4.2.8p15" "User Commands"
.\"
.\" EDIT THIS FILE WITH CAUTION (in-mem file)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:20 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:14 AM by AutoGen 5.18.5
.\" From the definitions ntpq-opts.def
.\" and the template file agman-cmd.tpl
.SH NAME
.sp
Set the default display format for S2+ refids.
.TP
+.NOP \f\*[B-Font]\-u\f[], \f\*[B-Font]\-\-unconnected\f[]
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
+.TP
.NOP \f\*[B-Font]\-w\f[], \f\*[B-Font]\-\-wide\f[]
Display the full 'remote' value.
.sp
-.Dd June 26 2022
+.Dd June 27 2022
.Dt NTPQ @NTPQ_MS@ User Commands
.Os
.\" EDIT THIS FILE WITH CAUTION (ntpq-opts.mdoc)
.\"
-.\" It has been AutoGen-ed June 26, 2022 at 05:34:18 AM by AutoGen 5.18.5
+.\" It has been AutoGen-ed June 27, 2022 at 12:01:11 AM by AutoGen 5.18.5
.\" From the definitions ntpq-opts.def
.\" and the template file agmdoc-cmd.tpl
.Sh NAME
ipv4
.sp
Set the default display format for S2+ refids.
+.It Fl u , Fl \-unconnected
+Use unconnected UDP to communicate with ntpd (default on Windows).
+.sp
+Open an unconnected UDP association to ntpd (the default
+on Windows).
.It Fl w , Fl \-wide
Display the full 'remote' value.
.sp