12#ifndef __TAP_EXPORT_PDU_H__
13#define __TAP_EXPORT_PDU_H__
57 int fd,
const char *comment,
int *err,
char **err_info);
Definition tap_export_pdu.h:19
Wiretap dumper handle and associated state.
Definition wtap_module.h:163
Definition wtap_opttypes.h:300
char * exp_pdu_pre_open(const char *tap_name, const char *filter, exp_pdu_t *exp_pdu_tap_data)
Registers the tap listener which will add matching packets to the exported file. Must be called befor...
Definition tap_export_pdu.c:196
bool exp_pdu_open(exp_pdu_t *data, char *pathname, int file_type_subtype, int fd, const char *comment, int *err, char **err_info)
Use the given file descriptor for writing an output file. Can only be called once and exp_pdu_pre_ope...
Definition tap_export_pdu.c:83
bool exp_pdu_close(exp_pdu_t *exp_pdu_tap_data, int *err, char **err_info)
Closes an exported PDU tap.
Definition tap_export_pdu.c:181