blob: 240565e11df32c61792a4ec9b9a752aaded0de60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
bool reassembly;
wmem_map_t *tcp_svc_ports;
wmem_map_t *udp_svc_ports;
bool orphan_ka_discard;
int time_multiplier;
bool rte_on_first_req;
bool rte_on_last_req;
bool rte_on_first_rsp;
bool rte_on_last_rsp;
bool summarisers_enabled;
bool summarise_tds;
bool summarisers_escape_quotes;
bool debug_enabled;
} TSUM_PREFERENCES;
|