summaryrefslogtreecommitdiff
path: root/packet-nfs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-12 10:24:47 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-12 10:24:47 +0000
commit354b4b74d08fbafe23c7929f1f68eb4c84df4e2f (patch)
tree0912cc4ec72ee4b73a251e1d04cdedf309d35d23 /packet-nfs.h
parentea02d23f06c6cb602475e7a05c84e8b224c9eb51 (diff)
downloadwireshark-354b4b74d08fbafe23c7929f1f68eb4c84df4e2f.tar.gz
From Ronnie Sahlberg: file handle to file name resolution in NFS and
related protocols. svn path=/trunk/; revision=4533
Diffstat (limited to 'packet-nfs.h')
-rw-r--r--packet-nfs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-nfs.h b/packet-nfs.h
index 0ee4b8f69d..948bf3a8a7 100644
--- a/packet-nfs.h
+++ b/packet-nfs.h
@@ -1,5 +1,5 @@
/* packet-nfs.h (c) 1999 Uwe Girlich */
-/* $Id: packet-nfs.h,v 1.8 2001/01/28 03:39:48 guy Exp $ */
+/* $Id: packet-nfs.h,v 1.9 2002/01/12 10:24:47 guy Exp $ */
#ifndef __PACKET_NFS_H__
#define __PACKET_NFS_H__
@@ -95,6 +95,7 @@
#define GUARDED 1
#define EXCLUSIVE 2
+extern gboolean nfs_file_name_snooping;
/* the RPC mount protocol needs both function to decode a MNT reply */
int old_dissect_fhandle(const u_char *pd, int offset, frame_data *fd, proto_tree *tree, char* name);
@@ -105,5 +106,7 @@ int dissect_fhandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *t
int dissect_nfs_fh3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,
char *name);
+void nfs_name_snoop_add_name(int xid, tvbuff_t *tvb, int name_offset, int name_len, int parent_offset, int parent_len, unsigned char *name);
+
#endif /* packet-nfs.h */