summaryrefslogtreecommitdiff
path: root/lib9p/idl/03-9P2000.L.9p.wip
blob: 62186f95065afb11b3ac54ef46d8dbf60b3b91fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 9P2000.L.txt - Definitions of 9P2000.L messages
#
# Copyright (C) 2024  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later

# "9P2000.L" Linux extension
# https://github.com/chaos/diod/blob/master/protocol.md
version "9P2000.L"

from ./01-9P2000.9p import *
from ./02-9P2000.u.9p import Tauth, Tattach

#msg Tlerror      = "size[4,val=end-&size] typ[1,val=6]  tag[tag] illegal" # analogous to 106/Terror
msg Rlerror      = "size[4,val=end-&size] typ[1,val=7]  tag[tag] ecode[4]" # analogous to 107/Rerror
msg Tstatfs      = "size[4,val=end-&size] typ[1,val=8]  tag[tag] TODO"
msg Rstatfs      = "size[4,val=end-&size] typ[1,val=9]  tag[tag] TODO"
msg Tlopen       = "size[4,val=end-&size] typ[1,val=12] tag[tag] TODO" # analogous to 112/Topen
msg Rlopen       = "size[4,val=end-&size] typ[1,val=13] tag[tag] TODO" # analogous to 113/Ropen
msg Tlcreate     = "size[4,val=end-&size] typ[1,val=14] tag[tag] TODO" # analogous to 114/Tcreate
msg Rlcreate     = "size[4,val=end-&size] typ[1,val=15] tag[tag] TODO" # analogous to 115/Rcreate
msg Tsymlink     = "size[4,val=end-&size] typ[1,val=16] tag[tag] TODO"
msg Rsymlink     = "size[4,val=end-&size] typ[1,val=17] tag[tag] TODO"
msg Tmknod       = "size[4,val=end-&size] typ[1,val=18] tag[tag] TODO"
msg Rmknod       = "size[4,val=end-&size] typ[1,val=19] tag[tag] TODO"
msg Trename      = "size[4,val=end-&size] typ[1,val=20] tag[tag] TODO"
msg Rrename      = "size[4,val=end-&size] typ[1,val=21] tag[tag] TODO"
msg Treadlink    = "size[4,val=end-&size] typ[1,val=22] tag[tag] TODO"
msg Rreadlink    = "size[4,val=end-&size] typ[1,val=23] tag[tag] TODO"
msg Tgetattr     = "size[4,val=end-&size] typ[1,val=24] tag[tag] TODO"
msg Rgetattr     = "size[4,val=end-&size] typ[1,val=25] tag[tag] TODO"
msg Tsetattr     = "size[4,val=end-&size] typ[1,val=26] tag[tag] TODO"
msg Rsetattr     = "size[4,val=end-&size] typ[1,val=27] tag[tag] TODO"
#...
msg Txattrwalk   = "size[4,val=end-&size] typ[1,val=30] tag[tag] TODO"
msg Rxattrwalk   = "size[4,val=end-&size] typ[1,val=31] tag[tag] TODO"
msg Txattrcreate = "size[4,val=end-&size] typ[1,val=32] tag[tag] TODO"
msg Rxattrcreate = "size[4,val=end-&size] typ[1,val=33] tag[tag] TODO"
#...
msg Treaddir     = "size[4,val=end-&size] typ[1,val=40] tag[tag] TODO"
msg Rreaddir     = "size[4,val=end-&size] typ[1,val=41] tag[tag] TODO"
#...
msg Tfsync       = "size[4,val=end-&size] typ[1,val=50] tag[tag] TODO"
msg Rfsync       = "size[4,val=end-&size] typ[1,val=51] tag[tag] TODO"
msg Tlock        = "size[4,val=end-&size] typ[1,val=52] tag[tag] TODO"
msg Rlock        = "size[4,val=end-&size] typ[1,val=53] tag[tag] TODO"
msg Tgetlock     = "size[4,val=end-&size] typ[1,val=54] tag[tag] TODO"
msg Rgetlock     = "size[4,val=end-&size] typ[1,val=55] tag[tag] TODO"
# ...
msg Tlink        = "size[4,val=end-&size] typ[1,val=70] tag[tag] TODO"
msg Rlink        = "size[4,val=end-&size] typ[1,val=71] tag[tag] TODO"
msg Tmkdir       = "size[4,val=end-&size] typ[1,val=72] tag[tag] TODO"
msg Tmkdir       = "size[4,val=end-&size] typ[1,val=73] tag[tag] TODO"
msg Trenameat    = "size[4,val=end-&size] typ[1,val=74] tag[tag] TODO"
msg Rrenameat    = "size[4,val=end-&size] typ[1,val=75] tag[tag] TODO"
msg Tunlinkat    = "size[4,val=end-&size] typ[1,val=76] tag[tag] TODO"
msg Runlinkat    = "size[4,val=end-&size] typ[1,val=77] tag[tag] TODO"