Re: Socket options

Philippe Troin (phil@fifi.org)
16 Aug 2001 19:11:13 -0700


Kalpesh Shah <kalpesh@cs.utexas.edu> writes:

> I would like to be CC'ed any answers/comments to my question.
>
> are /proc/sys/net/ipv4/tcp_rmem and /proc/sys/net/ipv4/tcp_wmem the socket
> Buffer (receive and send respectively) Sizes in the linux kernel.
>
> If yes then how come when I try to set these buffer sizes by using the
> SO_RCVBUFF and SO_SNDBUFF variables it automatically multiplies the values
> by 2 ????

To remain BSD-compatible.

There was a thread about this on lkml one week ago. Check the
archives.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/