Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

tap_export_pdu.h
1 /* tap_export_pdu.h
2 * Routines for exporting PDUs to file
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11 #ifndef __TAP_EXPORT_PDU_H__
12 #define __TAP_EXPORT_PDU_H__
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17
18 typedef struct _exp_pdu_t {
19 int pkt_encap;
20 wtap_dumper* wdh;
21 } exp_pdu_t;
22
33 char *exp_pdu_pre_open(const char *tap_name, const char *filter,
34 exp_pdu_t *exp_pdu_tap_data);
35
42 int exp_pdu_open(exp_pdu_t *data, int fd, char *comment);
43
44 /* Stops the PDUs export. */
45 int exp_pdu_close(exp_pdu_t *exp_pdu_tap_data);
46
47 #ifdef __cplusplus
48 }
49 #endif /* __cplusplus */
50
51 #endif /* __TAP_EXPORT_PDU_H__ */
52
53 /*
54 * Editor modelines
55 *
56 * Local Variables:
57 * c-basic-offset: 4
58 * tab-width: 8
59 * indent-tabs-mode: nil
60 * End:
61 *
62 * ex: set shiftwidth=4 tabstop=8 expandtab:
63 * :indentSize=4:tabSize=8:noTabs=true:
64 */
_exp_pdu_t
Definition: tap_export_pdu.h:18
wtap_dumper
Definition: wtap-int.h:86