]> err.no Git - linux-2.6/commit
[X.25]: Add call forwarding
authorAndrew Hendry <andrew.hendry@gmail.com>
Thu, 8 Feb 2007 21:34:02 +0000 (13:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Feb 2007 21:34:02 +0000 (13:34 -0800)
commit95a9dc4390c8215d922e0ca2ebb95279261fe795
tree8b4be0c3a672ebd30d2777227e9a466819483ab8
parente610e679dd0057403c96cd31f8739792780732ee
[X.25]: Add call forwarding

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.
Moved the skb_clone's into the forwarding functions.

Worked ok with Cisco XoT, linux X.25 back to back, and some old NTUs/PADs.

Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/x25.h
net/x25/Makefile
net/x25/af_x25.c
net/x25/x25_dev.c
net/x25/x25_forward.c [new file with mode: 0644]
net/x25/x25_route.c