[PATCH 3/3] X.25: Adds /proc/net/x25/forward to view active forwarded calls.

2007-02-07 Thread ahendry
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:

[PATCH 1/3] [RESEND] X.25: Add call forwarding

2007-02-07 Thread ahendry
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

[PATCH 2/3] X.25: Adds /proc/sys/net/x25/x25_forward to control forwarding.

2007-02-07 Thread ahendry
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 --

[PATCH] X.25 Add missing sock_put in x25_receive_data

2007-01-08 Thread ahendry
__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

[PATCH] X.25: Trivial, SOCK_DEBUG's in x25_facilities missing newlines

2007-01-03 Thread ahendry
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

[PATCH 2.6.19 2/2] X.25: Adds /proc/net/x25/forward to view active forwarded calls.

2007-01-03 Thread ahendry
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:

[PATCH 2.6.19 1/2] X.25: Adds call forwarding to X.25

2007-01-03 Thread ahendry
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