diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-rdpudp.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-rdpudp.h')
-rw-r--r-- | epan/dissectors/packet-rdpudp.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rdpudp.h b/epan/dissectors/packet-rdpudp.h new file mode 100644 index 00000000..d26363a4 --- /dev/null +++ b/epan/dissectors/packet-rdpudp.h @@ -0,0 +1,43 @@ +/* packet-rdpudp.h + * RDP UDP dissection + * Author: David Fort + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef __PACKET_RDPUDP_H__ +#define __PACKET_RDPUDP_H__ + +#include <glib.h> +#include <epan/packet.h> + +extern int proto_rdpudp; + +typedef struct { + guint64 current_base; + guint16 last_received; +} rdpudp_seq_context_t; + +typedef struct _rdpudp_conv_info_t { + guint32 start_v2_at; + gboolean is_lossy; + + address server_addr; + guint16 server_port; + wmem_tree_t* server_chunks; + rdpudp_seq_context_t server_data_seq; + rdpudp_seq_context_t server_channel_seq; + wmem_tree_t* client_chunks; + rdpudp_seq_context_t client_data_seq; + rdpudp_seq_context_t client_channel_seq; +} rdpudp_conv_info_t; + +gboolean rdp_isServerAddressTarget(packet_info *pinfo); +gboolean rdpudp_is_reliable_transport(packet_info *pinfo); + +#endif /* __PACKET_RDPUDP_H_ */ |