summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/telnetd.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-26 09:04:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-01 12:32:50 +0200
commita346ebba9c0ccd61072c6a2cfa8025d2882c2db4 (patch)
tree43b0e6baf9c63c8623aef072e2f4a932176bd96f /cpukit/include/rtems/telnetd.h
parenttelnetd: Regroup includes (diff)
downloadrtems-a346ebba9c0ccd61072c6a2cfa8025d2882c2db4.tar.bz2
telnetd: Remove CONFIGURE_MAXIMUM_PTYS
Add a rtems_telnetd_config_table::client_maximum member to the Telnet configuration. Close #3526. Close #3528.
Diffstat (limited to 'cpukit/include/rtems/telnetd.h')
-rw-r--r--cpukit/include/rtems/telnetd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/telnetd.h b/cpukit/include/rtems/telnetd.h
index 19512fbe9c..2339bad8b6 100644
--- a/cpukit/include/rtems/telnetd.h
+++ b/cpukit/include/rtems/telnetd.h
@@ -85,6 +85,14 @@ typedef struct {
* create other tasks for the shell which listen on sockets.
*/
bool keep_stdio;
+
+ /**
+ * @brief Maximum number of clients which can connect to the system at a
+ * time.
+ *
+ * Use 0 for the default value.
+ */
+ uint16_t client_maximum;
} rtems_telnetd_config_table;
/**