summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-25 15:35:53 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-25 15:35:53 -0600
commita9acf65bc8e3439d7fd2c927b2a920f120cb3a47 (patch)
treea1354fcfe09a72c8437fad68cd6075b4ff411ad5
parent729663cb9d20b0d36b3ef6b689447390b94006df (diff)
wip
-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