summaryrefslogtreecommitdiff
path: root/nuttx/configs/ntosd-dm320/udp/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-20 19:24:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-20 19:24:06 +0000
commit8cd8607510ca423089ca1b0266c22aeee685dcee (patch)
tree826e23653aecaf5f85d08ae94f3651a35634ace4 /nuttx/configs/ntosd-dm320/udp/defconfig
parentf4f6f592170662f664998c9a1ae938bda35cf8d9 (diff)
downloadpx4-nuttx-8cd8607510ca423089ca1b0266c22aeee685dcee.tar.gz
px4-nuttx-8cd8607510ca423089ca1b0266c22aeee685dcee.tar.bz2
px4-nuttx-8cd8607510ca423089ca1b0266c22aeee685dcee.zip
Add support for TCP/IP connection backlog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1294 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ntosd-dm320/udp/defconfig')
-rw-r--r--nuttx/configs/ntosd-dm320/udp/defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig
index f2562d2ee..8237ac4b3 100644
--- a/nuttx/configs/ntosd-dm320/udp/defconfig
+++ b/nuttx/configs/ntosd-dm320/udp/defconfig
@@ -277,6 +277,8 @@ CONFIG_PREALLOC_TIMERS=8
# CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks)
# CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers
# CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero)
+# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until
+# accept() is called. The size of the backlog is selected when listen() is called.
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
# CONFIG_NET_UDP - UDP support on or off
# CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off
@@ -297,6 +299,8 @@ CONFIG_NET_SOCKOPTS=y
CONFIG_NET_BUFSIZE=420
CONFIG_NET_TCP=n
CONFIG_NET_TCP_CONNS=0
+CONFIG_NET_NTCP_READAHEAD_BUFFERS=16
+CONFIG_NET_TCPBACKLOG=n
CONFIG_NET_MAX_LISTENPORTS=0
CONFIG_NET_UDP=y
CONFIG_NET_UDP_CHECKSUMS=y