diff options
Diffstat (limited to 'slirp/tcp.h')
-rw-r--r-- | slirp/tcp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/slirp/tcp.h b/slirp/tcp.h index 3e0b4dd..cd7e891 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 */ |