commit | aaa5b2686600a853eda49faf272f189ce588b445 | [log] [tgz] |
---|---|---|
author | Robert Love <rlove@google.com> | Thu Jul 31 11:12:44 2008 -0400 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Oct 24 23:41:21 2016 +0800 |
tree | d434e1b305527b558a8388c0848150e2534370b2 | |
parent | 1b817cf84615be24cc8df7841a715093badc9a81 [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>