aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afs-macros.h
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>2000-11-03 18:37:24 +0000
committerNathan Neulinger <nneul@umr.edu>2000-11-03 18:37:24 +0000
commit2cdf2ad90db544ad077362558c7068481bc968de (patch)
tree38d387df03120c3f6bf6423e9167639167ce1916 /packet-afs-macros.h
parent83547932cfac54f6cae96e6868c6f3a3d191ee5f (diff)
finished up structure for fs replies, though macros still need implemented
svn path=/trunk/; revision=2554
Diffstat (limited to 'packet-afs-macros.h')
-rw-r--r--packet-afs-macros.h37
1 files changed, 31 insertions, 6 deletions
diff --git a/packet-afs-macros.h b/packet-afs-macros.h
index 998da3ca82..4942f678e8 100644
--- a/packet-afs-macros.h
+++ b/packet-afs-macros.h
@@ -8,7 +8,7 @@
* Portions based on information/specs retrieved from the OpenAFS sources at
* www.openafs.org, Copyright IBM.
*
- * $Id: packet-afs-macros.h,v 1.1 2000/11/03 17:32:51 nneul Exp $
+ * $Id: packet-afs-macros.h,v 1.2 2000/11/03 18:37:24 nneul Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -190,7 +190,7 @@
/* Output a FetchStatus */
#define OUT_FS_AFSFetchStatus(label) \
{ proto_tree *save, *ti; \
- ti = proto_tree_add_text(tree, NullTVB, curoffset, 6*4, \
+ ti = proto_tree_add_text(tree, NullTVB, curoffset, 21*4, \
label); \
save = tree; \
tree = proto_item_add_subtree(ti, ett_afs_status); \
@@ -220,8 +220,18 @@
/* Output a VolSync */
#define OUT_FS_AFSVolSync() \
- { \
- SKIP(6*sizeof(guint32)); \
+ { proto_tree *save, *ti; \
+ ti = proto_tree_add_text(tree, NullTVB, curoffset, 6*4, \
+ "VolSync"); \
+ save = tree; \
+ tree = proto_item_add_subtree(ti, ett_afs_volsync); \
+ OUT_UINT(hf_afs_fs_volsync_spare1); \
+ OUT_UINT(hf_afs_fs_volsync_spare2); \
+ OUT_UINT(hf_afs_fs_volsync_spare3); \
+ OUT_UINT(hf_afs_fs_volsync_spare4); \
+ OUT_UINT(hf_afs_fs_volsync_spare5); \
+ OUT_UINT(hf_afs_fs_volsync_spare6); \
+ tree = save; \
}
/* Output a AFSCBFids */
@@ -230,8 +240,23 @@
/* Output a AFSCBs */
#define OUT_FS_AFSCBs()
-/* Output a ViceLockType */
-#define OUT_FS_ViceLockType()
+/* Output a AFSBulkStats */
+#define OUT_FS_AFSBulkStats()
+
+/* Output a AFSFetchVolumeStatus */
+#define OUT_FS_AFSFetchVolumeStatus()
+
+/* Output a AFSStoreVolumeStatus */
+#define OUT_FS_AFSStoreVolumeStatus()
+
+/* Output a ViceStatistics structure */
+#define OUT_FS_ViceStatistics()
+
+/* Output a AFS_CollData structure */
+#define OUT_FS_AFS_CollData()
+
+/* Output a VolumeInfo structure */
+#define OUT_FS_VolumeInfo()
/* Output a AFS acl */
#define ACLOUT(who, positive, acl, bytes) \