summaryrefslogtreecommitdiff
path: root/packet-nfs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-29 01:11:23 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-29 01:11:23 +0000
commitdc6963e2d4b2b2ca06221b80313326170bb1a1b7 (patch)
tree349f3a8026531057a93589a1e200dfb370228fa8 /packet-nfs.h
parent21c466ed25733e4f13d786458d70bd3e46280b8a (diff)
downloadwireshark-dc6963e2d4b2b2ca06221b80313326170bb1a1b7.tar.gz
Uwe Girlich's ONC RPC and NFS dissectors.
svn path=/trunk/; revision=946
Diffstat (limited to 'packet-nfs.h')
-rw-r--r--packet-nfs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/packet-nfs.h b/packet-nfs.h
new file mode 100644
index 0000000000..52c12151f8
--- /dev/null
+++ b/packet-nfs.h
@@ -0,0 +1,18 @@
+/* packet-nfs.h (c) 1999 Uwe Girlich */
+/* $Id: packet-nfs.h,v 1.1 1999/10/29 01:11:23 guy Exp $ */
+
+#ifndef __PACKET_NFS_H__
+#define __PACKET_NFS_H__
+
+#include "packet-rpc.h"
+
+#define NFS_PROGRAM 100003
+
+#define FHSIZE 32
+
+/* the RPC mount protocol needs both function to decode a MNT reply */
+int dissect_fh2(const u_char *pd, int offset, frame_data *fd, proto_tree *tree);
+int dissect_fh3(const u_char *pd, int offset, frame_data *fd, proto_tree *tree);
+
+#endif /* packet-nfs.h */
+