diff options
author | Andrew Hendry <andrew.hendry@gmail.com> | 2007-02-09 00:34:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-02-09 00:34:36 +0300 |
commit | 39e21c0d34fe769d06839679fa920217359a58b0 (patch) | |
tree | 954c04db643a0f4d9fb7e4dc686981a6b207ed57 /include/linux/sysctl.h | |
parent | 95a9dc4390c8215d922e0ca2ebb95279261fe795 (diff) | |
download | linux-39e21c0d34fe769d06839679fa920217359a58b0.tar.xz |
[X.25]: Adds /proc/sys/net/x25/x25_forward to control forwarding.
echo "1" > /proc/sys/net/x25/x25_forward
To turn on x25_forwarding, defaults to off
Requires the previous patch.
Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 81480e613467..665412c4f4b9 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -699,7 +699,8 @@ enum { NET_X25_CALL_REQUEST_TIMEOUT=2, NET_X25_RESET_REQUEST_TIMEOUT=3, NET_X25_CLEAR_REQUEST_TIMEOUT=4, - NET_X25_ACK_HOLD_BACK_TIMEOUT=5 + NET_X25_ACK_HOLD_BACK_TIMEOUT=5, + NET_X25_FORWARD=6 }; /* /proc/sys/net/token-ring */ |