diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-24 10:57:38 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-24 10:57:38 +0000 |
commit | 500c93ee8ed83d2185dcf0fe4c069fe61c8993f1 (patch) | |
tree | 0838062e8b51bebfafee6c03270d923a1960d1c6 /packet-smb-common.c | |
parent | e4040a6ebd175efcadebc0e983df4b6fe1ca0eda (diff) | |
download | wireshark-500c93ee8ed83d2185dcf0fe4c069fe61c8993f1.tar.gz wireshark-500c93ee8ed83d2185dcf0fe4c069fe61c8993f1.tar.bz2 wireshark-500c93ee8ed83d2185dcf0fe4c069fe61c8993f1.zip |
Move the value_string table for the share type values to
"packet-smb-common.c", and use it in "packet-dcerpc-srvsvc".
svn path=/trunk/; revision=5545
Diffstat (limited to 'packet-smb-common.c')
-rw-r--r-- | packet-smb-common.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/packet-smb-common.c b/packet-smb-common.c index 201c09bf12..c75237af93 100644 --- a/packet-smb-common.c +++ b/packet-smb-common.c @@ -2,7 +2,7 @@ * Common routines for smb packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-smb-common.c,v 1.9 2002/04/30 11:03:08 guy Exp $ + * $Id: packet-smb-common.c,v 1.10 2002/05/24 10:57:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -27,6 +27,17 @@ #include "packet-smb-common.h" +/* + * Share type values - used in LANMAN and in SRVSVC. + */ +const value_string share_type_vals[] = { + {0, "Directory tree"}, + {1, "Printer queue"}, + {2, "Communications device"}, + {3, "IPC"}, + {0, NULL} +}; + int display_ms_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index) { char *str; |