Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
tap_export_pdu.h
Go to the documentation of this file.
1
12#ifndef __TAP_EXPORT_PDU_H__
13#define __TAP_EXPORT_PDU_H__
14
15#ifdef __cplusplus
16extern "C" {
17#endif /* __cplusplus */
18
19typedef struct _exp_pdu_t {
20 char* pathname;
21 int pkt_encap;
22 wtap_dumper* wdh;
23 GArray* shb_hdrs;
25 uint32_t framenum;
26} exp_pdu_t;
27
38char *exp_pdu_pre_open(const char *tap_name, const char *filter,
39 exp_pdu_t *exp_pdu_tap_data);
40
50bool exp_pdu_open(exp_pdu_t *data, char *pathname, int file_type_subtype,
51 int fd, const char *comment, int *err, char **err_info);
52
53/* Stops the PDUs export. */
54bool exp_pdu_close(exp_pdu_t *exp_pdu_tap_data, int *err, char **err_info);
55
56#ifdef __cplusplus
57}
58#endif /* __cplusplus */
59
60#endif /* __TAP_EXPORT_PDU_H__ */
Definition tap_export_pdu.h:19
Definition wtap-int.h:98
Definition wtap_opttypes.h:218
char * exp_pdu_pre_open(const char *tap_name, const char *filter, exp_pdu_t *exp_pdu_tap_data)
Definition tap_export_pdu.c:198
bool exp_pdu_open(exp_pdu_t *data, char *pathname, int file_type_subtype, int fd, const char *comment, int *err, char **err_info)
Definition tap_export_pdu.c:85