diff options
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); |
