| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
preferences.h
1/* preferences.h
2 * Header file for the TRANSUM response time analyzer post-dissector
3 * By Paul Offord <paul.offord@advance7.com>
4 * Copyright 2016 Advance Seven Limited
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#include <epan/packet.h>
13#include <epan/prefs.h>
14
15#define RTE_TIME_SEC 1
16#define RTE_TIME_MSEC 1000
17#define RTE_TIME_USEC 1000000
18
19#define TRACE_CAP_CLIENT 1
20#define TRACE_CAP_INTERMEDIATE 2
21#define TRACE_CAP_SERVICE 3
22
26 typedef struct _TSUM_PREFERENCES
27{
28 int capture_position;
29 bool reassembly;
30 wmem_map_t *tcp_svc_ports;
31 wmem_map_t *udp_svc_ports;
32 bool orphan_ka_discard;
33 int time_multiplier;
34 bool rte_on_first_req;
35 bool rte_on_last_req;
36 bool rte_on_first_rsp;
37 bool rte_on_last_rsp;
38 bool summarisers_enabled;
39 bool summarise_tds;
40 bool summarisers_escape_quotes;
41 bool debug_enabled;
42} TSUM_PREFERENCES;
43
44 extern TSUM_PREFERENCES preferences;
wmem_map_t
struct _wmem_map_t wmem_map_t
Opaque type representing a wmem-managed hash map.
Definition wmem_map.h:46
packet.h
prefs.h
_TSUM_PREFERENCES
Holds all user-configurable preferences governing traffic summarisation, service port classification,...
Definition preferences.h:27
_TSUM_PREFERENCES::capture_position
int capture_position
Definition preferences.h:28
_TSUM_PREFERENCES::summarisers_escape_quotes
bool summarisers_escape_quotes
Definition preferences.h:40
_TSUM_PREFERENCES::rte_on_first_rsp
bool rte_on_first_rsp
Definition preferences.h:36
_TSUM_PREFERENCES::summarise_tds
bool summarise_tds
Definition preferences.h:39
_TSUM_PREFERENCES::summarisers_enabled
bool summarisers_enabled
Definition preferences.h:38
_TSUM_PREFERENCES::rte_on_last_rsp
bool rte_on_last_rsp
Definition preferences.h:37
_TSUM_PREFERENCES::debug_enabled
bool debug_enabled
Definition preferences.h:41
_TSUM_PREFERENCES::rte_on_last_req
bool rte_on_last_req
Definition preferences.h:35
_TSUM_PREFERENCES::orphan_ka_discard
bool orphan_ka_discard
Definition preferences.h:32
_TSUM_PREFERENCES::rte_on_first_req
bool rte_on_first_req
Definition preferences.h:34
_TSUM_PREFERENCES::udp_svc_ports
wmem_map_t * udp_svc_ports
Definition preferences.h:31
_TSUM_PREFERENCES::reassembly
bool reassembly
Definition preferences.h:29
_TSUM_PREFERENCES::tcp_svc_ports
wmem_map_t * tcp_svc_ports
Definition preferences.h:30
_TSUM_PREFERENCES::time_multiplier
int time_multiplier
Definition preferences.h:33