Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-bt-utp.h
1 /* packet-bt-utp.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __PACKET_BT_UTP_H__
12 #define __PACKET_BT_UTP_H__
13 
14 #include "ws_symbol_export.h"
15 
16 #include <epan/conversation.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
21 
22 /* bittorent is the only protocol on uTP, so extern not WS_DLL_PUBLIC */
23 extern void
24 utp_dissect_pdus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
25  gboolean proto_desegment, guint fixed_len,
26  guint (*get_pdu_len)(packet_info *, tvbuff_t *, int, void*),
27  dissector_t dissect_pdu, void* dissector_data);
28 
29 #ifdef __cplusplus
30 }
31 #endif /* __cplusplus */
32 
33 #endif
Definition: packet_info.h:44
Definition: proto.h:904
Definition: tvbuff-int.h:35