aboutsummaryrefslogtreecommitdiff
path: root/analyzer/capture.h
blob: 648e5ad3799de46d87865b7b83660f5182a75940 (plain)
1
2
3
4
5
6
7
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);