2 * Declarations of public routines for NetBIOS protocol packet disassembly
3 * Jeff Foster <foste@woodward.com>
4 * Copyright 1999 Jeffrey C. Foster
6 * derived from the packet-nbns.c
8 * $Id: packet-netbios.h,v 1.3 1999/09/03 01:43:09 guy Exp $
10 * Ethereal - Network traffic analyzer
11 * By Gerald Combs <gerald@zing.org>
12 * Copyright 1998 Gerald Combs
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 /* Length of NetBIOS names */
31 #define NETBIOS_NAME_LEN 16
33 extern int process_netbios_name(const u_char *name_ptr, char *name_ret);
34 extern guint get_netbios_name(const u_char *data_ptr, int offset,
36 extern char *netbios_name_type_descr(int name_type);
37 extern void netbios_add_name( char* label, const u_char *pd, int offset,
38 int nb_offset, proto_tree *tree);