Folks,

Is there a recommended way to momentarily stop packet capture on a
libpcap descriptor?

Basically, I have a program that does this:

1. Captures and sends some packets
2. Does something else
3. Captures and sends some packets

I'd like to use the same libpcap descriptor (pcap_t *) for both Step 1
and step 2 above, but I don't want want libpcap to continue capturing
packets while the program is in step 3.

Any ideas?

Thanks!
-- 
Fernando Gont
e-mail: [email protected] || [email protected]
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1



-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to