aboutsummaryrefslogtreecommitdiff
path: root/include/net/9p/9p.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r--include/net/9p/9p.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index fb163e2e0de..f9e25268b70 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -509,6 +509,8 @@ struct p9_rwstat {
* @size: prefixed length of the structure
* @id: protocol operating identifier of type &p9_msg_t
* @tag: transaction id of the request
+ * @offset: used by marshalling routines to track currentposition in buffer
+ * @capacity: used by marshalling routines to track total capacity
* @sdata: payload
* @params: per-operation parameters
*
@@ -523,7 +525,11 @@ struct p9_fcall {
u32 size;
u8 id;
u16 tag;
- void *sdata;
+
+ size_t offset;
+ size_t capacity;
+
+ uint8_t *sdata;
union {
struct p9_tversion tversion;