In article <[EMAIL PROTECTED]>,
Steve Shah <[EMAIL PROTECTED]> writes:
> Hello All,
> Can someone please explain how exactly sk->window_clamp
> works? Its entry in sock.h reads "Document this." =)
window_clamp is the maximum announced receive window. It is bounded by:
- The window set per route (route ... window ...) on the route used for
the initial syn-ack.
- The window scaling option initially announced by the other other (64K<<scale)
- Otherwise 64K
If there is no window scaling it is limited by MAX_WINDOW (32K)
window_clamp is only the maximum value, generally the announced window is
limited by the free space in the receive buffer. It is mainly useful to
remember the maximum window scale option the other end announced (see
RFC1323 for more information).
-Andi
P.S.: grep window_clamp would have told you the same.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]