| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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 unsigned process_netbios_name(const unsigned char *name_ptr, char *name_ret, unsigned name_ret_len);
22 extern unsigned get_netbios_name(tvbuff_t *tvb, unsigned offset,
23 char *name_ret, unsigned 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, unsigned offset,
26 proto_tree *tree);
27
28#endif
_proto_node
Definition proto.h:905
tvbuff
Definition tvbuff-int.h:36