View the active forwarded calls
cat /proc/net/x25/forward
Signed-off-by: Andrew Hendry <[EMAIL PROTECTED]>
--- linux-2.6.20-vanilla/net/x25/x25_proc.c 2007-02-07 14:29:43.0
+1100
+++ linux-2.6.20/net/x25/x25_proc.c 2007-02-07 15:17:51.0 +1100
@@ -165,6 +165,75 @@ out:
Adds call forwarding to X.25, allowing it to operate like an X.25 router.
Useful if one needs to manipulate X.25 traffic with tools like tc.
This is an update/cleanup based off a patch submitted by Daniel Ferenci a few
years ago.
Thanks Alan for the feedback.
Added the null check to the clones.
M
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 <[EMAIL PROTECTED]>
diff -uprN -X linux-2.6.20/Documentation/dontdiff
linux-2.6.20-vanilla/include/linux/sysctl.h linux-2.6.20/include/linux/sysctl.h
--
__x25_find_socket does a sock_hold.
This adds a missing sock_put in x25_receive_data.
Signed-off-by: Andrew Hendry <[EMAIL PROTECTED]>
--- linux-2.6.19-vanilla/net/x25/x25_dev.c 2006-12-31 22:31:07.0
+1100
+++ linux-2.6.19/net/x25/x25_dev.c 2007-01-06 16:40:54.0 +1100
Trivial. Newlines missing on the SOCK_DEBUG's for X.25 facility negotiation.
Signed-off-by: Andrew Hendry <[EMAIL PROTECTED]>
--- linux-2.6.19-vanilla/net/x25/x25_facilities.c 2006-12-31
22:31:07.0 +1100
+++ linux-2.6.19/net/x25/x25_facilities.c 2007-01-01 22:56:17.0
View the active forwarded call list
cat /proc/net/x25/forward
Signed-off-by: Andrew Hendry <[EMAIL PROTECTED]>
--- linux-2.6.19-vanilla/net/x25/x25_proc.c 2006-12-31 22:31:07.0
+1100
+++ linux-2.6.19/net/x25/x25_proc.c 2007-01-01 19:16:56.0 +1100
@@ -165,6 +165,75 @@ out:
Adds call forwarding to X.25, allowing it to operate like an X.25 router.
Useful if one needs to manipulate X.25 traffic with tools like tc.
This is an update/cleanup based off a patch submitted by Daniel Ferenci a few
years ago.
Worked ok with Cisco XoT, linux X.25 back to back, and some old NTU
7 matches
Mail list logo