9p: create transport rpc cut-thru
[pandora-kernel.git] / include / net / 9p / transport.h
index 9dd4a05..adbcafe 100644 (file)
@@ -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 {