| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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
19extern "C" {
20#endif /* __cplusplus */
21
22/* bittorrent is the only protocol on uTP, so extern not WS_DLL_PUBLIC */
23extern void
24utp_dissect_pdus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
25 bool proto_desegment, unsigned fixed_len,
26 unsigned (*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
conversation.h
_packet_info
Definition packet_info.h:43
_proto_node
Definition proto.h:907
tvbuff
Definition tvbuff-int.h:35