| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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 uint16_t source_port;
20 uint32_t session_id;
21 uint64_t channel;
22 uint32_t next_client_id;
23 wmem_list_t * client_list;
24} lbttcp_transport_t;
25
26 typedef struct
27{
28 address receiver_address;
29 uint16_t receiver_port;
30 uint32_t id;
31 lbttcp_transport_t * transport;
32} lbttcp_client_transport_t;
33
34 lbttcp_transport_t * lbttcp_transport_find(const address * source_address, uint16_t source_port, uint32_t session_id, uint32_t frame);
35 lbttcp_transport_t * lbttcp_transport_add(const address * source_address, uint16_t source_port, uint32_t session_id, uint32_t frame);
36 char * lbttcp_transport_source_string(wmem_allocator_t* allocator, const address * source_address, uint16_t source_port, uint32_t session_id);
37 bool lbttcp_transport_sid_find(const address * source_address, uint16_t source_port, uint32_t frame, uint32_t * session_id);
38 void lbttcp_transport_sid_add(const address * source_address, uint16_t source_port, uint32_t frame, uint32_t 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 */
address
struct _address address
Holds a network or link-layer address of any supported type.
wmem_list_t
struct _wmem_list_t wmem_list_t
Opaque type representing a scoped, doubly-linked list in the wmem system.
Definition wmem_list.h:42
wmem_allocator_t
struct _wmem_allocator_t wmem_allocator_t
Definition wmem_core.h:44
lbttcp_client_transport_t
Definition packet-lbttcp.h:27
lbttcp_transport_t
Definition packet-lbttcp.h:17