summaryrefslogtreecommitdiff
path: root/pcap_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_io.h')
-rw-r--r--pcap_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap_io.h b/pcap_io.h
index 0784195..e593922 100644
--- a/pcap_io.h
+++ b/pcap_io.h
@@ -115,6 +115,7 @@ enum pcap_mode {
};
struct pcap_file_ops {
+ void (*init_once_pcap)(void);
int (*pull_fhdr_pcap)(int fd, uint32_t *magic, uint32_t *linktype);
int (*push_fhdr_pcap)(int fd, uint32_t magic, uint32_t linktype);
int (*prepare_access_pcap)(int fd, enum pcap_mode mode, bool jumbo);