Integrate libtool/libltdl with the plugin code. Add libtool and libltdl
[obnox/wireshark/wip.git] / packet-nfs.h
1 /* packet-nfs.h (c) 1999 Uwe Girlich */
2 /* $Id: packet-nfs.h,v 1.5 1999/12/16 08:34:10 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_COOKIEVERFSIZE 8
15 #define NFS3_CREATEVERFSIZE 8
16 #define NFS3_WRITEVERFSIZE 8
17
18 /* for write */
19 #define UNSTABLE 0
20 #define DATA_SYNC 1
21 #define FILE_SYNC 2
22
23 /* for create */
24 #define UNCHECKED 0
25 #define GUARDED 1
26 #define EXCLUSIVE 2
27
28 /* the RPC mount protocol needs both function to decode a MNT reply */
29 int dissect_fhandle(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, char* name);
30 int dissect_nfs_fh3(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, char* name);
31
32 #endif /* packet-nfs.h */
33