* Routines for SMB Browser packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb-browse.c,v 1.34 2003/11/19 03:53:32 guy Exp $
+ * $Id: packet-smb-browse.c,v 1.36 2004/01/19 20:10:36 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include <ctype.h>
#include <epan/packet.h>
#include "smb.h"
-#include "alignment.h"
#include "packet-smb-browse.h"
#include "packet-dcerpc.h"
*/
int
dissect_smb_server_type_flags(tvbuff_t *tvb, int offset, packet_info *pinfo,
- proto_tree *parent_tree, char *drep,
+ proto_tree *parent_tree, guint8 *drep,
gboolean infoflag)
{
proto_tree *tree = NULL;
proto_tree *tree = NULL;
proto_item *item = NULL;
guint32 periodicity;
- char host_name[17];
- guint namelen;
+ guint8 host_name[17];
+ gint namelen;
guint8 server_count, reset_cmd;
int i;
guint32 uptime;
break;
}
case BROWSE_REQUEST_ANNOUNCE: {
- char *computer_name;
+ guint8 *computer_name;
/* unused/unknown flags */
proto_tree_add_item(tree, hf_unused_flags,
proto_tree *tree = NULL;
proto_item *item = NULL;
guint32 periodicity;
- const char *host_name;
+ const guint8 *host_name;
guint namelen;
if (check_col(pinfo->cinfo, COL_PROTOCOL)) {