3 * Copyright (c) 2003 Endace Technology Ltd, Hamilton, New Zealand.
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
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.
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
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
56 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
57 * :indentSize=8:tabSize=8:noTabs=false: