/* packet-mount.c
* Routines for mount dissection
*
- * $Id: packet-mount.c,v 1.5 1999/11/19 13:09:55 gram Exp $
+ * $Id: packet-mount.c,v 1.6 1999/11/19 23:23:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
/* RFC 1813, Page 107 */
-const value_string mount3_mountstat3[] =
+static const value_string mount3_mountstat3[] =
{
{ 0, "OK" },
{ 1, "ERR_PERM" },
NULL, 0, "Path" }},
{ &hf_mount_status, {
"Status", "mount.status", FT_UINT32, BASE_DEC,
- mount3_mountstat3, 0, "Status" }},
+ VALS(mount3_mountstat3), 0, "Status" }},
{ &hf_mount_flavors, {
"Flavors", "mount.flavors", FT_UINT32, BASE_DEC,
NULL, 0, "Flavors" }},
{ &hf_mount_flavor, {
"Flavor", "mount.flavor", FT_UINT32, BASE_DEC,
- rpc_auth_flavor, 0, "Flavor" }},
+ VALS(rpc_auth_flavor), 0, "Flavor" }},
};
static gint *ett[] = {
&ett_mount,
rpc_init_proc_table(MOUNT_PROGRAM, 1, mount1_proc);
rpc_init_proc_table(MOUNT_PROGRAM, 3, mount3_proc);
}
-
* Routines for rpc dissection
* Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de>
*
- * $Id: packet-rpc.c,v 1.18 1999/11/19 13:09:56 gram Exp $
+ * $Id: packet-rpc.c,v 1.19 1999/11/19 23:23:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
{ 0, NULL }
};
-value_string rpc_auth_flavor[] = {
+const value_string rpc_auth_flavor[] = {
{ AUTH_NULL, "AUTH_NULL" },
{ AUTH_UNIX, "AUTH_UNIX" },
{ AUTH_SHORT, "AUTH_SHORT" },
/* packet-rpc.h (c) 1999 Uwe Girlich */
-/* $Id: packet-rpc.h,v 1.8 1999/11/19 13:09:56 gram Exp $ */
+/* $Id: packet-rpc.h,v 1.9 1999/11/19 23:23:41 guy Exp $ */
#ifndef __PACKET_RPC_H__
#define __PACKET_RPC_H__
#define RPC_CALL_TABLE_LENGTH 1000
-extern value_string rpc_auth_flavor[];
+extern const value_string rpc_auth_flavor[];
extern void rpc_call_insert(rpc_call_info *call);
extern rpc_call_info* rpc_call_lookup(rpc_call_info *call);