diff options
| author | Mosder <xmosder12@gmail.com> | 2026-06-13 20:14:51 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-06-13 20:14:51 +0200 |
| commit | f0d9f0c2dcc2029a907deee7981e7e5230b6d77c (patch) | |
| tree | c20714dd85629f7fbacb10c0dfc8d80bc45c14a6 /analyzer/capture.h | |
| parent | 66226cdc6eb6dbcfde7932a192a438ebfe438bda (diff) | |
feat: added the simple capturing packets mode
Diffstat (limited to 'analyzer/capture.h')
| -rw-r--r-- | analyzer/capture.h | 8 |
1 files changed, 8 insertions, 0 deletions
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-<date>_<time>.pcap +extern void capturing_mode(char *path); |
