I saw the comments above this definition in net/tcp.h :
/*
* Never offer a window over 32767 without using window scaling. Some
* poor stacks do signed 16bit maths!
*/
#define MAX_WINDOW 32767
However, I couldn't figure out why it's set to 32767. For example, while
I have a 64k recvbuf, the sender can fill at most half of the recvbuf.
Can anyone tell me why we set this MAX_WINDOW to 1/2 of 64K ?
, or does it assume we define SK_RMEM_MAX to 32767 ?
Thanks,
- Kang
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]