Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-netbios.h
1 /* packet-netbios.h
2 * Declarations of public routines for NetBIOS protocol packet disassembly
3 * Jeff Foster <foste@woodward.com>
4 * Copyright 1999 Jeffrey C. Foster
5 *
6 * derived from the packet-nbns.c
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 */
14
15 #ifndef __PACKET_NETBIOS_H__
16 #define __PACKET_NETBIOS_H__
17
18 /* Length of NetBIOS names */
19 #define NETBIOS_NAME_LEN 16
20
21 extern int process_netbios_name(const guchar *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,
26 proto_tree *tree);
27
28 #endif
tvbuff
Definition: tvbuff-int.h:35
_proto_node
Definition: proto.h:759