2021-08-29 08:49:12 +00:00
|
|
|
/* 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;
|
|
|
|
|
2022-11-09 07:21:46 +00:00
|
|
|
typedef struct {
|
|
|
|
guint64 current_base;
|
|
|
|
guint16 last_received;
|
|
|
|
} rdpudp_seq_context_t;
|
|
|
|
|
2021-08-29 08:49:12 +00:00
|
|
|
typedef struct _rdpudp_conv_info_t {
|
|
|
|
guint32 start_v2_at;
|
|
|
|
gboolean is_lossy;
|
|
|
|
|
|
|
|
address server_addr;
|
|
|
|
guint16 server_port;
|
2022-11-09 07:21:46 +00:00
|
|
|
wmem_tree_t* server_chunks;
|
2023-07-13 11:18:49 +00:00
|
|
|
rdpudp_seq_context_t server_data_seq;
|
2022-11-09 07:21:46 +00:00
|
|
|
rdpudp_seq_context_t server_channel_seq;
|
|
|
|
wmem_tree_t* client_chunks;
|
2023-07-13 11:18:49 +00:00
|
|
|
rdpudp_seq_context_t client_data_seq;
|
2022-11-09 07:21:46 +00:00
|
|
|
rdpudp_seq_context_t client_channel_seq;
|
2021-08-29 08:49:12 +00:00
|
|
|
} rdpudp_conv_info_t;
|
|
|
|
|
2021-09-02 20:51:19 +00:00
|
|
|
gboolean rdp_isServerAddressTarget(packet_info *pinfo);
|
2021-09-14 14:48:52 +00:00
|
|
|
gboolean rdpudp_is_reliable_transport(packet_info *pinfo);
|
|
|
|
|
2021-08-29 08:49:12 +00:00
|
|
|
#endif /* __PACKET_RDPUDP_H_ */
|