From f0d9f0c2dcc2029a907deee7981e7e5230b6d77c Mon Sep 17 00:00:00 2001 From: Mosder Date: Sat, 13 Jun 2026 20:14:51 +0200 Subject: feat: added the simple capturing packets mode --- analyzer/capture.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 analyzer/capture.h (limited to 'analyzer/capture.h') diff --git a/analyzer/capture.h b/analyzer/capture.h new file mode 100644 index 0000000..648e5ad --- /dev/null +++ b/analyzer/capture.h @@ -0,0 +1,8 @@ +// capture.h +// functions for capturing packets using tshark + +// starts capturing mode +// params: +// - path - file path to capture the .pcap file to, +// if NULL, saves it to default capture directory as capture-_