commit | 446b49252f92de88698ae3a81575bf9856dec745 | [log] [tgz] |
---|---|---|
author | Robert Love <rlove@google.com> | Thu Jul 31 11:12:44 2008 -0400 |
committer | John Stultz <john.stultz@linaro.org> | Thu Nov 19 12:36:11 2015 -0800 |
tree | 4000e2d5191ed5d49c67d5d5ff1200175bf42eb5 | |
parent | 56bec2740d793f43822f4a9e821ed944598844fe [diff] |
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>