From 47fdd1e07166c2a4aa4d53a5772954b3d2ea6fe9 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 1 May 2006 11:17:27 +0000 Subject: [PATCH] set TCP_MSS to 1460 (Ed Swierk) --- slirp/tcp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slirp/tcp.h b/slirp/tcp.h index 3e0b4dd8..cd7e8911 100644 --- a/slirp/tcp.h +++ b/slirp/tcp.h @@ -100,8 +100,10 @@ struct tcphdr { * With an IP MSS of 576, this is 536, * but 512 is probably more convenient. * This should be defined as MIN(512, IP_MSS - sizeof (struct tcpiphdr)). + * + * We make this 1460 because we only care about Ethernet in the qemu context. */ -#define TCP_MSS 512 +#define TCP_MSS 1460 #define TCP_MAXWIN 65535 /* largest value for (unscaled) window */ -- 2.39.5