summaryrefslogtreecommitdiff
path: root/lib9p/9p.generated.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/9p.generated.c')
-rw-r--r--lib9p/9p.generated.c1206
1 files changed, 940 insertions, 266 deletions
diff --git a/lib9p/9p.generated.c b/lib9p/9p.generated.c
index 50ed53f..6136433 100644
--- a/lib9p/9p.generated.c
+++ b/lib9p/9p.generated.c
@@ -30,270 +30,6 @@ const char *lib9p_version_str(enum lib9p_version ver) {
return version_strs[ver];
}
-static const char *msg_type_strs[0x100] = {
- [0x00] = "0x00",
- [0x01] = "0x01",
- [0x02] = "0x02",
- [0x03] = "0x03",
- [0x04] = "0x04",
- [0x05] = "0x05",
- [0x06] = "0x06",
- [0x07] = "0x07",
- [0x08] = "0x08",
- [0x09] = "0x09",
- [0x0A] = "0x0A",
- [0x0B] = "0x0B",
- [0x0C] = "0x0C",
- [0x0D] = "0x0D",
- [0x0E] = "0x0E",
- [0x0F] = "0x0F",
- [0x10] = "0x10",
- [0x11] = "0x11",
- [0x12] = "0x12",
- [0x13] = "0x13",
- [0x14] = "0x14",
- [0x15] = "0x15",
- [0x16] = "0x16",
- [0x17] = "0x17",
- [0x18] = "0x18",
- [0x19] = "0x19",
- [0x1A] = "0x1A",
- [0x1B] = "0x1B",
- [0x1C] = "0x1C",
- [0x1D] = "0x1D",
- [0x1E] = "0x1E",
- [0x1F] = "0x1F",
- [0x20] = "0x20",
- [0x21] = "0x21",
- [0x22] = "0x22",
- [0x23] = "0x23",
- [0x24] = "0x24",
- [0x25] = "0x25",
- [0x26] = "0x26",
- [0x27] = "0x27",
- [0x28] = "0x28",
- [0x29] = "0x29",
- [0x2A] = "0x2A",
- [0x2B] = "0x2B",
- [0x2C] = "0x2C",
- [0x2D] = "0x2D",
- [0x2E] = "0x2E",
- [0x2F] = "0x2F",
- [0x30] = "0x30",
- [0x31] = "0x31",
- [0x32] = "0x32",
- [0x33] = "0x33",
- [0x34] = "0x34",
- [0x35] = "0x35",
- [0x36] = "0x36",
- [0x37] = "0x37",
- [0x38] = "0x38",
- [0x39] = "0x39",
- [0x3A] = "0x3A",
- [0x3B] = "0x3B",
- [0x3C] = "0x3C",
- [0x3D] = "0x3D",
- [0x3E] = "0x3E",
- [0x3F] = "0x3F",
- [0x40] = "0x40",
- [0x41] = "0x41",
- [0x42] = "0x42",
- [0x43] = "0x43",
- [0x44] = "0x44",
- [0x45] = "0x45",
- [0x46] = "0x46",
- [0x47] = "0x47",
- [0x48] = "0x48",
- [0x49] = "0x49",
- [0x4A] = "0x4A",
- [0x4B] = "0x4B",
- [0x4C] = "0x4C",
- [0x4D] = "0x4D",
- [0x4E] = "0x4E",
- [0x4F] = "0x4F",
- [0x50] = "0x50",
- [0x51] = "0x51",
- [0x52] = "0x52",
- [0x53] = "0x53",
- [0x54] = "0x54",
- [0x55] = "0x55",
- [0x56] = "0x56",
- [0x57] = "0x57",
- [0x58] = "0x58",
- [0x59] = "0x59",
- [0x5A] = "0x5A",
- [0x5B] = "0x5B",
- [0x5C] = "0x5C",
- [0x5D] = "0x5D",
- [0x5E] = "0x5E",
- [0x5F] = "0x5F",
- [0x60] = "0x60",
- [0x61] = "0x61",
- [0x62] = "0x62",
- [0x63] = "0x63",
- [0x64] = "Tversion",
- [0x65] = "Rversion",
- [0x66] = "Tauth",
- [0x67] = "Rauth",
- [0x68] = "Tattach",
- [0x69] = "Rattach",
- [0x6A] = "0x6A",
- [0x6B] = "Rerror",
- [0x6C] = "Tflush",
- [0x6D] = "Rflush",
- [0x6E] = "Twalk",
- [0x6F] = "Rwalk",
- [0x70] = "Topen",
- [0x71] = "Ropen",
- [0x72] = "Tcreate",
- [0x73] = "Rcreate",
- [0x74] = "Tread",
- [0x75] = "Rread",
- [0x76] = "Twrite",
- [0x77] = "Rwrite",
- [0x78] = "Tclunk",
- [0x79] = "Rclunk",
- [0x7A] = "Tremove",
- [0x7B] = "Rremove",
- [0x7C] = "Tstat",
- [0x7D] = "Rstat",
- [0x7E] = "Twstat",
- [0x7F] = "Rwstat",
- [0x80] = "0x80",
- [0x81] = "0x81",
- [0x82] = "0x82",
- [0x83] = "0x83",
- [0x84] = "0x84",
- [0x85] = "0x85",
- [0x86] = "0x86",
- [0x87] = "0x87",
- [0x88] = "0x88",
- [0x89] = "0x89",
- [0x8A] = "0x8A",
- [0x8B] = "0x8B",
- [0x8C] = "0x8C",
- [0x8D] = "0x8D",
- [0x8E] = "0x8E",
- [0x8F] = "0x8F",
- [0x90] = "0x90",
- [0x91] = "0x91",
- [0x92] = "0x92",
- [0x93] = "0x93",
- [0x94] = "0x94",
- [0x95] = "0x95",
- [0x96] = "Tsession",
- [0x97] = "Rsession",
- [0x98] = "Tsread",
- [0x99] = "Rsread",
- [0x9A] = "Tswrite",
- [0x9B] = "Rswrite",
- [0x9C] = "0x9C",
- [0x9D] = "0x9D",
- [0x9E] = "0x9E",
- [0x9F] = "0x9F",
- [0xA0] = "0xA0",
- [0xA1] = "0xA1",
- [0xA2] = "0xA2",
- [0xA3] = "0xA3",
- [0xA4] = "0xA4",
- [0xA5] = "0xA5",
- [0xA6] = "0xA6",
- [0xA7] = "0xA7",
- [0xA8] = "0xA8",
- [0xA9] = "0xA9",
- [0xAA] = "0xAA",
- [0xAB] = "0xAB",
- [0xAC] = "0xAC",
- [0xAD] = "0xAD",
- [0xAE] = "0xAE",
- [0xAF] = "0xAF",
- [0xB0] = "0xB0",
- [0xB1] = "0xB1",
- [0xB2] = "0xB2",
- [0xB3] = "0xB3",
- [0xB4] = "0xB4",
- [0xB5] = "0xB5",
- [0xB6] = "0xB6",
- [0xB7] = "0xB7",
- [0xB8] = "0xB8",
- [0xB9] = "0xB9",
- [0xBA] = "0xBA",
- [0xBB] = "0xBB",
- [0xBC] = "0xBC",
- [0xBD] = "0xBD",
- [0xBE] = "0xBE",
- [0xBF] = "0xBF",
- [0xC0] = "0xC0",
- [0xC1] = "0xC1",
- [0xC2] = "0xC2",
- [0xC3] = "0xC3",
- [0xC4] = "0xC4",
- [0xC5] = "0xC5",
- [0xC6] = "0xC6",
- [0xC7] = "0xC7",
- [0xC8] = "0xC8",
- [0xC9] = "0xC9",
- [0xCA] = "0xCA",
- [0xCB] = "0xCB",
- [0xCC] = "0xCC",
- [0xCD] = "0xCD",
- [0xCE] = "0xCE",
- [0xCF] = "0xCF",
- [0xD0] = "0xD0",
- [0xD1] = "0xD1",
- [0xD2] = "0xD2",
- [0xD3] = "0xD3",
- [0xD4] = "0xD4",
- [0xD5] = "0xD5",
- [0xD6] = "0xD6",
- [0xD7] = "0xD7",
- [0xD8] = "0xD8",
- [0xD9] = "0xD9",
- [0xDA] = "0xDA",
- [0xDB] = "0xDB",
- [0xDC] = "0xDC",
- [0xDD] = "0xDD",
- [0xDE] = "0xDE",
- [0xDF] = "0xDF",
- [0xE0] = "0xE0",
- [0xE1] = "0xE1",
- [0xE2] = "0xE2",
- [0xE3] = "0xE3",
- [0xE4] = "0xE4",
- [0xE5] = "0xE5",
- [0xE6] = "0xE6",
- [0xE7] = "0xE7",
- [0xE8] = "0xE8",
- [0xE9] = "0xE9",
- [0xEA] = "0xEA",
- [0xEB] = "0xEB",
- [0xEC] = "0xEC",
- [0xED] = "0xED",
- [0xEE] = "0xEE",
- [0xEF] = "0xEF",
- [0xF0] = "0xF0",
- [0xF1] = "0xF1",
- [0xF2] = "0xF2",
- [0xF3] = "0xF3",
- [0xF4] = "0xF4",
- [0xF5] = "0xF5",
- [0xF6] = "0xF6",
- [0xF7] = "0xF7",
- [0xF8] = "0xF8",
- [0xF9] = "0xF9",
- [0xFA] = "0xFA",
- [0xFB] = "0xFB",
- [0xFC] = "0xFC",
- [0xFD] = "0xFD",
- [0xFE] = "0xFE",
- [0xFF] = "0xFF",
-};
-
-const char *lib9p_msg_type_str(enum lib9p_msg_type typ) {
- assert(0 <= typ && typ <= 0xFF);
- return msg_type_strs[typ];
-}
-
/* validate_* *****************************************************************/
static ALWAYS_INLINE bool _validate_size_net(struct _validate_ctx *ctx, uint32_t n) {
@@ -2042,29 +1778,387 @@ static FLATTEN bool marshal_Rswrite(struct _marshal_ctx *ctx, struct lib9p_msg_R
}
#endif /* defined(CONFIG_9P_ENABLE_9P2000_e) */
-/* vtables / exports **********************************************************/
+/* tables / exports ***********************************************************/
#define _MSG(typ) [LIB9P_TYP_##typ] = { \
+ .name = #typ, \
.basesize = sizeof(struct lib9p_msg_##typ), \
.validate = validate_##typ, \
.unmarshal = (_unmarshal_fn_t)unmarshal_##typ, \
.marshal = (_marshal_fn_t)marshal_##typ, \
}
+#define _NONMSG(num) [num] = { \
+ .name = #num, \
+ }
-struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
+struct _table_version _lib9p_versions[LIB9P_VER_NUM] = {
[LIB9P_VER_unknown] = { .msgs = {
+ _NONMSG(0x00),
+ _NONMSG(0x01),
+ _NONMSG(0x02),
+ _NONMSG(0x03),
+ _NONMSG(0x04),
+ _NONMSG(0x05),
+ _NONMSG(0x06),
+ _NONMSG(0x07),
+ _NONMSG(0x08),
+ _NONMSG(0x09),
+ _NONMSG(0x0A),
+ _NONMSG(0x0B),
+ _NONMSG(0x0C),
+ _NONMSG(0x0D),
+ _NONMSG(0x0E),
+ _NONMSG(0x0F),
+ _NONMSG(0x10),
+ _NONMSG(0x11),
+ _NONMSG(0x12),
+ _NONMSG(0x13),
+ _NONMSG(0x14),
+ _NONMSG(0x15),
+ _NONMSG(0x16),
+ _NONMSG(0x17),
+ _NONMSG(0x18),
+ _NONMSG(0x19),
+ _NONMSG(0x1A),
+ _NONMSG(0x1B),
+ _NONMSG(0x1C),
+ _NONMSG(0x1D),
+ _NONMSG(0x1E),
+ _NONMSG(0x1F),
+ _NONMSG(0x20),
+ _NONMSG(0x21),
+ _NONMSG(0x22),
+ _NONMSG(0x23),
+ _NONMSG(0x24),
+ _NONMSG(0x25),
+ _NONMSG(0x26),
+ _NONMSG(0x27),
+ _NONMSG(0x28),
+ _NONMSG(0x29),
+ _NONMSG(0x2A),
+ _NONMSG(0x2B),
+ _NONMSG(0x2C),
+ _NONMSG(0x2D),
+ _NONMSG(0x2E),
+ _NONMSG(0x2F),
+ _NONMSG(0x30),
+ _NONMSG(0x31),
+ _NONMSG(0x32),
+ _NONMSG(0x33),
+ _NONMSG(0x34),
+ _NONMSG(0x35),
+ _NONMSG(0x36),
+ _NONMSG(0x37),
+ _NONMSG(0x38),
+ _NONMSG(0x39),
+ _NONMSG(0x3A),
+ _NONMSG(0x3B),
+ _NONMSG(0x3C),
+ _NONMSG(0x3D),
+ _NONMSG(0x3E),
+ _NONMSG(0x3F),
+ _NONMSG(0x40),
+ _NONMSG(0x41),
+ _NONMSG(0x42),
+ _NONMSG(0x43),
+ _NONMSG(0x44),
+ _NONMSG(0x45),
+ _NONMSG(0x46),
+ _NONMSG(0x47),
+ _NONMSG(0x48),
+ _NONMSG(0x49),
+ _NONMSG(0x4A),
+ _NONMSG(0x4B),
+ _NONMSG(0x4C),
+ _NONMSG(0x4D),
+ _NONMSG(0x4E),
+ _NONMSG(0x4F),
+ _NONMSG(0x50),
+ _NONMSG(0x51),
+ _NONMSG(0x52),
+ _NONMSG(0x53),
+ _NONMSG(0x54),
+ _NONMSG(0x55),
+ _NONMSG(0x56),
+ _NONMSG(0x57),
+ _NONMSG(0x58),
+ _NONMSG(0x59),
+ _NONMSG(0x5A),
+ _NONMSG(0x5B),
+ _NONMSG(0x5C),
+ _NONMSG(0x5D),
+ _NONMSG(0x5E),
+ _NONMSG(0x5F),
+ _NONMSG(0x60),
+ _NONMSG(0x61),
+ _NONMSG(0x62),
+ _NONMSG(0x63),
_MSG(Tversion),
_MSG(Rversion),
+ _NONMSG(0x66),
+ _NONMSG(0x67),
+ _NONMSG(0x68),
+ _NONMSG(0x69),
+ _NONMSG(0x6A),
_MSG(Rerror),
+ _NONMSG(0x6C),
+ _NONMSG(0x6D),
+ _NONMSG(0x6E),
+ _NONMSG(0x6F),
+ _NONMSG(0x70),
+ _NONMSG(0x71),
+ _NONMSG(0x72),
+ _NONMSG(0x73),
+ _NONMSG(0x74),
+ _NONMSG(0x75),
+ _NONMSG(0x76),
+ _NONMSG(0x77),
+ _NONMSG(0x78),
+ _NONMSG(0x79),
+ _NONMSG(0x7A),
+ _NONMSG(0x7B),
+ _NONMSG(0x7C),
+ _NONMSG(0x7D),
+ _NONMSG(0x7E),
+ _NONMSG(0x7F),
+ _NONMSG(0x80),
+ _NONMSG(0x81),
+ _NONMSG(0x82),
+ _NONMSG(0x83),
+ _NONMSG(0x84),
+ _NONMSG(0x85),
+ _NONMSG(0x86),
+ _NONMSG(0x87),
+ _NONMSG(0x88),
+ _NONMSG(0x89),
+ _NONMSG(0x8A),
+ _NONMSG(0x8B),
+ _NONMSG(0x8C),
+ _NONMSG(0x8D),
+ _NONMSG(0x8E),
+ _NONMSG(0x8F),
+ _NONMSG(0x90),
+ _NONMSG(0x91),
+ _NONMSG(0x92),
+ _NONMSG(0x93),
+ _NONMSG(0x94),
+ _NONMSG(0x95),
+ _NONMSG(0x96),
+ _NONMSG(0x97),
+ _NONMSG(0x98),
+ _NONMSG(0x99),
+ _NONMSG(0x9A),
+ _NONMSG(0x9B),
+ _NONMSG(0x9C),
+ _NONMSG(0x9D),
+ _NONMSG(0x9E),
+ _NONMSG(0x9F),
+ _NONMSG(0xA0),
+ _NONMSG(0xA1),
+ _NONMSG(0xA2),
+ _NONMSG(0xA3),
+ _NONMSG(0xA4),
+ _NONMSG(0xA5),
+ _NONMSG(0xA6),
+ _NONMSG(0xA7),
+ _NONMSG(0xA8),
+ _NONMSG(0xA9),
+ _NONMSG(0xAA),
+ _NONMSG(0xAB),
+ _NONMSG(0xAC),
+ _NONMSG(0xAD),
+ _NONMSG(0xAE),
+ _NONMSG(0xAF),
+ _NONMSG(0xB0),
+ _NONMSG(0xB1),
+ _NONMSG(0xB2),
+ _NONMSG(0xB3),
+ _NONMSG(0xB4),
+ _NONMSG(0xB5),
+ _NONMSG(0xB6),
+ _NONMSG(0xB7),
+ _NONMSG(0xB8),
+ _NONMSG(0xB9),
+ _NONMSG(0xBA),
+ _NONMSG(0xBB),
+ _NONMSG(0xBC),
+ _NONMSG(0xBD),
+ _NONMSG(0xBE),
+ _NONMSG(0xBF),
+ _NONMSG(0xC0),
+ _NONMSG(0xC1),
+ _NONMSG(0xC2),
+ _NONMSG(0xC3),
+ _NONMSG(0xC4),
+ _NONMSG(0xC5),
+ _NONMSG(0xC6),
+ _NONMSG(0xC7),
+ _NONMSG(0xC8),
+ _NONMSG(0xC9),
+ _NONMSG(0xCA),
+ _NONMSG(0xCB),
+ _NONMSG(0xCC),
+ _NONMSG(0xCD),
+ _NONMSG(0xCE),
+ _NONMSG(0xCF),
+ _NONMSG(0xD0),
+ _NONMSG(0xD1),
+ _NONMSG(0xD2),
+ _NONMSG(0xD3),
+ _NONMSG(0xD4),
+ _NONMSG(0xD5),
+ _NONMSG(0xD6),
+ _NONMSG(0xD7),
+ _NONMSG(0xD8),
+ _NONMSG(0xD9),
+ _NONMSG(0xDA),
+ _NONMSG(0xDB),
+ _NONMSG(0xDC),
+ _NONMSG(0xDD),
+ _NONMSG(0xDE),
+ _NONMSG(0xDF),
+ _NONMSG(0xE0),
+ _NONMSG(0xE1),
+ _NONMSG(0xE2),
+ _NONMSG(0xE3),
+ _NONMSG(0xE4),
+ _NONMSG(0xE5),
+ _NONMSG(0xE6),
+ _NONMSG(0xE7),
+ _NONMSG(0xE8),
+ _NONMSG(0xE9),
+ _NONMSG(0xEA),
+ _NONMSG(0xEB),
+ _NONMSG(0xEC),
+ _NONMSG(0xED),
+ _NONMSG(0xEE),
+ _NONMSG(0xEF),
+ _NONMSG(0xF0),
+ _NONMSG(0xF1),
+ _NONMSG(0xF2),
+ _NONMSG(0xF3),
+ _NONMSG(0xF4),
+ _NONMSG(0xF5),
+ _NONMSG(0xF6),
+ _NONMSG(0xF7),
+ _NONMSG(0xF8),
+ _NONMSG(0xF9),
+ _NONMSG(0xFA),
+ _NONMSG(0xFB),
+ _NONMSG(0xFC),
+ _NONMSG(0xFD),
+ _NONMSG(0xFE),
+ _NONMSG(0xFF),
}},
#if defined(CONFIG_9P_ENABLE_9P2000)
[LIB9P_VER_9P2000] = { .msgs = {
+ _NONMSG(0x00),
+ _NONMSG(0x01),
+ _NONMSG(0x02),
+ _NONMSG(0x03),
+ _NONMSG(0x04),
+ _NONMSG(0x05),
+ _NONMSG(0x06),
+ _NONMSG(0x07),
+ _NONMSG(0x08),
+ _NONMSG(0x09),
+ _NONMSG(0x0A),
+ _NONMSG(0x0B),
+ _NONMSG(0x0C),
+ _NONMSG(0x0D),
+ _NONMSG(0x0E),
+ _NONMSG(0x0F),
+ _NONMSG(0x10),
+ _NONMSG(0x11),
+ _NONMSG(0x12),
+ _NONMSG(0x13),
+ _NONMSG(0x14),
+ _NONMSG(0x15),
+ _NONMSG(0x16),
+ _NONMSG(0x17),
+ _NONMSG(0x18),
+ _NONMSG(0x19),
+ _NONMSG(0x1A),
+ _NONMSG(0x1B),
+ _NONMSG(0x1C),
+ _NONMSG(0x1D),
+ _NONMSG(0x1E),
+ _NONMSG(0x1F),
+ _NONMSG(0x20),
+ _NONMSG(0x21),
+ _NONMSG(0x22),
+ _NONMSG(0x23),
+ _NONMSG(0x24),
+ _NONMSG(0x25),
+ _NONMSG(0x26),
+ _NONMSG(0x27),
+ _NONMSG(0x28),
+ _NONMSG(0x29),
+ _NONMSG(0x2A),
+ _NONMSG(0x2B),
+ _NONMSG(0x2C),
+ _NONMSG(0x2D),
+ _NONMSG(0x2E),
+ _NONMSG(0x2F),
+ _NONMSG(0x30),
+ _NONMSG(0x31),
+ _NONMSG(0x32),
+ _NONMSG(0x33),
+ _NONMSG(0x34),
+ _NONMSG(0x35),
+ _NONMSG(0x36),
+ _NONMSG(0x37),
+ _NONMSG(0x38),
+ _NONMSG(0x39),
+ _NONMSG(0x3A),
+ _NONMSG(0x3B),
+ _NONMSG(0x3C),
+ _NONMSG(0x3D),
+ _NONMSG(0x3E),
+ _NONMSG(0x3F),
+ _NONMSG(0x40),
+ _NONMSG(0x41),
+ _NONMSG(0x42),
+ _NONMSG(0x43),
+ _NONMSG(0x44),
+ _NONMSG(0x45),
+ _NONMSG(0x46),
+ _NONMSG(0x47),
+ _NONMSG(0x48),
+ _NONMSG(0x49),
+ _NONMSG(0x4A),
+ _NONMSG(0x4B),
+ _NONMSG(0x4C),
+ _NONMSG(0x4D),
+ _NONMSG(0x4E),
+ _NONMSG(0x4F),
+ _NONMSG(0x50),
+ _NONMSG(0x51),
+ _NONMSG(0x52),
+ _NONMSG(0x53),
+ _NONMSG(0x54),
+ _NONMSG(0x55),
+ _NONMSG(0x56),
+ _NONMSG(0x57),
+ _NONMSG(0x58),
+ _NONMSG(0x59),
+ _NONMSG(0x5A),
+ _NONMSG(0x5B),
+ _NONMSG(0x5C),
+ _NONMSG(0x5D),
+ _NONMSG(0x5E),
+ _NONMSG(0x5F),
+ _NONMSG(0x60),
+ _NONMSG(0x61),
+ _NONMSG(0x62),
+ _NONMSG(0x63),
_MSG(Tversion),
_MSG(Rversion),
_MSG(Tauth),
_MSG(Rauth),
_MSG(Tattach),
_MSG(Rattach),
+ _NONMSG(0x6A),
_MSG(Rerror),
_MSG(Tflush),
_MSG(Rflush),
@@ -2086,16 +2180,245 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
_MSG(Rstat),
_MSG(Twstat),
_MSG(Rwstat),
+ _NONMSG(0x80),
+ _NONMSG(0x81),
+ _NONMSG(0x82),
+ _NONMSG(0x83),
+ _NONMSG(0x84),
+ _NONMSG(0x85),
+ _NONMSG(0x86),
+ _NONMSG(0x87),
+ _NONMSG(0x88),
+ _NONMSG(0x89),
+ _NONMSG(0x8A),
+ _NONMSG(0x8B),
+ _NONMSG(0x8C),
+ _NONMSG(0x8D),
+ _NONMSG(0x8E),
+ _NONMSG(0x8F),
+ _NONMSG(0x90),
+ _NONMSG(0x91),
+ _NONMSG(0x92),
+ _NONMSG(0x93),
+ _NONMSG(0x94),
+ _NONMSG(0x95),
+ _NONMSG(0x96),
+ _NONMSG(0x97),
+ _NONMSG(0x98),
+ _NONMSG(0x99),
+ _NONMSG(0x9A),
+ _NONMSG(0x9B),
+ _NONMSG(0x9C),
+ _NONMSG(0x9D),
+ _NONMSG(0x9E),
+ _NONMSG(0x9F),
+ _NONMSG(0xA0),
+ _NONMSG(0xA1),
+ _NONMSG(0xA2),
+ _NONMSG(0xA3),
+ _NONMSG(0xA4),
+ _NONMSG(0xA5),
+ _NONMSG(0xA6),
+ _NONMSG(0xA7),
+ _NONMSG(0xA8),
+ _NONMSG(0xA9),
+ _NONMSG(0xAA),
+ _NONMSG(0xAB),
+ _NONMSG(0xAC),
+ _NONMSG(0xAD),
+ _NONMSG(0xAE),
+ _NONMSG(0xAF),
+ _NONMSG(0xB0),
+ _NONMSG(0xB1),
+ _NONMSG(0xB2),
+ _NONMSG(0xB3),
+ _NONMSG(0xB4),
+ _NONMSG(0xB5),
+ _NONMSG(0xB6),
+ _NONMSG(0xB7),
+ _NONMSG(0xB8),
+ _NONMSG(0xB9),
+ _NONMSG(0xBA),
+ _NONMSG(0xBB),
+ _NONMSG(0xBC),
+ _NONMSG(0xBD),
+ _NONMSG(0xBE),
+ _NONMSG(0xBF),
+ _NONMSG(0xC0),
+ _NONMSG(0xC1),
+ _NONMSG(0xC2),
+ _NONMSG(0xC3),
+ _NONMSG(0xC4),
+ _NONMSG(0xC5),
+ _NONMSG(0xC6),
+ _NONMSG(0xC7),
+ _NONMSG(0xC8),
+ _NONMSG(0xC9),
+ _NONMSG(0xCA),
+ _NONMSG(0xCB),
+ _NONMSG(0xCC),
+ _NONMSG(0xCD),
+ _NONMSG(0xCE),
+ _NONMSG(0xCF),
+ _NONMSG(0xD0),
+ _NONMSG(0xD1),
+ _NONMSG(0xD2),
+ _NONMSG(0xD3),
+ _NONMSG(0xD4),
+ _NONMSG(0xD5),
+ _NONMSG(0xD6),
+ _NONMSG(0xD7),
+ _NONMSG(0xD8),
+ _NONMSG(0xD9),
+ _NONMSG(0xDA),
+ _NONMSG(0xDB),
+ _NONMSG(0xDC),
+ _NONMSG(0xDD),
+ _NONMSG(0xDE),
+ _NONMSG(0xDF),
+ _NONMSG(0xE0),
+ _NONMSG(0xE1),
+ _NONMSG(0xE2),
+ _NONMSG(0xE3),
+ _NONMSG(0xE4),
+ _NONMSG(0xE5),
+ _NONMSG(0xE6),
+ _NONMSG(0xE7),
+ _NONMSG(0xE8),
+ _NONMSG(0xE9),
+ _NONMSG(0xEA),
+ _NONMSG(0xEB),
+ _NONMSG(0xEC),
+ _NONMSG(0xED),
+ _NONMSG(0xEE),
+ _NONMSG(0xEF),
+ _NONMSG(0xF0),
+ _NONMSG(0xF1),
+ _NONMSG(0xF2),
+ _NONMSG(0xF3),
+ _NONMSG(0xF4),
+ _NONMSG(0xF5),
+ _NONMSG(0xF6),
+ _NONMSG(0xF7),
+ _NONMSG(0xF8),
+ _NONMSG(0xF9),
+ _NONMSG(0xFA),
+ _NONMSG(0xFB),
+ _NONMSG(0xFC),
+ _NONMSG(0xFD),
+ _NONMSG(0xFE),
+ _NONMSG(0xFF),
}},
#endif /* defined(CONFIG_9P_ENABLE_9P2000) */
#if defined(CONFIG_9P_ENABLE_9P2000_e)
[LIB9P_VER_9P2000_e] = { .msgs = {
+ _NONMSG(0x00),
+ _NONMSG(0x01),
+ _NONMSG(0x02),
+ _NONMSG(0x03),
+ _NONMSG(0x04),
+ _NONMSG(0x05),
+ _NONMSG(0x06),
+ _NONMSG(0x07),
+ _NONMSG(0x08),
+ _NONMSG(0x09),
+ _NONMSG(0x0A),
+ _NONMSG(0x0B),
+ _NONMSG(0x0C),
+ _NONMSG(0x0D),
+ _NONMSG(0x0E),
+ _NONMSG(0x0F),
+ _NONMSG(0x10),
+ _NONMSG(0x11),
+ _NONMSG(0x12),
+ _NONMSG(0x13),
+ _NONMSG(0x14),
+ _NONMSG(0x15),
+ _NONMSG(0x16),
+ _NONMSG(0x17),
+ _NONMSG(0x18),
+ _NONMSG(0x19),
+ _NONMSG(0x1A),
+ _NONMSG(0x1B),
+ _NONMSG(0x1C),
+ _NONMSG(0x1D),
+ _NONMSG(0x1E),
+ _NONMSG(0x1F),
+ _NONMSG(0x20),
+ _NONMSG(0x21),
+ _NONMSG(0x22),
+ _NONMSG(0x23),
+ _NONMSG(0x24),
+ _NONMSG(0x25),
+ _NONMSG(0x26),
+ _NONMSG(0x27),
+ _NONMSG(0x28),
+ _NONMSG(0x29),
+ _NONMSG(0x2A),
+ _NONMSG(0x2B),
+ _NONMSG(0x2C),
+ _NONMSG(0x2D),
+ _NONMSG(0x2E),
+ _NONMSG(0x2F),
+ _NONMSG(0x30),
+ _NONMSG(0x31),
+ _NONMSG(0x32),
+ _NONMSG(0x33),
+ _NONMSG(0x34),
+ _NONMSG(0x35),
+ _NONMSG(0x36),
+ _NONMSG(0x37),
+ _NONMSG(0x38),
+ _NONMSG(0x39),
+ _NONMSG(0x3A),
+ _NONMSG(0x3B),
+ _NONMSG(0x3C),
+ _NONMSG(0x3D),
+ _NONMSG(0x3E),
+ _NONMSG(0x3F),
+ _NONMSG(0x40),
+ _NONMSG(0x41),
+ _NONMSG(0x42),
+ _NONMSG(0x43),
+ _NONMSG(0x44),
+ _NONMSG(0x45),
+ _NONMSG(0x46),
+ _NONMSG(0x47),
+ _NONMSG(0x48),
+ _NONMSG(0x49),
+ _NONMSG(0x4A),
+ _NONMSG(0x4B),
+ _NONMSG(0x4C),
+ _NONMSG(0x4D),
+ _NONMSG(0x4E),
+ _NONMSG(0x4F),
+ _NONMSG(0x50),
+ _NONMSG(0x51),
+ _NONMSG(0x52),
+ _NONMSG(0x53),
+ _NONMSG(0x54),
+ _NONMSG(0x55),
+ _NONMSG(0x56),
+ _NONMSG(0x57),
+ _NONMSG(0x58),
+ _NONMSG(0x59),
+ _NONMSG(0x5A),
+ _NONMSG(0x5B),
+ _NONMSG(0x5C),
+ _NONMSG(0x5D),
+ _NONMSG(0x5E),
+ _NONMSG(0x5F),
+ _NONMSG(0x60),
+ _NONMSG(0x61),
+ _NONMSG(0x62),
+ _NONMSG(0x63),
_MSG(Tversion),
_MSG(Rversion),
_MSG(Tauth),
_MSG(Rauth),
_MSG(Tattach),
_MSG(Rattach),
+ _NONMSG(0x6A),
_MSG(Rerror),
_MSG(Tflush),
_MSG(Rflush),
@@ -2117,22 +2440,245 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
_MSG(Rstat),
_MSG(Twstat),
_MSG(Rwstat),
+ _NONMSG(0x80),
+ _NONMSG(0x81),
+ _NONMSG(0x82),
+ _NONMSG(0x83),
+ _NONMSG(0x84),
+ _NONMSG(0x85),
+ _NONMSG(0x86),
+ _NONMSG(0x87),
+ _NONMSG(0x88),
+ _NONMSG(0x89),
+ _NONMSG(0x8A),
+ _NONMSG(0x8B),
+ _NONMSG(0x8C),
+ _NONMSG(0x8D),
+ _NONMSG(0x8E),
+ _NONMSG(0x8F),
+ _NONMSG(0x90),
+ _NONMSG(0x91),
+ _NONMSG(0x92),
+ _NONMSG(0x93),
+ _NONMSG(0x94),
+ _NONMSG(0x95),
_MSG(Tsession),
_MSG(Rsession),
_MSG(Tsread),
_MSG(Rsread),
_MSG(Tswrite),
_MSG(Rswrite),
+ _NONMSG(0x9C),
+ _NONMSG(0x9D),
+ _NONMSG(0x9E),
+ _NONMSG(0x9F),
+ _NONMSG(0xA0),
+ _NONMSG(0xA1),
+ _NONMSG(0xA2),
+ _NONMSG(0xA3),
+ _NONMSG(0xA4),
+ _NONMSG(0xA5),
+ _NONMSG(0xA6),
+ _NONMSG(0xA7),
+ _NONMSG(0xA8),
+ _NONMSG(0xA9),
+ _NONMSG(0xAA),
+ _NONMSG(0xAB),
+ _NONMSG(0xAC),
+ _NONMSG(0xAD),
+ _NONMSG(0xAE),
+ _NONMSG(0xAF),
+ _NONMSG(0xB0),
+ _NONMSG(0xB1),
+ _NONMSG(0xB2),
+ _NONMSG(0xB3),
+ _NONMSG(0xB4),
+ _NONMSG(0xB5),
+ _NONMSG(0xB6),
+ _NONMSG(0xB7),
+ _NONMSG(0xB8),
+ _NONMSG(0xB9),
+ _NONMSG(0xBA),
+ _NONMSG(0xBB),
+ _NONMSG(0xBC),
+ _NONMSG(0xBD),
+ _NONMSG(0xBE),
+ _NONMSG(0xBF),
+ _NONMSG(0xC0),
+ _NONMSG(0xC1),
+ _NONMSG(0xC2),
+ _NONMSG(0xC3),
+ _NONMSG(0xC4),
+ _NONMSG(0xC5),
+ _NONMSG(0xC6),
+ _NONMSG(0xC7),
+ _NONMSG(0xC8),
+ _NONMSG(0xC9),
+ _NONMSG(0xCA),
+ _NONMSG(0xCB),
+ _NONMSG(0xCC),
+ _NONMSG(0xCD),
+ _NONMSG(0xCE),
+ _NONMSG(0xCF),
+ _NONMSG(0xD0),
+ _NONMSG(0xD1),
+ _NONMSG(0xD2),
+ _NONMSG(0xD3),
+ _NONMSG(0xD4),
+ _NONMSG(0xD5),
+ _NONMSG(0xD6),
+ _NONMSG(0xD7),
+ _NONMSG(0xD8),
+ _NONMSG(0xD9),
+ _NONMSG(0xDA),
+ _NONMSG(0xDB),
+ _NONMSG(0xDC),
+ _NONMSG(0xDD),
+ _NONMSG(0xDE),
+ _NONMSG(0xDF),
+ _NONMSG(0xE0),
+ _NONMSG(0xE1),
+ _NONMSG(0xE2),
+ _NONMSG(0xE3),
+ _NONMSG(0xE4),
+ _NONMSG(0xE5),
+ _NONMSG(0xE6),
+ _NONMSG(0xE7),
+ _NONMSG(0xE8),
+ _NONMSG(0xE9),
+ _NONMSG(0xEA),
+ _NONMSG(0xEB),
+ _NONMSG(0xEC),
+ _NONMSG(0xED),
+ _NONMSG(0xEE),
+ _NONMSG(0xEF),
+ _NONMSG(0xF0),
+ _NONMSG(0xF1),
+ _NONMSG(0xF2),
+ _NONMSG(0xF3),
+ _NONMSG(0xF4),
+ _NONMSG(0xF5),
+ _NONMSG(0xF6),
+ _NONMSG(0xF7),
+ _NONMSG(0xF8),
+ _NONMSG(0xF9),
+ _NONMSG(0xFA),
+ _NONMSG(0xFB),
+ _NONMSG(0xFC),
+ _NONMSG(0xFD),
+ _NONMSG(0xFE),
+ _NONMSG(0xFF),
}},
#endif /* defined(CONFIG_9P_ENABLE_9P2000_e) */
#if defined(CONFIG_9P_ENABLE_9P2000_u)
[LIB9P_VER_9P2000_u] = { .msgs = {
+ _NONMSG(0x00),
+ _NONMSG(0x01),
+ _NONMSG(0x02),
+ _NONMSG(0x03),
+ _NONMSG(0x04),
+ _NONMSG(0x05),
+ _NONMSG(0x06),
+ _NONMSG(0x07),
+ _NONMSG(0x08),
+ _NONMSG(0x09),
+ _NONMSG(0x0A),
+ _NONMSG(0x0B),
+ _NONMSG(0x0C),
+ _NONMSG(0x0D),
+ _NONMSG(0x0E),
+ _NONMSG(0x0F),
+ _NONMSG(0x10),
+ _NONMSG(0x11),
+ _NONMSG(0x12),
+ _NONMSG(0x13),
+ _NONMSG(0x14),
+ _NONMSG(0x15),
+ _NONMSG(0x16),
+ _NONMSG(0x17),
+ _NONMSG(0x18),
+ _NONMSG(0x19),
+ _NONMSG(0x1A),
+ _NONMSG(0x1B),
+ _NONMSG(0x1C),
+ _NONMSG(0x1D),
+ _NONMSG(0x1E),
+ _NONMSG(0x1F),
+ _NONMSG(0x20),
+ _NONMSG(0x21),
+ _NONMSG(0x22),
+ _NONMSG(0x23),
+ _NONMSG(0x24),
+ _NONMSG(0x25),
+ _NONMSG(0x26),
+ _NONMSG(0x27),
+ _NONMSG(0x28),
+ _NONMSG(0x29),
+ _NONMSG(0x2A),
+ _NONMSG(0x2B),
+ _NONMSG(0x2C),
+ _NONMSG(0x2D),
+ _NONMSG(0x2E),
+ _NONMSG(0x2F),
+ _NONMSG(0x30),
+ _NONMSG(0x31),
+ _NONMSG(0x32),
+ _NONMSG(0x33),
+ _NONMSG(0x34),
+ _NONMSG(0x35),
+ _NONMSG(0x36),
+ _NONMSG(0x37),
+ _NONMSG(0x38),
+ _NONMSG(0x39),
+ _NONMSG(0x3A),
+ _NONMSG(0x3B),
+ _NONMSG(0x3C),
+ _NONMSG(0x3D),
+ _NONMSG(0x3E),
+ _NONMSG(0x3F),
+ _NONMSG(0x40),
+ _NONMSG(0x41),
+ _NONMSG(0x42),
+ _NONMSG(0x43),
+ _NONMSG(0x44),
+ _NONMSG(0x45),
+ _NONMSG(0x46),
+ _NONMSG(0x47),
+ _NONMSG(0x48),
+ _NONMSG(0x49),
+ _NONMSG(0x4A),
+ _NONMSG(0x4B),
+ _NONMSG(0x4C),
+ _NONMSG(0x4D),
+ _NONMSG(0x4E),
+ _NONMSG(0x4F),
+ _NONMSG(0x50),
+ _NONMSG(0x51),
+ _NONMSG(0x52),
+ _NONMSG(0x53),
+ _NONMSG(0x54),
+ _NONMSG(0x55),
+ _NONMSG(0x56),
+ _NONMSG(0x57),
+ _NONMSG(0x58),
+ _NONMSG(0x59),
+ _NONMSG(0x5A),
+ _NONMSG(0x5B),
+ _NONMSG(0x5C),
+ _NONMSG(0x5D),
+ _NONMSG(0x5E),
+ _NONMSG(0x5F),
+ _NONMSG(0x60),
+ _NONMSG(0x61),
+ _NONMSG(0x62),
+ _NONMSG(0x63),
_MSG(Tversion),
_MSG(Rversion),
_MSG(Tauth),
_MSG(Rauth),
_MSG(Tattach),
_MSG(Rattach),
+ _NONMSG(0x6A),
_MSG(Rerror),
_MSG(Tflush),
_MSG(Rflush),
@@ -2154,6 +2700,134 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
_MSG(Rstat),
_MSG(Twstat),
_MSG(Rwstat),
+ _NONMSG(0x80),
+ _NONMSG(0x81),
+ _NONMSG(0x82),
+ _NONMSG(0x83),
+ _NONMSG(0x84),
+ _NONMSG(0x85),
+ _NONMSG(0x86),
+ _NONMSG(0x87),
+ _NONMSG(0x88),
+ _NONMSG(0x89),
+ _NONMSG(0x8A),
+ _NONMSG(0x8B),
+ _NONMSG(0x8C),
+ _NONMSG(0x8D),
+ _NONMSG(0x8E),
+ _NONMSG(0x8F),
+ _NONMSG(0x90),
+ _NONMSG(0x91),
+ _NONMSG(0x92),
+ _NONMSG(0x93),
+ _NONMSG(0x94),
+ _NONMSG(0x95),
+ _NONMSG(0x96),
+ _NONMSG(0x97),
+ _NONMSG(0x98),
+ _NONMSG(0x99),
+ _NONMSG(0x9A),
+ _NONMSG(0x9B),
+ _NONMSG(0x9C),
+ _NONMSG(0x9D),
+ _NONMSG(0x9E),
+ _NONMSG(0x9F),
+ _NONMSG(0xA0),
+ _NONMSG(0xA1),
+ _NONMSG(0xA2),
+ _NONMSG(0xA3),
+ _NONMSG(0xA4),
+ _NONMSG(0xA5),
+ _NONMSG(0xA6),
+ _NONMSG(0xA7),
+ _NONMSG(0xA8),
+ _NONMSG(0xA9),
+ _NONMSG(0xAA),
+ _NONMSG(0xAB),
+ _NONMSG(0xAC),
+ _NONMSG(0xAD),
+ _NONMSG(0xAE),
+ _NONMSG(0xAF),
+ _NONMSG(0xB0),
+ _NONMSG(0xB1),
+ _NONMSG(0xB2),
+ _NONMSG(0xB3),
+ _NONMSG(0xB4),
+ _NONMSG(0xB5),
+ _NONMSG(0xB6),
+ _NONMSG(0xB7),
+ _NONMSG(0xB8),
+ _NONMSG(0xB9),
+ _NONMSG(0xBA),
+ _NONMSG(0xBB),
+ _NONMSG(0xBC),
+ _NONMSG(0xBD),
+ _NONMSG(0xBE),
+ _NONMSG(0xBF),
+ _NONMSG(0xC0),
+ _NONMSG(0xC1),
+ _NONMSG(0xC2),
+ _NONMSG(0xC3),
+ _NONMSG(0xC4),
+ _NONMSG(0xC5),
+ _NONMSG(0xC6),
+ _NONMSG(0xC7),
+ _NONMSG(0xC8),
+ _NONMSG(0xC9),
+ _NONMSG(0xCA),
+ _NONMSG(0xCB),
+ _NONMSG(0xCC),
+ _NONMSG(0xCD),
+ _NONMSG(0xCE),
+ _NONMSG(0xCF),
+ _NONMSG(0xD0),
+ _NONMSG(0xD1),
+ _NONMSG(0xD2),
+ _NONMSG(0xD3),
+ _NONMSG(0xD4),
+ _NONMSG(0xD5),
+ _NONMSG(0xD6),
+ _NONMSG(0xD7),
+ _NONMSG(0xD8),
+ _NONMSG(0xD9),
+ _NONMSG(0xDA),
+ _NONMSG(0xDB),
+ _NONMSG(0xDC),
+ _NONMSG(0xDD),
+ _NONMSG(0xDE),
+ _NONMSG(0xDF),
+ _NONMSG(0xE0),
+ _NONMSG(0xE1),
+ _NONMSG(0xE2),
+ _NONMSG(0xE3),
+ _NONMSG(0xE4),
+ _NONMSG(0xE5),
+ _NONMSG(0xE6),
+ _NONMSG(0xE7),
+ _NONMSG(0xE8),
+ _NONMSG(0xE9),
+ _NONMSG(0xEA),
+ _NONMSG(0xEB),
+ _NONMSG(0xEC),
+ _NONMSG(0xED),
+ _NONMSG(0xEE),
+ _NONMSG(0xEF),
+ _NONMSG(0xF0),
+ _NONMSG(0xF1),
+ _NONMSG(0xF2),
+ _NONMSG(0xF3),
+ _NONMSG(0xF4),
+ _NONMSG(0xF5),
+ _NONMSG(0xF6),
+ _NONMSG(0xF7),
+ _NONMSG(0xF8),
+ _NONMSG(0xF9),
+ _NONMSG(0xFA),
+ _NONMSG(0xFB),
+ _NONMSG(0xFC),
+ _NONMSG(0xFD),
+ _NONMSG(0xFE),
+ _NONMSG(0xFF),
}},
#endif /* defined(CONFIG_9P_ENABLE_9P2000_u) */
};