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>
This commit is contained in:
Eric Van Hensbergen
2008-02-06 19:25:09 -06:00
committed by Eric Van Hensbergen
parent afcf0c13ae
commit 043aba403e
2 changed files with 35 additions and 16 deletions

View 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 {