Vossie wrote:
I am using pcap_loop to capture a given amount of packets. That is
easy to implement but now I want to use pcap_loop BUT it must capture
packets for a given amount of time.
PS: According to man I must use pcap_breakloop. But how? Inside the callback
function?-
That depends on
I fix the problem by using global variables :-)
Vossie
- Original Message -
From: "Vossie" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 19, 2005 10:08 AM
Subject: [tcpdump-workers] breaking out of pcap_loop
Hi everyone
I am using pcap_loop to capture a given a
Hi everyone
I am using pcap_loop to capture a given amount of packets. That is easy to
implement but now I want to use pcap_loop BUT it must capture packets for a
given amount of time.
Any ideas?
Thanks
Vossie
PS: According to man I must use pcap_breakloop. But how? Inside the callback
func