commit | 9b7a3a5c66efee5ae7e587d7c10377903888e581 | [log] [tgz] |
---|---|---|
author | Robert Love <rlove@google.com> | Thu Jul 31 11:12:44 2008 -0400 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:08:47 2011 -0700 |
tree | 88615a519a8c07782a51828921eaf84dada7d4cf | |
parent | a7429e55ed9dd4fe486a6579392d9b2e2055257c [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>