Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-lbttcp.h
1 /* packet-lbttcp.h
2  * Routines for LBM TCP Packet dissection
3  *
4  * Copyright (c) 2005-2014 Informatica Corporation. All Rights Reserved.
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12 
13 #ifndef PACKET_LBTTCP_H_INCLUDED
14 #define PACKET_LBTTCP_H_INCLUDED
15 
16 typedef struct
17 {
18  address source_address;
19  guint16 source_port;
20  guint32 session_id;
21  guint64 channel;
22  guint32 next_client_id;
23  wmem_list_t * client_list;
25 
26 typedef struct
27 {
28  address receiver_address;
29  guint16 receiver_port;
30  guint32 id;
31  lbttcp_transport_t * transport;
33 
34 lbttcp_transport_t * lbttcp_transport_find(const address * source_address, guint16 source_port, guint32 session_id, guint32 frame);
35 lbttcp_transport_t * lbttcp_transport_add(const address * source_address, guint16 source_port, guint32 session_id, guint32 frame);
36 char * lbttcp_transport_source_string(const address * source_address, guint16 source_port, guint32 session_id);
37 gboolean lbttcp_transport_sid_find(const address * source_address, guint16 source_port, guint32 frame, guint32 * session_id);
38 void lbttcp_transport_sid_add(const address * source_address, guint16 source_port, guint32 frame, guint32 session_id);
39 
40 #endif
41 
42 /*
43  * Editor modelines - https://www.wireshark.org/tools/modelines.html
44  *
45  * Local variables:
46  * c-basic-offset: 4
47  * tab-width: 8
48  * indent-tabs-mode: nil
49  * End:
50  *
51  * vi: set shiftwidth=4 tabstop=8 expandtab:
52  * :indentSize=4:tabSize=8:noTabs=true:
53  */
Definition: address.h:56
Definition: wmem_list.c:23
Definition: packet-lbttcp.h:27
Definition: packet-lbttcp.h:17