diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-22 07:35:54 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-22 07:35:54 -0600 |
commit | 08750a096b1c72e577a102a619b9a0827d2f3b9d (patch) | |
tree | 9f3860b60e8d08d412097de00b98e112a162de77 /apps/examples/tcpecho/Kconfig | |
parent | 801977de7c84d03616329795e1c59929ab948906 (diff) | |
download | nuttx-08750a096b1c72e577a102a619b9a0827d2f3b9d.tar.gz nuttx-08750a096b1c72e577a102a619b9a0827d2f3b9d.tar.bz2 nuttx-08750a096b1c72e577a102a619b9a0827d2f3b9d.zip |
Add TCP echo server from Max Holtzberg
Diffstat (limited to 'apps/examples/tcpecho/Kconfig')
-rw-r--r-- | apps/examples/tcpecho/Kconfig | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/apps/examples/tcpecho/Kconfig b/apps/examples/tcpecho/Kconfig new file mode 100644 index 000000000..cc063e0a5 --- /dev/null +++ b/apps/examples/tcpecho/Kconfig @@ -0,0 +1,54 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +config EXAMPLES_TCPECHO + bool "Simple TCP echo server" + default n + ---help--- + Simple single threaded, poll based TCP echo server. This example + implements the TCP Echo Server from W. Richard Stevens + UNIX Network Programming Book. + +config EXAMPLES_TCPECHO_PORT + int "Server Port" + default 80 + depends on EXAMPLES_TCPECHO + +config EXAMPLES_TCPECHO_BACKLOG + int "Listen Backlog" + default 8 + depends on EXAMPLES_TCPECHO + +config EXAMPLES_TCPECHO_NCONN + int "Number of Connections" + default 8 + depends on EXAMPLES_TCPECHO + +config EXAMPLES_TCPECHO_DHCPC + bool "DHCP Client" + default n + depends on EXAMPLES_TCPECHO && !NSH_BUILTIN_APPS + select NETUTILS_DHCPC + select NETUTILS_RESOLV + +config EXAMPLES_TCPECHO_NOMAC + bool "Use Canned MAC Address" + default n + depends on EXAMPLES_TCPECHO && !NSH_BUILTIN_APPS + +config EXAMPLES_TCPECHO_IPADDR + hex "Target IP address" + default 0x0a000002 + depends on EXAMPLES_TCPECHO && !NSH_BUILTIN_APPS && !EXAMPLES_TCPECHO_DHCPC + +config EXAMPLES_TCPECHO_DRIPADDR + hex "Default Router IP address (Gateway)" + default 0x0a000001 + depends on EXAMPLES_TCPECHO && !NSH_BUILTIN_APPS + +config EXAMPLES_TCPECHO_NETMASK + hex "Network Mask" + default 0xffffff00 + depends on EXAMPLES_TCPECHO && !NSH_BUILTIN_APPS |