From edded7546e392079d824e62e6843a62f17927ef7 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 8 Jul 2007 14:33:53 +0100 Subject: Limit xmit window to one MTU. (Path MTU discovery not yet implemented; should be done at some point.) --- src/include/gpxe/tcp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index ba9ae0e8a..9bf48cfae 100644 --- a/src/include/gpxe/tcp.h +++ b/src/include/gpxe/tcp.h @@ -237,6 +237,14 @@ struct tcp_mss_option { */ #define TCP_MAX_WINDOW_SIZE ( 65536 - 4 ) +/** + * Path MTU + * + * We really ought to implement Path MTU discovery. Until we do, + * anything with a path MTU greater than this may fail. + */ +#define TCP_PATH_MTU 1460 + /** * Advertised TCP MSS * -- cgit v1.2.3-55-g7522