Limit xmit window to one MTU. (Path MTU discovery not yet

implemented; should be done at some point.)
This commit is contained in:
Michael Brown
2007-07-08 14:33:53 +01:00
parent 3e1dd0772a
commit edded7546e
2 changed files with 42 additions and 16 deletions

View File

@@ -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
*