Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-smb-common.h
1
/* packet-smb-common.h
2
* Routines for SMB packet dissection
3
* Copyright 1999, Richard Sharpe <
[email protected]
>
4
*
5
* Wireshark - Network traffic analyzer
6
* By Gerald Combs <
[email protected]
>
7
* Copyright 1998 Gerald Combs
8
*
9
* Copied from packet-pop.c
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*/
13
14
#ifndef __PACKET_SMB_COMMON_H__
15
#define __PACKET_SMB_COMMON_H__
16
17
/* **data is allocated with ephemeral scope and will be automatically freed
18
* when packet dissection completes.
19
* You do NOT need to g_free() that string.
20
*/
21
int
display_unicode_string(
tvbuff_t
*tvb,
packet_info
*pinfo,
proto_tree
*tree,
int
offset,
int
hf_index,
char
**data);
22
23
int
display_ms_string(
tvbuff_t
*tvb,
packet_info
*pinfo,
proto_tree
*tree,
int
offset,
int
hf_index,
char
**data);
24
25
int
dissect_ms_compressed_string(
tvbuff_t
*tvb,
packet_info
*pinfo,
proto_tree
*tree,
int
offset,
int
hf_index,
26
const
char
**data);
27
28
extern
const
value_string
share_type_vals[];
29
30
#endif
_packet_info
Definition
packet_info.h:43
_proto_node
Definition
proto.h:901
_value_string
Definition
value_string.h:25
tvbuff
Definition
tvbuff-int.h:35
Generated by
1.9.8