summaryrefslogtreecommitdiffstats
path: root/src/common/pcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/pcap.h')
-rwxr-xr-xsrc/common/pcap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/pcap.h b/src/common/pcap.h
index c9139e4c..265ea17b 100755
--- a/src/common/pcap.h
+++ b/src/common/pcap.h
@@ -143,6 +143,13 @@ public:
*/
void Close();
+ /**
+ * flush all packets to disk
+ *
+ * @author imarom (11/24/2016)
+ */
+ void flush_to_disk();
+
private:
bool init();