Skip to contentSkip to conversation

2.6.11.7 X.25 : x25tap

PATCH In review Andrew Hendry 2 participants 3 messages Apr 27, 2005 – Apr 29, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.11.7 X.25 : x25tap

Adds an x25tap module, like ethertap for X.25.

This allows X.25 to be done in userspace, and in particular X.25 over TCP (XOT RFC1613) when used with a userspace XOT daemon.

drivers/net/Kconfig +18 -0
diff -uprN -X dontdiff linux-2.6.11.7-vanilla/drivers/net/Kconfig linux-2.6.11.7/drivers/net/Kconfig
@@ -128,6 +128,24 @@ config ETHERTAP
 
 	  If you don't know what to use this for, you don't need it.
 
+config X25TAP
+	tristate "X.25 network tap"
+	depends on NETDEVICES && EXPERIMENTAL && NETLINK_DEV && X25
+	---help---
+	  This is a very simple X.25 driver. It bounces X.25 level2 frames
+	  to user space and expects X.25 frames to be written back to it.
+
+	  Connection state handling is left to the user pluged into the tap
+	  as explained in Documentation/networking/x25-iface.txt
+
+	  As this is an X.25 level 2 device you can use it for user level
+	  drivers and for building bridging tunnels (XOT).
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called x25tap.
+
+	  If your using xotd or similar program say N.
+
 config NET_SB1000
 	tristate "General Instruments Surfboard 1000"
 	depends on NETDEVICES && PNP
drivers/net/Makefile +1 -0
diff -uprN -X dontdiff linux-2.6.11.7-vanilla/drivers/net/Makefile linux-2.6.11.7/drivers/net/Makefile
@@ -69,6 +69,7 @@ obj-$(CONFIG_HAMACHI) += hamachi.o
 obj-$(CONFIG_NET) += Space.o loopback.o
 obj-$(CONFIG_SEEQ8005) += seeq8005.o
 obj-$(CONFIG_ETHERTAP) += ethertap.o
+obj-$(CONFIG_X25TAP) += x25tap.o
 obj-$(CONFIG_NET_SB1000) += sb1000.o
 obj-$(CONFIG_MAC8390) += mac8390.o 8390.o
 obj-$(CONFIG_APNE) += apne.o 8390.o
drivers/net/x25tap.c +331 -0

331 lines not on this page · raw message

#1 lore raw
Quoted 2 lines · * Andrew Hendry ([email protected]) wrote:

Adds an x25tap module, like ethertap for X.25.

Can this not be done with tun/tap? Ethertap is gone:

[email protected], 2005-03-22 19:20:39-08:00, [email protected]
[NET]: Kill NETLINK_DEV and its only user, ethertap.

This stuff has been scheduled to die for 2 years.

thanks,
-chris

#2 lore raw

Thanks for the feedback.

Quoted 1 line

Can this not be done with tun/tap? Ethertap is gone:

I don't think tun/tap itself can do it. I'll look how it works and see if something similar could do what we need.

Andrew.