Skip to contentSkip to conversation

9p: loopback transport

PATCH In review Latchesar Ionkov 1 participant 1 message Nov 2, 2007

Subsystems (2)
lore
Share & tools
lore

Latchesar Ionkov

author maintainer
#0 lore raw

PATCH 8/10 9p: loopback transport

9P loopback transport that can be used between 9P in-kernel servers and v9fs on the same machine.

---
 net/9p/Kconfig      |    7 +
 net/9p/Makefile     |    4 +
 net/9p/trans_loop.c |  371 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 382 insertions(+), 0 deletions(-)
net/9p/Kconfig +7 -0
index 979c781..ae341f0 100644
@@ -23,6 +23,13 @@ config NET_9P_FD
 	  file descriptors.  TCP/IP is the default transport for 9p,
 	  so if you are going to use 9p, you'll likely want this.
 
+config NET_9P_LOOP
+	depends on NET_9P
+	default y if NET_9P
+	tristate "9P Loopback Transport (Experimental)"
+	help
+	  Loopback transport.
+
 config NET_9P_DEBUG
 	bool "Debug information"
 	depends on NET_9P
net/9p/Makefile +4 -0
index d143e4a..da05d35 100644
@@ -1,5 +1,6 @@
 obj-$(CONFIG_NET_9P) := 9pnet.o
 obj-$(CONFIG_NET_9P_FD) += 9pnet_fd.o
+obj-$(CONFIG_NET_9P_LOOP) += 9pnet_loop.o
 obj-$(CONFIG_NET_9P_SRV) += 9psrv.o
 
 9pnet-objs := \
@@ -10,6 +11,9 @@ obj-$(CONFIG_NET_9P_SRV) += 9psrv.o
 	fcprint.o \
 	util.o \
 
+9pnet_loop-objs := \
+	trans_loop.o \
+
 9psrv-objs := \
 	srv.o \
 
net/9p/trans_loop.c new file +371 -0

371 lines not on this page · raw message