Wireshark 4.5.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 <[email protected]>
4 * Copyright 1999 Jeffrey C. Foster
5 *
6 * derived from the packet-nbns.c
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <[email protected]>
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
21extern int process_netbios_name(const unsigned char *name_ptr, char *name_ret, int name_ret_len);
22extern int get_netbios_name(tvbuff_t *tvb, int offset,
23 char *name_ret, int name_ret_len);
24extern const char *netbios_name_type_descr(int name_type);
25extern void netbios_add_name( const char* label, tvbuff_t *tvb, int offset,
26 proto_tree *tree);
27
28#endif
Definition proto.h:901
Definition tvbuff-int.h:35