diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-10-29 01:11:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-10-29 01:11:23 +0000 |
commit | dc6963e2d4b2b2ca06221b80313326170bb1a1b7 (patch) | |
tree | 349f3a8026531057a93589a1e200dfb370228fa8 /packet-nfs.h | |
parent | 21c466ed25733e4f13d786458d70bd3e46280b8a (diff) |
Uwe Girlich's ONC RPC and NFS dissectors.
svn path=/trunk/; revision=946
Diffstat (limited to 'packet-nfs.h')
-rw-r--r-- | packet-nfs.h | 18 |
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 */ + |