summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/tcp.h
diff options
context:
space:
mode:
authorMichael Brown2007-07-08 15:33:53 +0200
committerMichael Brown2007-07-08 15:33:53 +0200
commitedded7546e392079d824e62e6843a62f17927ef7 (patch)
tree01f0622983bcde41d91f5660e26430229716a1d1 /src/include/gpxe/tcp.h
parentFix typo that was preventing any DHCP option applicators from being (diff)
downloadipxe-edded7546e392079d824e62e6843a62f17927ef7.tar.gz
ipxe-edded7546e392079d824e62e6843a62f17927ef7.tar.xz
ipxe-edded7546e392079d824e62e6843a62f17927ef7.zip
Limit xmit window to one MTU. (Path MTU discovery not yet
implemented; should be done at some point.)
Diffstat (limited to 'src/include/gpxe/tcp.h')
-rw-r--r--src/include/gpxe/tcp.h8
1 files changed, 8 insertions, 0 deletions
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
@@ -238,6 +238,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
*
* We currently hardcode this to a reasonable value and hope that the