aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/9p/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/9p/transport.h')
-rw-r--r--include/net/9p/transport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/9p/transport.h b/include/net/9p/transport.h
index 3e0f2f6beba2..6d5886efb102 100644
--- a/include/net/9p/transport.h
+++ b/include/net/9p/transport.h
@@ -33,8 +33,8 @@
33 * @maxsize: transport provided maximum packet size 33 * @maxsize: transport provided maximum packet size
34 * @def: set if this transport should be considered the default 34 * @def: set if this transport should be considered the default
35 * @create: member function to create a new connection on this transport 35 * @create: member function to create a new connection on this transport
36 * @close: member function to disconnect and close the transport 36 * @request: member function to issue a request to the transport
37 * @rpc: member function to issue a request to the transport 37 * @cancel: member function to cancel a request (if it hasn't been sent)
38 * 38 *
39 * This is the basic API for a transport module which is registered by the 39 * This is the basic API for a transport module which is registered by the
40 * transport module with the 9P core network module and used by the client 40 * transport module with the 9P core network module and used by the client
@@ -51,8 +51,8 @@ struct p9_trans_module {
51 struct module *owner; 51 struct module *owner;
52 int (*create)(struct p9_client *, const char *, char *); 52 int (*create)(struct p9_client *, const char *, char *);
53 void (*close) (struct p9_client *); 53 void (*close) (struct p9_client *);
54 int (*rpc) (struct p9_client *t, struct p9_fcall *tc, 54 int (*request) (struct p9_client *, struct p9_req_t *req);
55 struct p9_fcall **rc); 55 int (*cancel) (struct p9_client *, struct p9_req_t *req);
56}; 56};
57 57
58void v9fs_register_trans(struct p9_trans_module *m); 58void v9fs_register_trans(struct p9_trans_module *m);