sysfs_net_ipv4: Add sysfs-based knobs for controlling TCP window size
authorRobert Love <rlove@google.com>
Thu, 31 Jul 2008 15:12:44 +0000 (11:12 -0400)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:15 +0000 (13:51 -0800)
commit6d4380a19887aad1e9bf974310f2828d2c8e59df
treea3761f7bfde37bcddb3a66c0d4970e281fcb8106
parent6eca735acf6eea1371555b66acb953a82f234e73
sysfs_net_ipv4: Add sysfs-based knobs for controlling TCP window size

Add a family of knobs to /sys/kernel/ipv4 for controlling the TCP window size:

tcp_wmem_min
tcp_wmem_def
tcp_wmem_max
tcp_rmem_min
tcp_rmem_def
tcp_rmem_max

This six values mirror the sysctl knobs in /proc/sys/net/ipv4/tcp_wmem and
/proc/sys/net/ipv4/tcp_rmem.

Sysfs, unlike sysctl, allows us to set and manage the files' permissions and
owners.

Signed-off-by: Robert Love <rlove@google.com>
net/ipv4/Makefile
net/ipv4/sysfs_net_ipv4.c [new file with mode: 0644]