From 043aba403e9958c6526c9279b63919273cb09c13 Mon Sep 17 00:00:00 2001 From: Eric Van Hensbergen Date: Wed, 6 Feb 2008 19:25:09 -0600 Subject: 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 --- include/net/9p/transport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/net/9p/transport.h') 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 { 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 { -- cgit v1.2.3