Add Dearborn Group Technology's Gryphon dissector as our first
[obnox/wireshark/wip.git] / packet-nfs.h
1 /* packet-nfs.h (c) 1999 Uwe Girlich */
2 /* $Id: packet-nfs.h,v 1.4 1999/12/14 11:48:03 girlich Exp $ */
3
4 #ifndef __PACKET_NFS_H__
5 #define __PACKET_NFS_H__
6
7 #include "packet-rpc.h"
8
9 #define NFS_PROGRAM 100003
10
11 #define FHSIZE 32
12
13 /* verifier */
14 #define NFS3_CREATEVERFSIZE 8
15 #define NFS3_WRITEVERFSIZE 8
16
17 /* for write */
18 #define UNSTABLE 0
19 #define DATA_SYNC 1
20 #define FILE_SYNC 2
21
22 /* for create */
23 #define UNCHECKED 0
24 #define GUARDED 1
25 #define EXCLUSIVE 2
26
27 /* the RPC mount protocol needs both function to decode a MNT reply */
28 int dissect_fhandle(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, char* name);
29 int dissect_nfs_fh3(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, char* name);
30
31 #endif /* packet-nfs.h */
32