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.8 2000/11/10 21:09:49 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 #ifndef __PACKET_NETBIOS_H__
31 #define __PACKET_NETBIOS_H__
33 /* Length of NetBIOS names */
34 #define NETBIOS_NAME_LEN 16
36 void capture_netbios(const u_char *, int, packet_counts *);
38 extern int process_netbios_name(const u_char *name_ptr, char *name_ret);
39 extern int get_netbios_name(tvbuff_t *tvb, int offset,
41 extern char *netbios_name_type_descr(int name_type);
42 extern gboolean netbios_add_name( char* label, tvbuff_t *tvb, int offset,