summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--9p/9P2000.e.txt7
-rw-r--r--9p/srv.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/9p/9P2000.e.txt b/9p/9P2000.e.txt
index f926dc0..22f056e 100644
--- a/9p/9P2000.e.txt
+++ b/9p/9P2000.e.txt
@@ -8,4 +8,9 @@
# https://github.com/cloudozer/ling/blob/master/doc/9p2000e.md
version "9P2000.e"
-# TODO
+150/Tsession = "key[8]"
+151/Rsession = ""
+152/Tsread = "fid[4] nwname[2] nwname*(wname[s])"
+153/Rsread = "data[d]"
+154/Tswrite = "Tswrite tag[2] fid[4] nwname[2] nwname*(wname[s]) data[d]"
+155/Rswrite = "count[4]"
diff --git a/9p/srv.c b/9p/srv.c
index 652a76b..59326c9 100644
--- a/9p/srv.c
+++ b/9p/srv.c
@@ -189,3 +189,6 @@ void marshal_error(struct p9_ctx *ctx, uint16_t tag, uint8_t *net) {
host.ename.len = ctx->max_msg_size - overhead;
p9_marshal(ctx, tag, host, net);
}
+
+ERANGE for reply too large
+EPROTONOSUPPORT for version errors