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 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
15 #ifndef __PACKET_NETBIOS_H__
16 #define __PACKET_NETBIOS_H__
18 /* Length of NetBIOS names */
19 #define NETBIOS_NAME_LEN 16
21 extern int process_netbios_name(const unsigned char *name_ptr
, char *name_ret
, int name_ret_len
);
22 extern int get_netbios_name(tvbuff_t
*tvb
, int offset
,
23 char *name_ret
, int name_ret_len
);
24 extern const char *netbios_name_type_descr(int name_type
);
25 extern void netbios_add_name( const char* label
, tvbuff_t
*tvb
, int offset
,