dcerpc-netlogon: split out find_tmp_netlogon_auth_vars()
[wireshark-sm.git] / wiretap / erf.h
blobc2d14373ddf8273a1229ad389095e094f8894b06
1 /** @file
3 * Copyright (c) 2003 Endace Technology Ltd, Hamilton, New Zealand.
4 * All rights reserved.
6 * This software and documentation has been developed by Endace Technology Ltd.
7 * along with the DAG PCI network capture cards. For further information please
8 * visit https://www.endace.com/.
10 * SPDX-License-Identifier: BSD-3-Clause
13 #ifndef __W_ERF_H__
14 #define __W_ERF_H__
16 #include <glib.h>
17 #include <wiretap/wtap.h>
18 #include "ws_symbol_export.h"
20 #define ERF_POPULATE_SUCCESS 1
21 #define ERF_POPULATE_ALREADY_POPULATED 0
22 #define ERF_POPULATE_FAILED -1
24 #define ERF_MAX_INTERFACES 8
27 * Private data for ERF files and LINKTYPE_ERF packets in pcap and pcapng.
29 struct erf_private {
30 GHashTable* if_map;
31 GHashTable* anchor_map;
32 uint64_t implicit_host_id;
33 uint64_t capture_gentime;
34 uint64_t host_gentime;
37 #define MIN_RECORDS_FOR_ERF_CHECK 3
38 #define RECORDS_FOR_ERF_CHECK 20
39 #define FCS_BITS 32
40 /*Configurable through ERF_HOST_ID environment variable */
41 #define ERF_WS_DEFAULT_HOST_ID 0
43 wtap_open_return_val erf_open(wtap *wth, int *err, char **err_info);
45 #endif /* __W_ERF_H__ */
48 * Editor modelines - https://www.wireshark.org/tools/modelines.html
50 * Local variables:
51 * c-basic-offset: 8
52 * tab-width: 8
53 * indent-tabs-mode: t
54 * End:
56 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
57 * :indentSize=8:tabSize=8:noTabs=false: