tcpdump mailing list archives
Stopping packet capture on a libpcap descriptor
From: Fernando Gont <fernando () gont com ar>
Date: Thu, 17 Nov 2011 07:22:15 -0300
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: fernando () gont com ar || fgont () si6networks com 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.
Current thread:
- Stopping packet capture on a libpcap descriptor Fernando Gont (Nov 27)
- Re: Stopping packet capture on a libpcap descriptor Guy Harris (Nov 29)
- Re: Stopping packet capture on a libpcap descriptor Fernando Gont (Nov 30)
- Re: Stopping packet capture on a libpcap descriptor Guy Harris (Nov 30)
- Re: Stopping packet capture on a libpcap descriptor Fernando Gont (Nov 30)
- Re: Stopping packet capture on a libpcap descriptor Guy Harris (Nov 29)