| Wireshark 4.7.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
16 extern "C" {
17#endif /* __cplusplus */
18
19 typedef struct _exp_pdu_t {
20 char* pathname;
21 int pkt_encap;
22 wtap_dumper* wdh;
23 GArray* shb_hdrs;
24 wtapng_iface_descriptions_t* idb_inf;
25 uint32_t framenum;
26} exp_pdu_t;
27
38 char *exp_pdu_pre_open(const char *tap_name, const char *filter,
39 exp_pdu_t *exp_pdu_tap_data);
40
50 bool 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. */
54 bool 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__ */
_exp_pdu_t
Definition tap_export_pdu.h:19
wtap_dumper
Wiretap dumper handle and associated state.
Definition wtap_module.h:163
wtapng_iface_descriptions_s
Definition wtap_opttypes.h:300
exp_pdu_pre_open
char * exp_pdu_pre_open(const char *tap_name, const char *filter, exp_pdu_t *exp_pdu_tap_data)
Definition tap_export_pdu.c:196
exp_pdu_open
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:83