The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
searching through pcap files hershey101 High Level Programming 4 06-23-2008 05:59 PM
Filtering pcap files hershey101 UNIX for Dummies Questions & Answers 1 06-23-2008 09:55 AM
How do I Process Multiple Files dc1743 UNIX for Dummies Questions & Answers 1 09-13-2007 03:11 PM
How to choose Multiple process or Multiple threads? ashleykumar IP Networking 0 04-10-2006 07:30 AM
How to process multiple files in Korn Shell stevefox Shell Programming and Scripting 3 11-22-2005 06:39 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-18-2008
lancer6238 lancer6238 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 2
Process multiple pcap files at once

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.

Regards,
Rayne
Closed Thread

Bookmarks

Tags
unresolved, unresolved for months, unresolved for weeks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0