aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-02-06 19:25:09 -0600
committerEric Van Hensbergen <ericvh@opteron.homeip.net>2008-02-06 19:25:09 -0600
commit043aba403e9958c6526c9279b63919273cb09c13 (patch)
treea8caca5d1d9691407588f2e8dc8a1200843c998f /include
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')
-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 9dd4a05619a..adbcafe9917 100644
--- a/include/net/9p/transport.h
+++ b/include/net/9p/transport.h
@@ -39,6 +39,8 @@ struct p9_trans {
int (*read) (struct p9_trans *, void *, int);
void (*close) (struct p9_trans *);
unsigned int (*poll)(struct p9_trans *, struct poll_table_struct *);
+ int (*rpc) (struct p9_trans *t, struct p9_fcall *tc,
+ struct p9_fcall **rc);
};
struct p9_trans_module {