diff options
author | andre <andre@FreeBSD.org> | 2004-01-09 14:14:10 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-01-09 14:14:10 +0000 |
commit | 3dbc1a9d8747fb1b359bbf1303a9e79034ad47e3 (patch) | |
tree | 99fdab4bca64ec03e08284a9dfeefd982ff6e20e /sys/netinet/tcp.h | |
parent | 9b32167d5f7827194140898b20cd7754dc0592a2 (diff) | |
download | FreeBSD-src-3dbc1a9d8747fb1b359bbf1303a9e79034ad47e3.zip FreeBSD-src-3dbc1a9d8747fb1b359bbf1303a9e79034ad47e3.tar.gz |
Reduce TCP_MINMSS default to 216. The AX.25 protocol (packet radio)
is frequently used with an MTU of 256 because of slow speeds and a
high packet loss rate.
Diffstat (limited to 'sys/netinet/tcp.h')
-rw-r--r-- | sys/netinet/tcp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h index 0143bca..782e1ef 100644 --- a/sys/netinet/tcp.h +++ b/sys/netinet/tcp.h @@ -111,15 +111,14 @@ struct tcphdr { */ #define TCP_MSS 512 /* - * TCP_MINMSS is defined to be 256 which is fine for the smallest - * link MTU (296 bytes, SLIP interface) in the Internet. + * TCP_MINMSS is defined to be 216 which is fine for the smallest + * link MTU (256 bytes, AX.25 packet radio) in the Internet. * However it is very unlikely to come across such low MTU interfaces * these days (anno dato 2003). - * Probably it can be set to 512 without ill effects. But we play safe. * See tcp_subr.c tcp_minmss SYSCTL declaration for more comments. * Setting this to "0" disables the minmss check. */ -#define TCP_MINMSS 256 +#define TCP_MINMSS 216 /* * TCP_MINMSSOVERLOAD is defined to be 1000 which should cover any type * of interactive TCP session. |