summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/telnetd.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/telnetd.h')
-rw-r--r--cpukit/include/rtems/telnetd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/include/rtems/telnetd.h b/cpukit/include/rtems/telnetd.h
index e662874a81..1f8e1c55c3 100644
--- a/cpukit/include/rtems/telnetd.h
+++ b/cpukit/include/rtems/telnetd.h
@@ -92,6 +92,13 @@ typedef struct {
* Use 0 for the default value.
*/
uint16_t client_maximum;
+
+ /**
+ * @brief Server port number in host byte order.
+ *
+ * Use 0 for the default value.
+ */
+ uint16_t port;
} rtems_telnetd_config_table;
/**
@@ -100,7 +107,7 @@ typedef struct {
* @retval RTEMS_SUCCESSFUL Successful operation.
* @retval RTEMS_INVALID_ADDRESS The command function in the configuration is
* @c NULL.
- * @retval RTEMS_RESOURCE_IN_USE The Telnet server was already started.
+ * @retval RTEMS_RESOURCE_IN_USE The server port is already in use.
* @retval RTEMS_NOT_IMPLEMENTED The keep stdio configuration option is true.
* @retval RTEMS_UNSATISFIED Not enough resources to start the Telnet server or
* task priority in configuration is invalid.