Put the IGMP type field value into the PIM tree, as is done for other
[obnox/wireshark/wip.git] / packet-afs-register-info.h
1 /* packet-afs-register-info.h
2  * Routines for AFS packet dissection
3  * Copyright 1999, Nathan Neulinger <nneul@umr.edu>
4  * Based on routines from tcpdump patches by
5  *   Ken Hornstein <kenh@cmf.nrl.navy.mil>
6  * Portions based on information retrieved from the RX definitions
7  *   in Arla, the free AFS client at http://www.stacken.kth.se/project/arla/
8  * Portions based on information/specs retrieved from the OpenAFS sources at
9  *   www.openafs.org, Copyright IBM. 
10  *
11  * $Id: packet-afs-register-info.h,v 1.8 2001/06/18 02:17:44 guy Exp $
12  *
13  * Ethereal - Network traffic analyzer
14  * By Gerald Combs <gerald@zing.org>
15  * Copyright 1998 Gerald Combs
16  *
17  * Copied from packet-tftp.c
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  */
33
34 { &hf_afs_fs, { "File Server", "afs.fs", 
35         FT_BOOLEAN, BASE_NONE, 0, 0, "File Server", HFILL }},
36 { &hf_afs_cb, { "Callback", "afs.cb", 
37         FT_BOOLEAN, BASE_NONE, 0, 0, "Callback", HFILL }},
38 { &hf_afs_prot, { "Protection", "afs.prot", 
39         FT_BOOLEAN, BASE_NONE, 0, 0, "Protection Server", HFILL }},
40 { &hf_afs_vldb, { "VLDB", "afs.vldb", 
41         FT_BOOLEAN, BASE_NONE, 0, 0, "Volume Location Database Server", HFILL }},
42 { &hf_afs_kauth, { "KAuth", "afs.kauth", 
43         FT_BOOLEAN, BASE_NONE, 0, 0, "Kerberos Auth Server", HFILL }},
44 { &hf_afs_vol, { "Volume Server", "afs.vol", 
45         FT_BOOLEAN, BASE_NONE, 0, 0, "Volume Server", HFILL }},
46 { &hf_afs_error, { "Error", "afs.error", 
47         FT_BOOLEAN, BASE_NONE, 0, 0, "Error", HFILL }},
48 { &hf_afs_bos, { "BOS", "afs.bos", 
49         FT_BOOLEAN, BASE_NONE, 0, 0, "Basic Oversee Server", HFILL }},
50 { &hf_afs_update, { "Update", "afs.update", 
51         FT_BOOLEAN, BASE_NONE, 0, 0, "Update Server", HFILL }},
52 { &hf_afs_rmtsys, { "Rmtsys", "afs.rmtsys", 
53         FT_BOOLEAN, BASE_NONE, 0, 0, "Rmtsys", HFILL }},
54 { &hf_afs_ubik, { "Ubik", "afs.ubik", 
55         FT_BOOLEAN, BASE_NONE, 0, 0, "Ubik", HFILL }},
56 { &hf_afs_backup, { "Backup", "afs.backup", 
57         FT_BOOLEAN, BASE_NONE, 0, 0, "Backup Server", HFILL }},
58
59 { &hf_afs_fs_opcode, { "Operation", "afs.fs.opcode", 
60         FT_UINT32, BASE_DEC,
61         VALS(fs_req), 0, "Operation", HFILL }},
62 { &hf_afs_cb_opcode, { "Operation", "afs.cb.opcode", 
63         FT_UINT32, BASE_DEC,
64         VALS(cb_req), 0, "Operation", HFILL }},
65 { &hf_afs_prot_opcode, { "Operation", "afs.prot.opcode", 
66         FT_UINT32, BASE_DEC,
67         VALS(prot_req), 0, "Operation", HFILL }},
68 { &hf_afs_vldb_opcode, { "Operation", "afs.vldb.opcode", 
69         FT_UINT32, BASE_DEC,
70         VALS(vldb_req), 0, "Operation", HFILL }},
71 { &hf_afs_kauth_opcode, { "Operation", "afs.kauth.opcode", 
72         FT_UINT32, BASE_DEC,
73         VALS(kauth_req), 0, "Operation", HFILL }},
74 { &hf_afs_vol_opcode, { "Operation", "afs.vol.opcode", 
75         FT_UINT32, BASE_DEC,
76         VALS(vol_req), 0, "Operation", HFILL }},
77 { &hf_afs_bos_opcode, { "Operation", "afs.bos.opcode", 
78         FT_UINT32, BASE_DEC,
79         VALS(bos_req), 0, "Operation", HFILL }},
80 { &hf_afs_update_opcode, { "Operation", "afs.update.opcode", 
81         FT_UINT32, BASE_DEC,
82         VALS(update_req), 0, "Operation", HFILL }},
83 { &hf_afs_rmtsys_opcode, { "Operation", "afs.rmtsys.opcode", 
84         FT_UINT32, BASE_DEC,
85         VALS(rmtsys_req), 0, "Operation", HFILL }},
86 { &hf_afs_error_opcode, { "Operation", "afs.error.opcode", 
87         FT_UINT32, BASE_DEC,
88         0, 0, "Operation", HFILL }},
89 { &hf_afs_backup_opcode, {
90         "Operation", "afs.backup.opcode", 
91         FT_UINT32, BASE_DEC,
92         VALS(backup_req), 0, "Operation", HFILL }},
93 { &hf_afs_ubik_opcode, {
94         "Operation", "afs.ubik.opcode", 
95         FT_UINT32, BASE_DEC,
96         VALS(ubik_req), 0, "Operation", HFILL }},
97
98
99 /* File Server Fields */
100 { &hf_afs_fs_fid_volume, { "FileID (Volume)", "afs.fs.fid.volume", 
101         FT_UINT32, BASE_DEC,
102         0, 0, "File ID (Volume)", HFILL }},
103 { &hf_afs_fs_fid_vnode, { "FileID (VNode)", "afs.fs.fid.vnode", 
104         FT_UINT32, BASE_DEC,
105         0, 0, "File ID (VNode)", HFILL }},
106 { &hf_afs_fs_fid_uniqifier, { "FileID (Uniqifier)", "afs.fs.fid.uniq", 
107         FT_UINT32, BASE_DEC,
108         0, 0, "File ID (Uniqifier)", HFILL }},
109 { &hf_afs_fs_offset, { "Offset", "afs.fs.offset", 
110         FT_UINT32, BASE_DEC,
111         0, 0, "Offset", HFILL }},
112 { &hf_afs_fs_length, { "Length", "afs.fs.length", 
113         FT_UINT32, BASE_DEC, 0, 0, "Length", HFILL }},
114 { &hf_afs_fs_flength, { "FLength", "afs.fs.flength", 
115         FT_UINT32, BASE_DEC, 0, 0, "FLength", HFILL }},
116 { &hf_afs_fs_errcode, { "Error Code", "afs.fs.errcode", 
117         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
118 { &hf_afs_fs_data, { "Data", "afs.fs.data", 
119         FT_BYTES, BASE_HEX, 0, 0, "Data", HFILL }},
120 { &hf_afs_fs_token, { "Token", "afs.fs.token", 
121         FT_BYTES, BASE_HEX, 0, 0, "Token", HFILL }},
122 { &hf_afs_fs_oldname, { "Old Name", "afs.fs.oldname", 
123         FT_STRING, BASE_HEX, 0, 0, "Old Name", HFILL }},
124 { &hf_afs_fs_newname, { "New Name", "afs.fs.newname", 
125         FT_STRING, BASE_HEX, 0, 0, "New Name", HFILL }},
126 { &hf_afs_fs_name, { "Name", "afs.fs.name", 
127         FT_STRING, BASE_HEX, 0, 0, "Name", HFILL }},
128 { &hf_afs_fs_symlink_name, { "Symlink Name", "afs.fs.symlink.name", 
129         FT_STRING, BASE_HEX, 0, 0, "Symlink Name", HFILL }},
130 { &hf_afs_fs_symlink_content, { "Symlink Content", "afs.fs.symlink.content", 
131         FT_STRING, BASE_HEX, 0, 0, "Symlink Content", HFILL }},
132 { &hf_afs_fs_volid, { "Volume ID", "afs.fs.volid", 
133         FT_UINT32, BASE_DEC, 0, 0, "Volume ID", HFILL }},
134 { &hf_afs_fs_volname, { "Volume Name", "afs.fs.volname", 
135         FT_STRING, BASE_HEX, 0, 0, "Volume Name", HFILL }},
136 { &hf_afs_fs_timestamp, { "Timestamp", "afs.fs.timestamp", 
137         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Timestamp", HFILL }},
138 { &hf_afs_fs_offlinemsg, { "Offline Message", "afs.fs.offlinemsg", 
139         FT_STRING, BASE_HEX, 0, 0, "Volume Name", HFILL }},
140 { &hf_afs_fs_motd, { "Message of the Day", "afs.fs.motd", 
141         FT_STRING, BASE_HEX, 0, 0, "Message of the Day", HFILL }},
142 { &hf_afs_fs_xstats_version, { "XStats Version", "afs.fs.xstats.version", 
143         FT_UINT32, BASE_DEC, 0, 0, "XStats Version", HFILL }},
144 { &hf_afs_fs_xstats_clientversion, { "Client Version", "afs.fs.xstats.clientversion", 
145         FT_UINT32, BASE_DEC, 0, 0, "Client Version", HFILL }},
146 { &hf_afs_fs_xstats_version, { "Collection Number", "afs.fs.xstats.collnumber", 
147         FT_UINT32, BASE_DEC, VALS(xstat_collections), 0, "Collection Number", HFILL }},
148 { &hf_afs_fs_xstats_timestamp, { "XStats Timestamp", "afs.fs.xstats.timestamp", 
149         FT_UINT32, BASE_DEC, 0, 0, "XStats Timestamp", HFILL }},
150 { &hf_afs_fs_cps_spare1, { "CPS Spare1", "afs.fs.cps.spare1", 
151         FT_UINT32, BASE_DEC, 0, 0, "CPS Spare1", HFILL }},
152 { &hf_afs_fs_cps_spare2, { "CPS Spare2", "afs.fs.cps.spare2", 
153         FT_UINT32, BASE_DEC, 0, 0, "CPS Spare2", HFILL }},
154 { &hf_afs_fs_cps_spare3, { "CPS Spare3", "afs.fs.cps.spare3", 
155         FT_UINT32, BASE_DEC, 0, 0, "CPS Spare3", HFILL }},
156 { &hf_afs_fs_vicelocktype, { "Vice Lock Type", "afs.fs.vicelocktype", 
157         FT_UINT32, BASE_DEC, VALS(vice_lock_types), 0, "Vice Lock Type", HFILL }},
158 { &hf_afs_fs_viceid, { "Vice ID", "afs.fs.viceid", 
159         FT_UINT32, BASE_DEC, 0, 0, "Vice ID", HFILL }},
160 { &hf_afs_fs_viceid, { "IP Address", "afs.fs.ipaddr", 
161         FT_IPv4, BASE_HEX, 0, 0, "IP Address", HFILL }},
162                         
163 { &hf_afs_fs_status_mask, { "Mask", "afs.fs.status.mask", 
164         FT_UINT32, BASE_HEX, 0, 0, "Mask", HFILL }},
165 { &hf_afs_fs_status_mask_setmodtime, { "Set Modification Time", "afs.fs.status.mask.setmodtime", 
166         FT_UINT32, BASE_BIN, 0, 1, "Set Modification Time", HFILL }},
167 { &hf_afs_fs_status_mask_setowner, { "Set Owner", "afs.fs.status.mask.setowner", 
168         FT_UINT32, BASE_BIN, 0, 2, "Set Owner", HFILL }},
169 { &hf_afs_fs_status_mask_setgroup, { "Set Group", "afs.fs.status.mask.setgroup", 
170         FT_UINT32, BASE_BIN, 0, 4, "Set Group", HFILL }},
171 { &hf_afs_fs_status_mask_setmode, { "Set Mode", "afs.fs.status.mask.setmode", 
172         FT_UINT32, BASE_BIN, 0, 8, "Set Mode", HFILL }},
173 { &hf_afs_fs_status_mask_setsegsize, { "Set Segment Size", "afs.fs.status.mask.setsegsize", 
174         FT_UINT32, BASE_BIN, 0, 16, "Set Segment Size", HFILL }},
175 { &hf_afs_fs_status_mask_fsync, { "FSync", "afs.fs.status.mask.fsync", 
176         FT_UINT32, BASE_BIN, 0, 1024, "FSync", HFILL }},
177 { &hf_afs_fs_status_clientmodtime, { "Client Modification Time", "afs.fs.status.clientmodtime", 
178         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Client Modification Time", HFILL }},
179 { &hf_afs_fs_status_servermodtime, { "Server Modification Time", "afs.fs.status.servermodtime", 
180         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Server Modification Time", HFILL }},
181 { &hf_afs_fs_status_owner, { "Owner", "afs.fs.status.owner", 
182         FT_UINT32, BASE_DEC, 0, 0, "Owner", HFILL }},
183 { &hf_afs_fs_status_group, { "Group", "afs.fs.status.group", 
184         FT_UINT32, BASE_DEC, 0, 0, "Group", HFILL }},
185 { &hf_afs_fs_status_mode, { "Unix Mode", "afs.fs.status.mode", 
186         FT_UINT32, BASE_OCT, 0, 0, "Unix Mode", HFILL }},
187 { &hf_afs_fs_status_segsize, { "Segment Size", "afs.fs.status.segsize", 
188         FT_UINT32, BASE_DEC, 0, 0, "Segment Size", HFILL }},
189 { &hf_afs_fs_status_interfaceversion, { "Interface Version", "afs.fs.status.interfaceversion", 
190         FT_UINT32, BASE_DEC, 0, 0, "Interface Version", HFILL }},
191 { &hf_afs_fs_status_filetype, { "File Type", "afs.fs.status.filetype", 
192         FT_UINT32, BASE_DEC, 0, 0, "File Type", HFILL }},
193 { &hf_afs_fs_status_author, { "Author", "afs.fs.status.author", 
194         FT_UINT32, BASE_DEC, 0, 0, "Author", HFILL }},
195 { &hf_afs_fs_status_calleraccess, { "Caller Access", "afs.fs.status.calleraccess", 
196         FT_UINT32, BASE_DEC, 0, 0, "Caller Access", HFILL }},
197 { &hf_afs_fs_status_anonymousaccess, { "Anonymous Access", "afs.fs.status.anonymousaccess", 
198         FT_UINT32, BASE_DEC, 0, 0, "Anonymous Access", HFILL }},
199 { &hf_afs_fs_status_parentvnode, { "Parent VNode", "afs.fs.status.parentvnode", 
200         FT_UINT32, BASE_DEC, 0, 0, "Parent VNode", HFILL }},
201 { &hf_afs_fs_status_parentunique, { "Parent Unique", "afs.fs.status.parentunique", 
202         FT_UINT32, BASE_DEC, 0, 0, "Parent Unique", HFILL }},
203 { &hf_afs_fs_status_dataversion, { "Data Version", "afs.fs.status.dataversion", 
204         FT_UINT32, BASE_DEC, 0, 0, "Data Version", HFILL }},
205 { &hf_afs_fs_status_dataversionhigh, { "Data Version (High)", "afs.fs.status.dataversionhigh", 
206         FT_UINT32, BASE_DEC, 0, 0, "Data Version (High)", HFILL }},
207 { &hf_afs_fs_status_linkcount, { "Link Count", "afs.fs.status.linkcount", 
208         FT_UINT32, BASE_DEC, 0, 0, "Link Count", HFILL }},
209 { &hf_afs_fs_status_spare2, { "Spare 2", "afs.fs.status.spare2", 
210         FT_UINT32, BASE_DEC, 0, 0, "Spare 2", HFILL }},
211 { &hf_afs_fs_status_spare3, { "Spare 3", "afs.fs.status.spare3", 
212         FT_UINT32, BASE_DEC, 0, 0, "Spare 3", HFILL }},
213 { &hf_afs_fs_status_spare4, { "Spare 4", "afs.fs.status.spare4", 
214         FT_UINT32, BASE_DEC, 0, 0, "Spare 4", HFILL }},
215 { &hf_afs_fs_status_synccounter, { "Sync Counter", "afs.fs.status.synccounter", 
216         FT_UINT32, BASE_DEC, 0, 0, "Sync Counter", HFILL }},
217 { &hf_afs_fs_status_length, { "Length", "afs.fs.status.length", 
218         FT_UINT32, BASE_DEC, 0, 0, "Length", HFILL }},
219
220
221 { &hf_afs_fs_volsync_spare1, { "Spare 1", "afs.fs.volsync.spare1", 
222         FT_UINT32, BASE_DEC, 0, 0, "Spare 1", HFILL }},
223 { &hf_afs_fs_volsync_spare2, { "Spare 2", "afs.fs.volsync.spare2", 
224         FT_UINT32, BASE_DEC, 0, 0, "Spare 2", HFILL }},
225 { &hf_afs_fs_volsync_spare3, { "Spare 3", "afs.fs.volsync.spare3", 
226         FT_UINT32, BASE_DEC, 0, 0, "Spare 3", HFILL }},
227 { &hf_afs_fs_volsync_spare4, { "Spare 4", "afs.fs.volsync.spare4", 
228         FT_UINT32, BASE_DEC, 0, 0, "Spare 4", HFILL }},
229 { &hf_afs_fs_volsync_spare5, { "Spare 5", "afs.fs.volsync.spare5", 
230         FT_UINT32, BASE_DEC, 0, 0, "Spare 5", HFILL }},
231 { &hf_afs_fs_volsync_spare6, { "Spare 6", "afs.fs.volsync.spare6", 
232         FT_UINT32, BASE_DEC, 0, 0, "Spare 6", HFILL }},
233
234
235 { &hf_afs_fs_acl_count_positive, {
236         "ACL Count (Positive)", "afs.fs.acl.count.positive", 
237         FT_UINT32, BASE_DEC, 0, 0, "Number of Positive ACLs", HFILL }},
238 { &hf_afs_fs_acl_count_negative, {
239         "ACL Count (Negative)", "afs.fs.acl.count.negative", 
240         FT_UINT32, BASE_DEC, 0, 0, "Number of Negative ACLs", HFILL }},
241 { &hf_afs_fs_acl_datasize, {
242         "ACL Size", "afs.fs.acl.datasize", 
243         FT_UINT32, BASE_DEC, 0, 0, "ACL Data Size", HFILL }},
244 { &hf_afs_fs_acl_entity, {
245         "Entity (User/Group)", "afs.fs.acl.entity", 
246         FT_STRING, BASE_HEX, 0, 0, "ACL Entity (User/Group)", HFILL }},
247 { &hf_afs_fs_acl_r, {
248         "_R_ead", "afs.fs.acl.r", 
249         FT_UINT8, BASE_BIN, 0, PRSFS_READ, "Read", HFILL }},
250 { &hf_afs_fs_acl_l, {
251         "_L_ookup", "afs.fs.acl.l", 
252         FT_UINT8, BASE_BIN, 0, PRSFS_LOOKUP, "Lookup", HFILL }},
253 { &hf_afs_fs_acl_i, {
254         "_I_nsert", "afs.fs.acl.i", 
255         FT_UINT8, BASE_BIN, 0, PRSFS_INSERT, "Insert", HFILL }},
256 { &hf_afs_fs_acl_d, { "_D_elete", "afs.fs.acl.d", 
257         FT_UINT8, BASE_BIN, 0, PRSFS_DELETE, "Delete", HFILL }},
258 { &hf_afs_fs_acl_w, { "_W_rite", "afs.fs.acl.w", 
259         FT_UINT8, BASE_BIN, 0, PRSFS_WRITE, "Write", HFILL }},
260 { &hf_afs_fs_acl_k, { "_L_ock", "afs.fs.acl.k", 
261         FT_UINT8, BASE_BIN, 0, PRSFS_LOCK, "Lock", HFILL }},
262 { &hf_afs_fs_acl_a, { "_A_dminister", "afs.fs.acl.a", 
263         FT_UINT8, BASE_BIN, 0, PRSFS_ADMINISTER, "Administer", HFILL }},
264
265 { &hf_afs_fs_callback_version, { "Version", "afs.fs.callback.version", 
266         FT_UINT32, BASE_DEC, 0, 0, "Version", HFILL }},
267 { &hf_afs_fs_callback_expires, { "Expires", "afs.fs.callback.expires", 
268         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Expires", HFILL }},
269 { &hf_afs_fs_callback_type, { "Type", "afs.fs.callback.type", 
270         FT_UINT32, BASE_DEC, VALS(cb_types), 0, "Type", HFILL }},
271
272 /* BOS Server Fields */
273 { &hf_afs_bos_errcode, { "Error Code", "afs.bos.errcode", 
274         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
275 { &hf_afs_bos_type, { "Type", "afs.bos.type", 
276         FT_STRING, BASE_HEX, 0, 0, "Type", HFILL }},
277 { &hf_afs_bos_content, { "Content", "afs.bos.content", 
278         FT_STRING, BASE_HEX, 0, 0, "Content", HFILL }},
279 { &hf_afs_bos_data, { "Data", "afs.bos.data", 
280         FT_BYTES, BASE_HEX, 0, 0, "Data", HFILL }},
281 { &hf_afs_bos_path, { "Path", "afs.bos.path", 
282         FT_STRING, BASE_HEX, 0, 0, "Path", HFILL }},
283 { &hf_afs_bos_parm, { "Parm", "afs.bos.parm", 
284         FT_STRING, BASE_HEX, 0, 0, "Parm", HFILL }},
285 { &hf_afs_bos_error, { "Error", "afs.bos.error", 
286         FT_STRING, BASE_HEX, 0, 0, "Error", HFILL }},
287 { &hf_afs_bos_spare1, { "Spare1", "afs.bos.spare1", 
288         FT_STRING, BASE_HEX, 0, 0, "Spare1", HFILL }},
289 { &hf_afs_bos_spare2, { "Spare2", "afs.bos.spare2", 
290         FT_STRING, BASE_HEX, 0, 0, "Spare2", HFILL }},
291 { &hf_afs_bos_spare3, { "Spare3", "afs.bos.spare3", 
292         FT_STRING, BASE_HEX, 0, 0, "Spare3", HFILL }},
293 { &hf_afs_bos_file, { "File", "afs.bos.file", 
294         FT_STRING, BASE_HEX, 0, 0, "File", HFILL }},
295 { &hf_afs_bos_cmd, { "Command", "afs.bos.cmd", 
296         FT_STRING, BASE_HEX, 0, 0, "Command", HFILL }},
297 { &hf_afs_bos_key, { "Key", "afs.bos.key", 
298         FT_BYTES, BASE_HEX, 0, 0, "key", HFILL }},
299 { &hf_afs_bos_user, { "User", "afs.bos.user", 
300         FT_STRING, BASE_HEX, 0, 0, "User", HFILL }},
301 { &hf_afs_bos_instance, { "Instance", "afs.bos.instance", 
302         FT_STRING, BASE_HEX, 0, 0, "Instance", HFILL }},
303 { &hf_afs_bos_status, { "Status", "afs.bos.status", 
304         FT_INT32, BASE_DEC, 0, 0, "Status", HFILL }},
305 { &hf_afs_bos_statusdesc, { "Status Description", "afs.bos.statusdesc", 
306         FT_STRING, BASE_DEC, 0, 0, "Status Description", HFILL }},
307 { &hf_afs_bos_num, { "Number", "afs.bos.number", 
308         FT_UINT32, BASE_DEC, 0, 0, "Number", HFILL }},
309 { &hf_afs_bos_size, { "Size", "afs.bos.size", 
310         FT_UINT32, BASE_DEC, 0, 0, "Size", HFILL }},
311 { &hf_afs_bos_flags, { "Flags", "afs.bos.flags", 
312         FT_UINT32, BASE_DEC, 0, 0, "Flags", HFILL }},
313 { &hf_afs_bos_date, { "Date", "afs.bos.date", 
314         FT_UINT32, BASE_DEC, 0, 0, "Date", HFILL }},
315 { &hf_afs_bos_kvno, { "Key Version Number", "afs.bos.kvno", 
316         FT_UINT32, BASE_DEC, 0, 0, "Key Version Number", HFILL }},
317 { &hf_afs_bos_cell, { "Cell", "afs.bos.cell", 
318         FT_STRING, BASE_HEX, 0, 0, "Cell", HFILL }},
319 { &hf_afs_bos_host, { "Host", "afs.bos.host", 
320         FT_STRING, BASE_HEX, 0, 0, "Host", HFILL }},
321 { &hf_afs_bos_newtime, { "New Time", "afs.bos.newtime", 
322         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "New Time", HFILL }},
323 { &hf_afs_bos_baktime, { "Backup Time", "afs.bos.baktime", 
324         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Backup Time", HFILL }},
325 { &hf_afs_bos_oldtime, { "Old Time", "afs.bos.oldtime", 
326         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Old Time", HFILL }},
327 { &hf_afs_bos_keymodtime, { "Key Modification Time", "afs.bos.keymodtime", 
328         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Key Modification Time", HFILL }},
329 { &hf_afs_bos_keychecksum, { "Key Checksum", "afs.bos.keychecksum", 
330         FT_UINT32, BASE_DEC, 0, 0, "Key Checksum", HFILL }},
331 { &hf_afs_bos_keyspare2, { "Key Spare 2", "afs.bos.keyspare2", 
332         FT_UINT32, BASE_DEC, 0, 0, "Key Spare 2", HFILL }},
333
334
335 /* KAUTH Server Fields */
336 { &hf_afs_kauth_errcode, { "Error Code", "afs.kauth.errcode", 
337         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
338 { &hf_afs_kauth_princ, { "Principal", "afs.kauth.princ", 
339         FT_STRING, BASE_HEX, 0, 0, "Principal", HFILL }},
340 { &hf_afs_kauth_realm, { "Realm", "afs.kauth.realm", 
341         FT_STRING, BASE_HEX, 0, 0, "Realm", HFILL }},
342 { &hf_afs_kauth_domain, { "Domain", "afs.kauth.domain", 
343         FT_STRING, BASE_HEX, 0, 0, "Domain", HFILL }},
344 { &hf_afs_kauth_name, { "Name", "afs.kauth.name", 
345         FT_STRING, BASE_HEX, 0, 0, "Name", HFILL }},
346 { &hf_afs_kauth_data, { "Data", "afs.kauth.data", 
347         FT_BYTES, BASE_HEX, 0, 0, "Data", HFILL }},
348 { &hf_afs_kauth_kvno, { "Key Version Number", "afs.kauth.kvno", 
349         FT_UINT32, BASE_DEC, 0, 0, "Key Version Number", HFILL }},
350
351 /* VOL Server Fields */
352 { &hf_afs_vol_errcode, { "Error Code", "afs.vol.errcode", 
353         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
354 { &hf_afs_vol_id, { "Volume ID", "afs.vol.id", 
355         FT_UINT32, BASE_DEC, 0, 0, "Volume ID", HFILL }},
356 { &hf_afs_vol_count, { "Volume Count", "afs.vol.count", 
357         FT_UINT32, BASE_DEC, 0, 0, "Volume Count", HFILL }},
358 { &hf_afs_vol_name, { "Volume Name", "afs.vol.name", 
359         FT_STRING, BASE_HEX, 0, 0, "Volume Name", HFILL }},
360
361 /* VLDB Server Fields */
362 { &hf_afs_vldb_errcode, { "Error Code", "afs.vldb.errcode", 
363         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
364 { &hf_afs_vldb_type, { "Volume Type", "afs.vldb.type", 
365         FT_UINT32, BASE_DEC, VALS(volume_types), 0, "Volume Type", HFILL }},
366 { &hf_afs_vldb_id, { "Volume ID", "afs.vldb.id", 
367         FT_UINT32, BASE_DEC, 0, 0, "Volume ID", HFILL }},
368 { &hf_afs_vldb_bump, { "Bumped Volume ID", "afs.vldb.bump", 
369         FT_UINT32, BASE_DEC, 0, 0, "Bumped Volume ID", HFILL }},
370 { &hf_afs_vldb_index, { "Volume Index", "afs.vldb.index", 
371         FT_UINT32, BASE_DEC, 0, 0, "Volume Index", HFILL }},
372 { &hf_afs_vldb_count, { "Volume Count", "afs.vldb.count", 
373         FT_UINT32, BASE_DEC, 0, 0, "Volume Count", HFILL }},
374 { &hf_afs_vldb_numservers, { "Number of Servers", "afs.vldb.numservers", 
375         FT_UINT32, BASE_DEC, 0, 0, "Number of Servers", HFILL }},
376 { &hf_afs_vldb_nextindex, { "Next Volume Index", "afs.vldb.nextindex", 
377         FT_UINT32, BASE_DEC, 0, 0, "Next Volume Index", HFILL }},
378 { &hf_afs_vldb_rovol, { "Read-Only Volume ID", "afs.vldb.rovol", 
379         FT_UINT32, BASE_DEC, 0, 0, "Read-Only Volume ID", HFILL }},
380 { &hf_afs_vldb_rwvol, { "Read-Write Volume ID", "afs.vldb.rwvol", 
381         FT_UINT32, BASE_DEC, 0, 0, "Read-Only Volume ID", HFILL }},
382 { &hf_afs_vldb_bkvol, { "Backup Volume ID", "afs.vldb.bkvol", 
383         FT_UINT32, BASE_DEC, 0, 0, "Read-Only Volume ID", HFILL }},
384 { &hf_afs_vldb_name, { "Volume Name", "afs.vldb.name", 
385         FT_STRING, BASE_HEX, 0, 0, "Volume Name", HFILL }},
386 { &hf_afs_vldb_partition, { "Partition", "afs.vldb.partition", 
387         FT_STRING, BASE_HEX, 0, 0, "Partition", HFILL }},
388 { &hf_afs_vldb_server, { "Server", "afs.vldb.server", 
389         FT_IPv4, BASE_HEX, 0, 0, "Server", HFILL }},
390 { &hf_afs_vldb_serveruuid, { "Server UUID", "afs.vldb.serveruuid", 
391         FT_BYTES, BASE_HEX, 0, 0, "Server UUID", HFILL }},
392
393 /* BACKUP Server Fields */
394 { &hf_afs_backup_errcode, { "Error Code", "afs.backup.errcode", 
395         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
396
397 /* CB Server Fields */
398 { &hf_afs_cb_errcode, { "Error Code", "afs.cb.errcode", 
399         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
400 { &hf_afs_cb_callback_version, { "Version", "afs.cb.callback.version", 
401         FT_UINT32, BASE_DEC, 0, 0, "Version", HFILL }},
402 { &hf_afs_cb_callback_expires, { "Expires", "afs.cb.callback.expires", 
403         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Expires", HFILL }},
404 { &hf_afs_cb_callback_type, { "Type", "afs.cb.callback.type", 
405         FT_UINT32, BASE_DEC, VALS(cb_types), 0, "Type", HFILL }},
406 { &hf_afs_cb_fid_volume, { "FileID (Volume)", "afs.cb.fid.volume", 
407         FT_UINT32, BASE_DEC, 0, 0, "File ID (Volume)", HFILL }},
408 { &hf_afs_cb_fid_vnode, { "FileID (VNode)", "afs.cb.fid.vnode", 
409         FT_UINT32, BASE_DEC, 0, 0, "File ID (VNode)", HFILL }},
410 { &hf_afs_cb_fid_uniqifier, { "FileID (Uniqifier)", "afs.cb.fid.uniq", 
411         FT_UINT32, BASE_DEC, 0, 0, "File ID (Uniqifier)", HFILL }},
412
413 /* PROT Server Fields */
414 { &hf_afs_prot_errcode, { "Error Code", "afs.prot.errcode", 
415         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
416 { &hf_afs_prot_name, { "Name", "afs.prot.name", 
417         FT_STRING, BASE_HEX, 0, 0, "Name", HFILL }},
418 { &hf_afs_prot_id, { "ID", "afs.prot.id", 
419         FT_UINT32, BASE_DEC, 0, 0, "ID", HFILL }},
420 { &hf_afs_prot_oldid, { "Old ID", "afs.prot.oldid", 
421         FT_UINT32, BASE_DEC, 0, 0, "Old ID", HFILL }},
422 { &hf_afs_prot_newid, { "New ID", "afs.prot.newid", 
423         FT_UINT32, BASE_DEC, 0, 0, "New ID", HFILL }},
424 { &hf_afs_prot_gid, { "Group ID", "afs.prot.gid", 
425         FT_UINT32, BASE_DEC, 0, 0, "Group ID", HFILL }},
426 { &hf_afs_prot_uid, { "User ID", "afs.prot.uid", 
427         FT_UINT32, BASE_DEC, 0, 0, "User ID", HFILL }},
428 { &hf_afs_prot_count, { "Count", "afs.prot.count", 
429         FT_UINT32, BASE_DEC, 0, 0, "Count", HFILL }},
430 { &hf_afs_prot_maxgid, { "Maximum Group ID", "afs.prot.maxgid", 
431         FT_UINT32, BASE_DEC, 0, 0, "Maximum Group ID", HFILL }},
432 { &hf_afs_prot_maxuid, { "Maximum User ID", "afs.prot.maxuid", 
433         FT_UINT32, BASE_DEC, 0, 0, "Maximum User ID", HFILL }},
434 { &hf_afs_prot_pos, { "Position", "afs.prot.pos", 
435         FT_UINT32, BASE_DEC, 0, 0, "Position", HFILL }},
436 { &hf_afs_prot_flag, { "Flag", "afs.prot.flag", 
437         FT_UINT32, BASE_HEX, 0, 0, "Flag", HFILL }},
438
439 /* UBIK Fields */
440 { &hf_afs_ubik_errcode, { "Error Code", "afs.ubik.errcode", 
441         FT_UINT32, BASE_DEC, VALS(afs_errors), 0, "Error Code", HFILL }},
442 { &hf_afs_ubik_state, { "State", "afs.ubik.state", 
443         FT_UINT32, BASE_HEX, 0, 0, "State", HFILL }},
444 { &hf_afs_ubik_version_epoch, { "Epoch", "afs.ubik.version.epoch", 
445         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Epoch", HFILL }},
446 { &hf_afs_ubik_version_counter, { "Counter", "afs.ubik.version.counter", 
447         FT_UINT32, BASE_DEC, 0, 0, "Counter", HFILL }},
448 { &hf_afs_ubik_votestart, { "Vote Started", "afs.ubik.votestart", 
449         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Vote Started", HFILL }},
450 { &hf_afs_ubik_voteend, { "Vote Ends", "afs.ubik.voteend", 
451         FT_ABSOLUTE_TIME, BASE_DEC, 0, 0, "Vote Ends", HFILL }},
452 { &hf_afs_ubik_file, { "File", "afs.ubik.file", 
453         FT_UINT32, BASE_DEC, 0, 0, "File", HFILL }},
454 { &hf_afs_ubik_pos, { "Position", "afs.ubik.position", 
455         FT_UINT32, BASE_DEC, 0, 0, "Position", HFILL }},
456 { &hf_afs_ubik_length, { "Length", "afs.ubik.length", 
457         FT_UINT32, BASE_DEC, 0, 0, "Length", HFILL }},
458 { &hf_afs_ubik_locktype, { "Lock Type", "afs.ubik.locktype", 
459         FT_UINT32, BASE_DEC, VALS(ubik_lock_types), 0, "Lock Type", HFILL }},
460 { &hf_afs_ubik_votetype, { "Vote Type", "afs.ubik.votetype", 
461         FT_UINT32, BASE_HEX, 0, 0, "Vote Type", HFILL }},
462 { &hf_afs_ubik_site, { "Site", "afs.ubik.site", 
463         FT_IPv4, BASE_HEX, 0, 0, "Site", HFILL }},
464 { &hf_afs_ubik_interface, { "Interface Address", "afs.ubik.interface", 
465         FT_IPv4, BASE_HEX, 0, 0, "Interface Address", HFILL }},
466
467 { &hf_afs_ubik_now, { "Now", "afs.ubik.now", 
468         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Now", HFILL }},
469 { &hf_afs_ubik_lastyestime, { "Last Yes Time", "afs.ubik.lastyesttime", 
470         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Last Yes Time", HFILL }},
471 { &hf_afs_ubik_lastyeshost, { "Last Yes Host", "afs.ubik.lastyeshost", 
472         FT_IPv4, BASE_HEX, 0, 0, "Last Yes Host", HFILL }},
473 { &hf_afs_ubik_lastyesstate, { "Last Yes State", "afs.ubik.lastyesstate", 
474         FT_UINT32, BASE_HEX, 0, 0, "Last Yes State", HFILL }},
475 { &hf_afs_ubik_lastyesclaim, { "Last Yes Claim", "afs.ubik.lastyesclaim", 
476         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Last Yes Claim", HFILL }},
477 { &hf_afs_ubik_lowesthost, { "Lowest Host", "afs.ubik.lowesthost", 
478         FT_IPv4, BASE_HEX, 0, 0, "Lowest Host", HFILL }},
479 { &hf_afs_ubik_lowesttime, { "Lowest Time", "afs.ubik.lowesttime", 
480         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Lowest Time", HFILL }},
481 { &hf_afs_ubik_synchost, { "Sync Host", "afs.ubik.synchost", 
482         FT_IPv4, BASE_HEX, 0, 0, "Sync Host", HFILL }},
483 { &hf_afs_ubik_addr, { "Address", "afs.ubik.addr", 
484         FT_IPv4, BASE_HEX, 0, 0, "Address", HFILL }},
485 { &hf_afs_ubik_synctime, { "Sync Time", "afs.ubik.synctime", 
486         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Sync Time", HFILL }},
487 { &hf_afs_ubik_lastvotetime, { "Last Vote Time", "afs.ubik.lastvotetime", 
488         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Last Vote Time", HFILL }},
489 { &hf_afs_ubik_lastbeaconsent, { "Last Beacon Sent", "afs.ubik.lastbeaconsent", 
490         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Last Beacon Sent", HFILL }},
491 { &hf_afs_ubik_lastvote, { "Last Vote", "afs.ubik.lastvote", 
492         FT_UINT32, BASE_HEX, 0, 0, "Last Vote", HFILL }},
493 { &hf_afs_ubik_currentdb, { "Current DB", "afs.ubik.currentdb", 
494         FT_UINT32, BASE_HEX, 0, 0, "Current DB", HFILL }},
495 { &hf_afs_ubik_up, { "Up", "afs.ubik.up", 
496         FT_UINT32, BASE_HEX, 0, 0, "Up", HFILL }},
497 { &hf_afs_ubik_beaconsincedown, { "Beacon Since Down", "afs.ubik.beaconsincedown", 
498         FT_UINT32, BASE_HEX, 0, 0, "Beacon Since Down", HFILL }},
499 { &hf_afs_ubik_amsyncsite, { "Am Sync Site", "afs.ubik.amsyncsite", 
500         FT_UINT32, BASE_HEX, 0, 0, "Am Sync Site", HFILL }},
501 { &hf_afs_ubik_syncsiteuntil, { "Sync Site Until", "afs.ubik.syncsiteuntil", 
502         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Sync Site Until", HFILL }},
503 { &hf_afs_ubik_nservers, { "Number of Servers", "afs.ubik.nservers", 
504         FT_UINT32, BASE_HEX, 0, 0, "Number of Servers", HFILL }},
505 { &hf_afs_ubik_lockedpages, { "Locked Pages", "afs.ubik.lockedpages", 
506         FT_UINT32, BASE_HEX, 0, 0, "Locked Pages", HFILL }},
507 { &hf_afs_ubik_writelockedpages, { "Write Locked Pages", "afs.ubik.writelockedpages", 
508         FT_UINT32, BASE_HEX, 0, 0, "Write Locked Pages", HFILL }},
509 { &hf_afs_ubik_activewrite, { "Active Write", "afs.ubik.activewrite", 
510         FT_UINT32, BASE_HEX, 0, 0, "Active Write", HFILL }},
511 { &hf_afs_ubik_tidcounter, { "TID Counter", "afs.ubik.tidcounter", 
512         FT_UINT32, BASE_HEX, 0, 0, "TID Counter", HFILL }},
513 { &hf_afs_ubik_anyreadlocks, { "Any Read Locks", "afs.ubik.anyreadlocks", 
514         FT_UINT32, BASE_HEX, 0, 0, "Any Read Locks", HFILL }},
515 { &hf_afs_ubik_anywritelocks, { "Any Write Locks", "afs.ubik.anywritelocks", 
516         FT_UINT32, BASE_HEX, 0, 0, "Any Write Locks", HFILL }},
517 { &hf_afs_ubik_recoverystate, { "Recovery State", "afs.ubik.recoverystate", 
518         FT_UINT32, BASE_HEX, 0, 0, "Recovery State", HFILL }},
519 { &hf_afs_ubik_currenttrans, { "Current Transaction", "afs.ubik.currenttran", 
520         FT_UINT32, BASE_HEX, 0, 0, "Current Transaction", HFILL }},
521 { &hf_afs_ubik_writetrans, { "Write Transaction", "afs.ubik.writetran", 
522         FT_UINT32, BASE_HEX, 0, 0, "Write Transaction", HFILL }},
523 { &hf_afs_ubik_epochtime, { "Epoch Time", "afs.ubik.epochtime", 
524         FT_ABSOLUTE_TIME, BASE_HEX, 0, 0, "Epoch Time", HFILL }},
525 { &hf_afs_ubik_isclone, { "Is Clone", "afs.ubik.isclone", 
526         FT_UINT32, BASE_HEX, 0, 0, "Is Clone", HFILL }},
527
528
529
530
531
532
533