Add missing CONFIG_NET_GUARDSIZE to Kconfig

This commit is contained in:
Gregory Nutt 2014-06-19 08:18:46 -06:00
parent 7622706cde
commit 8266624d04
1 changed files with 11 additions and 0 deletions

View File

@ -102,6 +102,17 @@ config NET_BUFSIZE
IPv6 hosts are required to be able to handle an MSS of 1220 octets,
resulting in a minimum buffer size of of 1220+20+40+14 = 1294
config NET_GUARDSIZE
int "Driver I/O guard size"
default 2
---help---
Network drivers often receive packets with garbage at the end and
are longer than the size of packet in the TCP header. The following
"fudge" factor increases the size of the I/O buffering by a small
amount to allocate slightly oversize packets. After receipt, the
packet size will be chopped down to the size indicated in the TCP
header.
source "net/pkt/Kconfig"
source "net/tcp/Kconfig"
source "net/udp/Kconfig"