2 * Defines for fmp dissection
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 #define FMP_PROGRAM 1001911
30 #define FMP_VERSION_3 3
37 #define FMP_SessionCreate 1
38 #define FMP_HeartBeat 2
42 #define FMP_OpenGetMap 6
43 #define FMP_OpenAllocSpace 7
45 #define FMP_AllocSpace 9
47 #define FMP_CancelReq 11
49 #define FMP_SessionTerminate 13
50 #define FMP_SessionCreateEx 14
51 #define FMP_ReportClientError 15
52 #define FMP_GetAttr 16
53 #define FMP_OpenGetAttr 17
54 #define FMP_FlushGetAttr 18
55 #define FMP_OpenGetMapEx 19
56 #define FMP_OpenAllocSpaceEx 20
57 #define FMP_GetMapEx 21
58 #define FMP_AllocSpaceEx 22
59 #define FMP_FlushEx 23
60 #define FMP_FlushGetAttrEx 24
61 #define FMP_GetVolumeInfo 25
66 * Volume Mgmt Capability
69 #define FMP_SERVER_BASED 0x01
70 #define FMP_THIRD_PARTY 0x02
71 #define FMP_CLIENT_BASED_DART 0x04
72 #define FMP_CLIENT_BASED_SIMPLE 0x08
73 #define FMP_DISK_SIGNATURE 0x10
74 #define FMP_IPSTORAGE_BASED 0X20
75 #define FMP_HIERARCHICAL_VOLUME 0x40
81 #define FMP_COMMIT_SPECIFIED 0x01
82 #define FMP_RELEASE_SPECIFIED 0x02
83 #define FMP_RELEASE_ALL 0x04
84 #define FMP_CLOSE_FILE 0x08
85 #define FMP_UPDATE_TIME 0x10
86 #define FMP_ACCESS_TIME 0x20
88 #define FMP_PLUG_IN_ID_SZ 16
100 #define FMP_CAP_REVOKE_HANDLE_LIST 0x0001
101 #define FMP_CAP_UNC_NAMES 0x0002
102 #define FMP_CAP_CIFSV2 0x0004
107 FMP_CE_DISK_ERROR
= 2
123 FMP_WRONG_MSG_NUM
= 500,
124 FMP_SESSION_LOST
= 501,
125 FMP_HOT_SESSION
= 502,
126 FMP_COLD_SESSION
= 503,
127 FMP_CLIENT_TERMINATED
= 504,
128 FMP_WRITER_LOST_BLK
= 505,
129 FMP_REQUEST_QUEUED
= 506,
131 FMP_REQUEST_CANCELLED
= 508,
132 FMP_WRITER_ZEROED_BLK
= 509,
133 FMP_NOTIFY_ERROR
= 510,
134 FMP_WRONG_HANDLE
= 511,
135 FMP_DUPLICATE_OPEN
= 512,
136 FMP_PLUGIN_NOFUNC
= 600
153 #define FMP_MAX_PATH_LEN 1024
157 * Encoding type for genString
167 FMP_DISK_IDENTIFIER_SIGNATURE
= 0,
168 FMP_DISK_IDENTIFIER_SERIAL
= 1
169 } fmpDiskIdentifierType
;
173 FMP_VOLUME_SLICE
= 1,
174 FMP_VOLUME_STRIPE
= 2,
183 FMP_INVALID_DATA
= 1,
188 #define FMP_MAX_PATH_LEN 1024
194 FMP_SCSI_INQUIRY
= 0,
199 #define MAX_MSG_SIZE 256 /* For wireshark messages */