diff options
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r-- | include/net/9p/9p.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 59300dc22dd0..156c26bb8bd7 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h | |||
@@ -88,6 +88,8 @@ do { \ | |||
88 | * enum p9_msg_t - 9P message types | 88 | * enum p9_msg_t - 9P message types |
89 | * @P9_TSTATFS: file system status request | 89 | * @P9_TSTATFS: file system status request |
90 | * @P9_RSTATFS: file system status response | 90 | * @P9_RSTATFS: file system status response |
91 | * @P9_TRENAME: rename request | ||
92 | * @P9_RRENAME: rename response | ||
91 | * @P9_TVERSION: version handshake request | 93 | * @P9_TVERSION: version handshake request |
92 | * @P9_RVERSION: version handshake response | 94 | * @P9_RVERSION: version handshake response |
93 | * @P9_TAUTH: request to establish authentication channel | 95 | * @P9_TAUTH: request to establish authentication channel |
@@ -129,6 +131,8 @@ do { \ | |||
129 | enum p9_msg_t { | 131 | enum p9_msg_t { |
130 | P9_TSTATFS = 8, | 132 | P9_TSTATFS = 8, |
131 | P9_RSTATFS, | 133 | P9_RSTATFS, |
134 | P9_TRENAME = 20, | ||
135 | P9_RRENAME, | ||
132 | P9_TVERSION = 100, | 136 | P9_TVERSION = 100, |
133 | P9_RVERSION, | 137 | P9_RVERSION, |
134 | P9_TAUTH = 102, | 138 | P9_TAUTH = 102, |
@@ -370,6 +374,15 @@ struct p9_rstatfs { | |||
370 | u32 namelen; | 374 | u32 namelen; |
371 | }; | 375 | }; |
372 | 376 | ||
377 | struct p9_trename { | ||
378 | u32 fid; | ||
379 | u32 newdirfid; | ||
380 | struct p9_str name; | ||
381 | }; | ||
382 | |||
383 | struct p9_rrename { | ||
384 | }; | ||
385 | |||
373 | struct p9_tversion { | 386 | struct p9_tversion { |
374 | u32 msize; | 387 | u32 msize; |
375 | struct p9_str version; | 388 | struct p9_str version; |