Ethereal-dev: [ethereal-dev] Reading capture files outside of Ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Thu, 25 Nov 1999 08:21:01 +1000
Hi,

I have a collection of capture files captured with different tools, and I
need to be able to read them and edit them, so I am looking at a program
that can use wiretap.

As far as I can see, I have to do the following sort of things:

	wtap_open_offline
	while (more) {

	   wtap_seek_read ...

	   process the data (maybe write it ... )

       }

Is this the correct approach?


Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course