2 * Defines for fmp dissection
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
15 #define FMP_PROGRAM 1001911
16 #define FMP_VERSION_3 3
23 #define FMP_SessionCreate 1
24 #define FMP_HeartBeat 2
28 #define FMP_OpenGetMap 6
29 #define FMP_OpenAllocSpace 7
31 #define FMP_AllocSpace 9
33 #define FMP_CancelReq 11
35 #define FMP_SessionTerminate 13
36 #define FMP_SessionCreateEx 14
37 #define FMP_ReportClientError 15
38 #define FMP_GetAttr 16
39 #define FMP_OpenGetAttr 17
40 #define FMP_FlushGetAttr 18
41 #define FMP_OpenGetMapEx 19
42 #define FMP_OpenAllocSpaceEx 20
43 #define FMP_GetMapEx 21
44 #define FMP_AllocSpaceEx 22
45 #define FMP_FlushEx 23
46 #define FMP_FlushGetAttrEx 24
47 #define FMP_GetVolumeInfo 25
52 * Volume Mgmt Capability
55 #define FMP_SERVER_BASED 0x01
56 #define FMP_THIRD_PARTY 0x02
57 #define FMP_CLIENT_BASED_DART 0x04
58 #define FMP_CLIENT_BASED_SIMPLE 0x08
59 #define FMP_DISK_SIGNATURE 0x10
60 #define FMP_IPSTORAGE_BASED 0X20
61 #define FMP_HIERARCHICAL_VOLUME 0x40
67 #define FMP_COMMIT_SPECIFIED 0x01
68 #define FMP_RELEASE_SPECIFIED 0x02
69 #define FMP_RELEASE_ALL 0x04
70 #define FMP_CLOSE_FILE 0x08
71 #define FMP_UPDATE_TIME 0x10
72 #define FMP_ACCESS_TIME 0x20
74 #define FMP_PLUG_IN_ID_SZ 16
86 #define FMP_CAP_REVOKE_HANDLE_LIST 0x0001
87 #define FMP_CAP_UNC_NAMES 0x0002
88 #define FMP_CAP_CIFSV2 0x0004
109 FMP_WRONG_MSG_NUM
= 500,
110 FMP_SESSION_LOST
= 501,
111 FMP_HOT_SESSION
= 502,
112 FMP_COLD_SESSION
= 503,
113 FMP_CLIENT_TERMINATED
= 504,
114 FMP_WRITER_LOST_BLK
= 505,
115 FMP_REQUEST_QUEUED
= 506,
117 FMP_REQUEST_CANCELLED
= 508,
118 FMP_WRITER_ZEROED_BLK
= 509,
119 FMP_NOTIFY_ERROR
= 510,
120 FMP_WRONG_HANDLE
= 511,
121 FMP_DUPLICATE_OPEN
= 512,
122 FMP_PLUGIN_NOFUNC
= 600
139 #define FMP_MAX_PATH_LEN 1024
143 * Encoding type for genString
153 FMP_DISK_IDENTIFIER_SIGNATURE
= 0,
154 FMP_DISK_IDENTIFIER_SERIAL
= 1
155 } fmpDiskIdentifierType
;
159 FMP_VOLUME_SLICE
= 1,
160 FMP_VOLUME_STRIPE
= 2,
169 FMP_INVALID_DATA
= 1,
174 #define FMP_MAX_PATH_LEN 1024
180 FMP_SCSI_INQUIRY
= 0,
185 #define MAX_MSG_SIZE 256 /* For wireshark messages */