summaryrefslogtreecommitdiff
path: root/apps/examples/tcpecho/Kconfig
blob: ffa6397df2142488c0b74ac533850a0ee14e9ace (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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_DNSCLIENT

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