Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
erf-common.h
Go to the documentation of this file.
1
13#ifndef __W_ERF_COMMON_H__
14#define __W_ERF_COMMON_H__
15
16/*
17 * Declarations of functions exported to file readers that handle
18 * LINKTYPE_ERF packets.
19 */
20
21typedef struct erf_private erf_t;
22
29
36erf_t* erf_priv_free(erf_t* erf_priv);
37
48int erf_populate_interface_from_header(erf_t* erf_priv, wtap *wth, union wtap_pseudo_header *pseudo_header, int *err, char **err_info);
49
50#endif /* __W_ERF_COMMON_H__ */
51
52/*
53 * Editor modelines - https://www.wireshark.org/tools/modelines.html
54 *
55 * Local variables:
56 * c-basic-offset: 8
57 * tab-width: 8
58 * indent-tabs-mode: t
59 * End:
60 *
61 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
62 * :indentSize=8:tabSize=8:noTabs=false:
63 */
erf_t * erf_priv_create(void)
Create a new erf_priv structure.
Definition erf.c:270
erf_t * erf_priv_free(erf_t *erf_priv)
Frees an erf_t structure and its associated resources.
Definition erf.c:284
int erf_populate_interface_from_header(erf_t *erf_priv, wtap *wth, union wtap_pseudo_header *pseudo_header, int *err, char **err_info)
Populates interface information from ERF header.
Definition erf.c:2134
Definition erf.h:27
Definition wtap_module.h:58
Definition wtap.h:1281