aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-02-06 20:25:09 -0500
committerEric Van Hensbergen <ericvh@opteron.homeip.net>2008-02-06 20:25:09 -0500
commit043aba403e9958c6526c9279b63919273cb09c13 (patch)
treea8caca5d1d9691407588f2e8dc8a1200843c998f /include/net
parentafcf0c13aeac04a39fa4d1eafdb75604b81af860 (diff)
9p: create transport rpc cut-thru
Add a new transport function which allows a cut-thru directly to the transport instead of processing request through the mux if the cut-thru exists. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/9p/transport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/9p/transport.h b/include/net/9p/transport.h
index 9dd4a05619a8..adbcafe99177 100644
--- a/include/net/9p/transport.h
+++ b/include/net/9p/transport.h
@@ -39,6 +39,8 @@ struct p9_trans {
39 int (*read) (struct p9_trans *, void *, int); 39 int (*read) (struct p9_trans *, void *, int);
40 void (*close) (struct p9_trans *); 40 void (*close) (struct p9_trans *);
41 unsigned int (*poll)(struct p9_trans *, struct poll_table_struct *); 41 unsigned int (*poll)(struct p9_trans *, struct poll_table_struct *);
42 int (*rpc) (struct p9_trans *t, struct p9_fcall *tc,
43 struct p9_fcall **rc);
42}; 44};
43 45
44struct p9_trans_module { 46struct p9_trans_module {