Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
23 /* Add entries to the service port table for packets to be treated as services
24 * This is populated with preferences "service ports" data */
25 typedef struct _TSUM_PREFERENCES
26 {
27  int capture_position;
28  bool reassembly;
29  wmem_map_t *tcp_svc_ports;
30  wmem_map_t *udp_svc_ports;
31  bool orphan_ka_discard;
32  int time_multiplier;
33  bool rte_on_first_req;
34  bool rte_on_last_req;
35  bool rte_on_first_rsp;
36  bool rte_on_last_rsp;
37  bool summarisers_enabled;
38  bool summarise_tds;
39  bool summarisers_escape_quotes;
40  bool debug_enabled;
Definition: preferences.h:26
Definition: wmem_map.c:44