summaryrefslogtreecommitdiff
path: root/nuttx/net/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-17 13:24:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-17 13:24:44 -0600
commit3895a010a5c8d971ec04802ae569f44a06bd572b (patch)
treed81fc78a1873dd6faa5b634845ddb940c6ce2cab /nuttx/net/Kconfig
parent5d3165161596265372177859b50577ae1ee54be0 (diff)
downloadnuttx-3895a010a5c8d971ec04802ae569f44a06bd572b.tar.gz
nuttx-3895a010a5c8d971ec04802ae569f44a06bd572b.tar.bz2
nuttx-3895a010a5c8d971ec04802ae569f44a06bd572b.zip
Add true and false commands; repartition some logic to better support forthcoming looping
Diffstat (limited to 'nuttx/net/Kconfig')
-rw-r--r--nuttx/net/Kconfig10
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig
index ead407e5e..2481bb6b3 100644
--- a/nuttx/net/Kconfig
+++ b/nuttx/net/Kconfig
@@ -84,14 +84,16 @@ config NET_SOLINGER
endif # NET_SOCKOPTS
config NET_BUFSIZE
- int "Network packet buffer size"
+ int "Network packet buffer size (MTU)"
default 1294 if !NET_SLIP && NET_IPv6
default 590 if !NET_SLIP && !NET_IPv6
default 296 if NET_SLIP && !NET_IPv6
---help---
- uIP buffer size. This size includes the size of TCP/UDP header,
- the IP header, and the Ethernet header (assuming that the Ethernet
- transport is used.
+ Packet buffer size. This size includes the TCP/UDP payload plus the
+ size of TCP/UDP header, the IP header, and the Ethernet header
+ (assuming that the Ethernet transport is used). This value is
+ normally referred to as the MTU (Maximum Transmission Unit); the
+ payload is the MSS (Maximum Segment Size).
IPv4 hosts are required to be able to handle an MSS of at least
536 octets, resulting in a minimum buffer size of 536+20+20+14 =