By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,947 Members | 1,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,947 IT Pros & Developers. It's quick & easy.

Process multiple pcap files at once

P: 2
Hi all,
I'm writing a program using libpcap, and I have multiple pcap files in a folder that I want to capture.

I currently have

handle = pcap_open_offline("/data/traffic/pcap1.pcap", errbuf");

which works fine since pcap_open_offline() takes in a filename. However, I want to process multiple pcap files from the directory /data/traffic/ at once. Is there a way to do that?

Thank you.

Nov 19 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.