diff options
| author | Michael Brown | 2007-07-08 15:33:53 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-07-08 15:33:53 +0200 |
| commit | edded7546e392079d824e62e6843a62f17927ef7 (patch) | |
| tree | 01f0622983bcde41d91f5660e26430229716a1d1 /src/include/gpxe/tcp.h | |
| parent | Fix typo that was preventing any DHCP option applicators from being (diff) | |
| download | ipxe-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.h | 8 |
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 |
