Details
capture_start ()
int capture_start (void); |
Start the capture on previously configured device.
This function will not return unless an error occur.
capture_stats ()
void capture_stats (void); |
Dump packet capture statistic.
capture_stop ()
void capture_stop (void); |
Stop packet capture.
capture_to_file ()
void capture_to_file (const char *filename); |
capture_setup_global_bpf ()
int capture_setup_global_bpf (char *gbpf); |
This function setup a BPF rule for all interfaces.
capture_from_device ()
int capture_from_device (char *device,
char *bpf); |
Initialize the capture on specified device, with
an optionnal bpf rule.
capture_from_file ()
int capture_from_file (char *filename,
char *bpf); |
Initialize the capture on specified filename, with
an optionnal bpf rule.