summaryrefslogtreecommitdiffstats
path: root/plugins/epan/transum/preferences.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /plugins/epan/transum/preferences.h
parentInitial commit. (diff)
downloadwireshark-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 'plugins/epan/transum/preferences.h')
-rw-r--r--plugins/epan/transum/preferences.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/epan/transum/preferences.h b/plugins/epan/transum/preferences.h
new file mode 100644
index 00000000..96eea06a
--- /dev/null
+++ b/plugins/epan/transum/preferences.h
@@ -0,0 +1,41 @@
+/* preferences.h
+ * Header file for the TRANSUM response time analyzer post-dissector
+ * By Paul Offord <paul.offord@advance7.com>
+ * Copyright 2016 Advance Seven Limited
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+#include <epan/packet.h>
+#include <epan/prefs.h>
+
+#define RTE_TIME_SEC 1
+#define RTE_TIME_MSEC 1000
+#define RTE_TIME_USEC 1000000
+
+#define TRACE_CAP_CLIENT 1
+#define TRACE_CAP_INTERMEDIATE 2
+#define TRACE_CAP_SERVICE 3
+
+/* Add entries to the service port table for packets to be treated as services
+* This is populated with preferences "service ports" data */
+typedef struct _TSUM_PREFERENCES
+{
+ int capture_position;
+ gboolean reassembly;
+ wmem_map_t *tcp_svc_ports;
+ wmem_map_t *udp_svc_ports;
+ gboolean orphan_ka_discard;
+ int time_multiplier;
+ gboolean rte_on_first_req;
+ gboolean rte_on_last_req;
+ gboolean rte_on_first_rsp;
+ gboolean rte_on_last_rsp;
+ gboolean summarisers_enabled;
+ gboolean summarise_tds;
+ gboolean summarisers_escape_quotes;
+ gboolean debug_enabled;
+} TSUM_PREFERENCES;