diff options
author | Steven Whitehouse <steve@chygwyn.com> | 2005-12-05 13:42:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-12-05 13:42:06 -0800 |
commit | 1f12bcc9d1840fd26bf577065214f1ebeb2609ba (patch) | |
tree | 4fb87a594d00671e2bc31998d94b3d470e9062d3 /include | |
parent | dab9630fb3d206f49658066a3ecf80ea120364db (diff) | |
download | op-kernel-dev-1f12bcc9d1840fd26bf577065214f1ebeb2609ba.zip op-kernel-dev-1f12bcc9d1840fd26bf577065214f1ebeb2609ba.tar.gz |
[DECNET]: add memory buffer settings
The patch (originally from Steve) simply adds memory buffer settings to
DECnet similar to those in TCP.
Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sysctl.h | 3 | ||||
-rw-r--r-- | include/net/dn.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 6bc03c9..4be34ef 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -670,6 +670,9 @@ enum { NET_DECNET_DST_GC_INTERVAL = 9, NET_DECNET_CONF = 10, NET_DECNET_NO_FC_MAX_CWND = 11, + NET_DECNET_MEM = 12, + NET_DECNET_RMEM = 13, + NET_DECNET_WMEM = 14, NET_DECNET_DEBUG_LEVEL = 255 }; diff --git a/include/net/dn.h b/include/net/dn.h index c1dbbd2..a4b6168 100644 --- a/include/net/dn.h +++ b/include/net/dn.h @@ -234,4 +234,8 @@ extern int decnet_di_count; extern int decnet_dr_count; extern int decnet_no_fc_max_cwnd; +extern int sysctl_decnet_mem[3]; +extern int sysctl_decnet_wmem[3]; +extern int sysctl_decnet_rmem[3]; + #endif /* _NET_DN_H */ |