summaryrefslogtreecommitdiff
path: root/apps/include/netutils/telnetd.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/include/netutils/telnetd.h')
-rw-r--r--apps/include/netutils/telnetd.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/include/netutils/telnetd.h b/apps/include/netutils/telnetd.h
index 37e7dfd4f..f875a5edc 100644
--- a/apps/include/netutils/telnetd.h
+++ b/apps/include/netutils/telnetd.h
@@ -50,6 +50,10 @@
* CONFIG_TELNETD_NPOLLWAITERS - If the poll method is enabled, then this
* value will defined the maximum number of threads that can be waiting
* for events. Default: 1
+ * CONFIG_TELNETD_RXBUFFER_SIZE - The size of the telnet receive buffer.
+ * Default: 256 bytes.
+ * CONFIG_TELNETD_TXBUFFER_SIZE - The size of the telnet transmit buffer.
+ * Default: 256 bytes.
* CONFIG_TELNETD_DUMPBUFFER - dumping of all input/output buffers.
*/
@@ -59,8 +63,12 @@
/* Configurable settings */
-#ifndef CONFIG_TELNETD_IOBUFFER_SIZE
-# define CONFIG_TELNETD_IOBUFFER_SIZE 512
+#ifndef CONFIG_TELNETD_RXBUFFER_SIZE
+# define CONFIG_TELNETD_RXBUFFER_SIZE 256
+#endif
+
+#ifndef CONFIG_TELNETD_TXBUFFER_SIZE
+# define CONFIG_TELNETD_TXBUFFER_SIZE 256
#endif
/****************************************************************************